Skip to content

Commit 553ddc8

Browse files
committed
Remove 9.0 banner
1 parent ad418ac commit 553ddc8

File tree

4 files changed

+0
-39
lines changed

4 files changed

+0
-39
lines changed

src/Elastic.Documentation.Site/Assets/dismissible-banner.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/Elastic.Documentation.Site/Assets/main.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { initCopyButton } from './copybutton'
2-
import { initDismissibleBanner } from './dismissible-banner'
32
import { initHighlight } from './hljs'
43
import { initImageCarousel } from './image-carousel'
54
import './markdown/applies-to'
@@ -33,7 +32,6 @@ document.addEventListener('htmx:load', function (event) {
3332
}
3433
initSmoothScroll()
3534
openDetailsWithAnchor()
36-
initDismissibleBanner()
3735
initImageCarousel()
3836

3937
const urlParams = new URLSearchParams(window.location.search)

src/Elastic.Documentation.Site/Assets/styles.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,6 @@ body {
215215
display: none;
216216
}
217217

218-
#dismissible-banner {
219-
@apply font-body sticky bottom-0 z-50 mt-0 hidden flex-row items-center justify-between p-4 text-sm;
220-
}
221-
222-
#dismissible-button {
223-
@apply text-blue-developer cursor-pointer text-base font-bold;
224-
&:hover {
225-
@apply bg-grey-20 rounded-2xl;
226-
}
227-
}
228-
229218
.tippy-content {
230219
white-space: pre-line;
231220
}

src/Elastic.Markdown/_Layout.cshtml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,6 @@
77
{
88
if (name == GlobalSections.Footer && Model.Layout is not MarkdownPageLayout.Archive)
99
{
10-
<aside id="dismissible-banner" class="admonition tip">
11-
<div class="container flex justify-between items-center mx-auto">
12-
<p>
13-
Welcome to the docs for the <a class="link text-base" href="/docs/get-started/versioning-availability#find-docs-for-your-product-version">latest Elastic product versions</a>, including Elastic Stack 9.0 and Elastic Cloud Serverless.
14-
To view previous versions, go to <a class="link text-base" target="_blank" href="https://elastic.co/guide">elastic.co/guide</a>.
15-
</p>
16-
<button id="dismissible-button">
17-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6">
18-
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"/>
19-
</svg>
20-
</button>
21-
</div>
22-
</aside>
2310
//this ensures we forward footer sections declared in this project into to GlobalLayout view's section
2411
await RenderSectionAsync(GlobalSections.Footer);
2512
}

0 commit comments

Comments
 (0)