diff --git a/src/Elastic.Documentation.Site/Assets/dismissible-banner.ts b/src/Elastic.Documentation.Site/Assets/dismissible-banner.ts deleted file mode 100644 index 5e8f8cb62..000000000 --- a/src/Elastic.Documentation.Site/Assets/dismissible-banner.ts +++ /dev/null @@ -1,13 +0,0 @@ -export function initDismissibleBanner() { - const banner = document.getElementById('dismissible-banner') - const dismissButton = document.getElementById('dismissible-button') - - if (!localStorage.getItem('bannerDismissed')) { - banner?.style.setProperty('display', 'flex') - } - - dismissButton?.addEventListener('click', () => { - banner?.style.setProperty('display', 'none') - localStorage.setItem('bannerDismissed', 'true') - }) -} diff --git a/src/Elastic.Documentation.Site/Assets/main.ts b/src/Elastic.Documentation.Site/Assets/main.ts index aadd8186a..1765ed596 100644 --- a/src/Elastic.Documentation.Site/Assets/main.ts +++ b/src/Elastic.Documentation.Site/Assets/main.ts @@ -1,5 +1,4 @@ import { initCopyButton } from './copybutton' -import { initDismissibleBanner } from './dismissible-banner' import { initHighlight } from './hljs' import { initImageCarousel } from './image-carousel' import './markdown/applies-to' @@ -33,7 +32,6 @@ document.addEventListener('htmx:load', function (event) { } initSmoothScroll() openDetailsWithAnchor() - initDismissibleBanner() initImageCarousel() const urlParams = new URLSearchParams(window.location.search) diff --git a/src/Elastic.Documentation.Site/Assets/styles.css b/src/Elastic.Documentation.Site/Assets/styles.css index 705350ac4..f68803c76 100644 --- a/src/Elastic.Documentation.Site/Assets/styles.css +++ b/src/Elastic.Documentation.Site/Assets/styles.css @@ -215,17 +215,6 @@ body { display: none; } -#dismissible-banner { - @apply font-body sticky bottom-0 z-50 mt-0 hidden flex-row items-center justify-between p-4 text-sm; -} - -#dismissible-button { - @apply text-blue-developer cursor-pointer text-base font-bold; - &:hover { - @apply bg-grey-20 rounded-2xl; - } -} - .tippy-content { white-space: pre-line; } diff --git a/src/Elastic.Markdown/Layout/_LandingPage.cshtml b/src/Elastic.Markdown/Layout/_LandingPage.cshtml index 71af8b678..6def06cff 100644 --- a/src/Elastic.Markdown/Layout/_LandingPage.cshtml +++ b/src/Elastic.Markdown/Layout/_LandingPage.cshtml @@ -10,7 +10,8 @@
Find the help you need, wherever you are in your Elastic journey.
+Welcome to the docs that cover all changes in Elastic Stack 9.0.0 and later, including Elastic Stack @Model.CurrentVersion and Elastic Cloud Serverless. + For easy reference, changes in 9.1.0 are marked inline. For details, check Understanding versioning and availability.
Observability
Resolve problems with open, flexible, and unified observability powered by advanced machine learning and analytics.
Security
Detect, investigate, and respond to threats with AI-driven security analytics to protect your organization at scale.
Explore the latest features and changes in Elastic.
+Explore the latest features and changes in Elastic, including the latest 9.1.0 version of the Elastic Stack.