Skip to content

Commit 032257f

Browse files
authored
Landing page: Add "View other versions" button to Elastic prodcts (#1405)
1 parent e3a3d1c commit 032257f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@
5252
<div class="flex flex-col h-full">
5353
<p class="font-sans font-bold text-xl">Elasticsearch</p>
5454
<p class="mt-2 grow">Build powerful search and RAG applications using Elasticsearch's vector database, AI toolkit, and advanced retrieval capabilities.</p>
55-
<div class="grid grid-cols-2 mt-6">
56-
<a href="@Model.Link("/solutions/search")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
55+
<div class="grid grid-cols-1 mt-6 gap-2">
56+
<a href="@Model.Link("/solutions/search")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View @Model.CurrentVersion docs</a>
57+
<a href="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" class="text-sm text-grey-70 hover:text-grey-100 font-sans font-semibold">View other versions</a>
5758
</div>
5859
</div>
5960
</div>
@@ -64,8 +65,9 @@
6465
<div class="flex flex-col h-full">
6566
<p class="font-sans font-bold text-xl">Observability</p>
6667
<p class="mt-2 grow">Resolve problems with open, flexible, and unified observability powered by advanced machine learning and analytics.</p>
67-
<div class="grid grid-cols-2 mt-6">
68-
<a href="@Model.Link("/solutions/observability")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
68+
<div class="grid grid-cols-1 mt-6 gap-2">
69+
<a href="@Model.Link("/solutions/observability")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View @Model.CurrentVersion docs</a>
70+
<a href="https://www.elastic.co/guide/en/observability/index.html" class="text-sm text-grey-70 hover:text-grey-100 font-sans font-semibold">View other versions</a>
6971
</div>
7072
</div>
7173
</div>
@@ -77,8 +79,9 @@
7779
<div class="flex flex-col h-full">
7880
<p class="font-sans font-bold text-xl">Security</p>
7981
<p class="mt-2 grow">Detect, investigate, and respond to threats with AI-driven security analytics to protect your organization at scale.</p>
80-
<div class="grid grid-cols-2 mt-6">
81-
<a href="@Model.Link("/solutions/security")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View docs</a>
82+
<div class="grid grid-cols-1 mt-6 gap-2">
83+
<a href="@Model.Link("/solutions/security")" class="text-blue-elastic hover:text-blue-elastic-100 font-sans font-semibold">View @Model.CurrentVersion docs</a>
84+
<a href="https://www.elastic.co/guide/en/security/index.html" class="text-sm text-grey-70 hover:text-grey-100 font-sans font-semibold">View other versions</a>
8285
</div>
8386
</div>
8487
</div>

0 commit comments

Comments
 (0)