Skip to content

Commit fdfc2c8

Browse files
committed
Add link to next.layerstack.dev
1 parent 0693e47 commit fdfc2c8

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

sites/docs/src/routes/+layout.svelte

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
AppBar,
99
AppLayout,
1010
Button,
11+
Icon,
1112
MenuButton,
1213
QuickSearch,
1314
ThemeInit,
@@ -137,14 +138,23 @@
137138
<!-- Set theme before anything renders (even when SSR is in use) -->
138139
<ThemeInit />
139140

140-
<AppLayout>
141+
<AppLayout headerHeight={96}>
141142
<svelte:fragment slot="nav">
142143
<NavMenu />
143144
<!-- Spacer -->
144145
<div class="h-4"></div>
145146
</svelte:fragment>
146147

147-
<AppBar {title}>
148+
<AppBar {title} class="pt-8">
149+
<div
150+
class="fixed top-0 left-0 w-full h-8 bg-primary-700 flex gap-2 items-center justify-center text-sm font-medium"
151+
>
152+
LayerStack for Svelte 5 has been released! -
153+
<a href="https://next.layerstack.dev" class="underline-offset-2 hover:underline">
154+
Visit the preview docs <Icon data={mdiArrowTopRight} class="text-xs mt-[-2px]" />
155+
</a>
156+
</div>
157+
148158
<div slot="actions" class="flex gap-3">
149159
<Button
150160
href="https://www.layerchart.com"

0 commit comments

Comments
 (0)