Skip to content

Commit 13476b3

Browse files
committed
docs: Add link to next.layerchart.com
1 parent 2461030 commit 13476b3

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

packages/layerchart/src/routes/+layout.svelte

Lines changed: 13 additions & 3 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
ThemeSelect,
@@ -124,14 +125,23 @@
124125
{/if}
125126
</svelte:head>
126127

127-
<AppLayout>
128+
<div
129+
class="fixed top-0 left-0 w-full h-8 bg-primary-700 flex gap-2 items-center justify-center text-sm font-medium z-50"
130+
>
131+
LayerChart for Svelte 5 has been released! -
132+
<a href="https://next.layerchart.com" class="underline-offset-2 hover:underline">
133+
Visit the preview docs <Icon data={mdiArrowTopRight} class="text-xs mt-[-2px]" />
134+
</a>
135+
</div>
136+
137+
<AppLayout classes={{ aside: 'pt-8' }}>
128138
<svelte:fragment slot="nav">
129139
<NavMenu />
130140
<!-- Spacer -->
131141
<div class="h-4"></div>
132142
</svelte:fragment>
133143

134-
<AppBar title="LayerChart">
144+
<AppBar title="LayerChart" class="mt-8">
135145
<div slot="actions" class="flex gap-3">
136146
<Button
137147
href="https://svelte-ux.techniq.dev"
@@ -216,7 +226,7 @@
216226
</div>
217227
</AppBar>
218228

219-
<main class="isolate" bind:this={mainEl}>
229+
<main class="isolate pt-8" bind:this={mainEl}>
220230
<slot />
221231
</main>
222232
</AppLayout>

0 commit comments

Comments
 (0)