Skip to content

Commit e9ae9c6

Browse files
authored
Fix links in landing page (#674)
1 parent ad27df4 commit e9ae9c6

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/Elastic.Markdown/Slices/Layout/_LandingPage.cshtml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://cloud.elastic.co/registration" target="_blank" rel="noopener noreferrer" class="grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 focus:outline-none h-10 flex items-center justify-center">
1010
Start free trial
1111
</a>
12-
<a href="/deploy-manage/upgrade" class="grow cursor-pointer text-blue-elastic hover:text-blue-elastic-100 text-nowrap border-2 border-blue-elastic hover:border-blue-elastic-100 focus:ring-4 focus:outline-none focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 text-center h-10 flex items-center justify-center">
12+
<a href="@Model.Link("/deploy-manage/upgrade")" class="grow cursor-pointer text-blue-elastic hover:text-blue-elastic-100 text-nowrap border-2 border-blue-elastic hover:border-blue-elastic-100 focus:ring-4 focus:outline-none focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 text-center h-10 flex items-center justify-center">
1313
Upgrade
1414
</a>
1515
</div>
@@ -29,7 +29,7 @@
2929
Learn about Elasticsearch, the components at the heart of the Elastic Search AI Platform, and the solutions it powers.
3030
</p>
3131
<div class="mt-6">
32-
<a href="/get-started" class="link">
32+
<a href="@Model.Link("/get-started")" class="link">
3333
Get started
3434
<svg class="link-arrow"
3535
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
@@ -76,8 +76,8 @@
7676
<p class="font-sans font-bold text-xl">Search</p>
7777
<p class="mt-2 grow">Build powerful search and RAG applications using Elasticsearch's vector database, AI toolkit, and advanced retrieval capabilities.</p>
7878
<div class="grid grid-cols-2 mt-6">
79-
<a href="/solutions/search/get-started" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">Get started</a>
80-
<a href="/solutions/search" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
79+
<a href="@Model.Link("/solutions/search/get-started")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">Get started</a>
80+
<a href="@Model.Link("/solutions/search")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
8181
</div>
8282
</div>
8383
</div>
@@ -89,8 +89,8 @@
8989
<p class="font-sans font-bold text-xl">Observability</p>
9090
<p class="mt-2 grow">Resolve problems with open, flexible, and unified observability powered by advanced machine learning and analytics.</p>
9191
<div class="grid grid-cols-2 mt-6">
92-
<a href="/solutions/observability/get-started" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">Get started</a>
93-
<a href="/solutions/observability/" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
92+
<a href="@Model.Link("/solutions/observability/get-started")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">Get started</a>
93+
<a href="@Model.Link("/solutions/observability/")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
9494
</div>
9595
</div>
9696
</div>
@@ -103,8 +103,8 @@
103103
<p class="font-sans font-bold text-xl">Security</p>
104104
<p class="mt-2 grow">Detect, investigate, and respond to threats with AI-driven security analytics to protect your organization at scale.</p>
105105
<div class="grid grid-cols-2 mt-6">
106-
<a href="/solutions/security/get-started" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">Get started</a>
107-
<a href="/solutions/security" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
106+
<a href="@Model.Link("/solutions/security/get-started")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">Get started</a>
107+
<a href="@Model.Link("/solutions/security")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
108108
</div>
109109
</div>
110110
</div>
@@ -137,7 +137,7 @@
137137
</li>
138138
</ul>
139139
<div class="mt-6">
140-
<a href="/manage-data" class="link">
140+
<a href="@Model.Link("/manage-data")" class="link">
141141
View all docs
142142
<svg class="link-arrow"
143143
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
@@ -183,7 +183,7 @@
183183
</li>
184184
</ul>
185185
<div class="mt-6">
186-
<a href="/explore-analyze" class="link">
186+
<a href="@Model.Link("/explore-analyze")" class="link">
187187
View all docs
188188
<svg class="link-arrow"
189189
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
@@ -229,7 +229,7 @@
229229
</li>
230230
</ul>
231231
<div class="mt-6">
232-
<a href="/deploy-manage" class="link">
232+
<a href="@Model.Link("/deploy-manage")" class="link">
233233
View all docs
234234
<svg class="link-arrow"
235235
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
@@ -383,7 +383,7 @@
383383
</div>
384384
</div>
385385
<div class="mt-6">
386-
<a href="/reference" class="link">
386+
<a href="@Model.Link("/reference")" class="link">
387387
View all docs
388388
<svg class="link-arrow"
389389
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
@@ -402,10 +402,10 @@
402402
<h3 class="font-sans font-bold text-2xl">Releases</h3>
403403
<p class="grow mt-4">Explore the latest features and changes in Elastic.</p>
404404
<div class="mt-6 grid grid-cols-2 xl:grid-cols-1 2xl:grid-cols-2 gap-6 text-center">
405-
<a href="/release-notes/" class="grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 focus:outline-none h-10 flex items-center justify-center">
405+
<a href="@Model.Link("/release-notes/")" class="grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 focus:outline-none h-10 flex items-center justify-center">
406406
View release notes
407407
</a>
408-
<a href="/deploy-manage/upgrade" class="link text-white">
408+
<a href="@Model.Link("/deploy-manage/upgrade")" class="link text-white">
409409
Upgrade now
410410
<svg class="link-arrow"
411411
xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
@@ -418,7 +418,7 @@
418418
<h3 class="font-sans font-bold text-2xl">Troubleshoot and support</h3>
419419
<p class="grow mt-4">Check troubleshooting guides for common fixes or reach out to the experts.</p>
420420
<div class="mt-6 grid grid-cols-2 xl:grid-cols-1 2xl:grid-cols-2 gap-6 text-center">
421-
<a href="/troubleshoot/" class="grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 focus:outline-none h-10 flex items-center justify-center">
421+
<a href="@Model.Link("/troubleshoot/")" class="grow select-none cursor-pointer text-white text-nowrap bg-blue-elastic hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-semibold rounded-sm px-6 py-2.5 focus:outline-none h-10 flex items-center justify-center">
422422
Start troubleshooting
423423
</a>
424424
<a href="https://support.elastic.co" target="_blank" rel="noopener noreferrer" class="link text-white">

0 commit comments

Comments
 (0)