feat: Add home slot

pull/8524/head
Puru Vijay 2 years ago
parent ec733593e6
commit 71d173a4c0

@ -16,7 +16,11 @@
<div style:display={$page.url.pathname !== '/docs' ? 'contents' : 'none'}>
<Shell nav_visible={$page.url.pathname !== '/repl/embed'}>
<Nav logo="/svelte-logo.svg">
<Nav>
<svelte:fragment slot="home">
<strong>svelte</strong>.dev
</svelte:fragment>
<svelte:fragment slot="nav-center">
{#if $page.url.pathname !== '/search'}
<li><Search /></li>

Loading…
Cancel
Save