forked from the-distro/floral.systems
Compare commits
8 commits
cea75cc1da
...
8af65a6c30
Author | SHA1 | Date | |
---|---|---|---|
Jake Hamilton | 8af65a6c30 | ||
Jake Hamilton | 6a870c8a9f | ||
Jake Hamilton | ffca8f93d9 | ||
mei (ckie) | bc3b7aa618 | ||
Jake Hamilton | 7ea2efd2a5 | ||
Jake Hamilton | 11bc2e9241 | ||
Jake Hamilton | 6bb585f305 | ||
mei (ckie) | ddbd99a5e8 |
12
src/lib/components/Nav.svelte
Normal file
12
src/lib/components/Nav.svelte
Normal file
|
@ -0,0 +1,12 @@
|
|||
<script lang="ts">
|
||||
import NavLink from "./NavLink.svelte";
|
||||
import Search from "./Search.svelte";
|
||||
</script>
|
||||
|
||||
<div
|
||||
class="max-md:hidden flex gap-x-4 h-full items-center grow"
|
||||
>
|
||||
<Search />
|
||||
<NavLink href="/docs/intro">Docs</NavLink>
|
||||
<NavLink href="https://fleurixos.org" class="text-coral-600">Try {DISTRO}</NavLink>
|
||||
</div>
|
|
@ -1,4 +1,4 @@
|
|||
<script>
|
||||
<script lang="ts">
|
||||
let props = $props()
|
||||
</script>
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
<script lang="ts">
|
||||
import { page } from "$app/stores";
|
||||
import "../main.css";
|
||||
import Footer from "./footer.svelte";
|
||||
import NavLink from "../components/nav-link.svelte";
|
||||
import Search from "../components/search.svelte";
|
||||
import Footer from "./Footer.svelte";
|
||||
import Nav from "$lib/components/Nav.svelte";
|
||||
|
||||
let { children } = $props();
|
||||
globalThis.PKGS = "petalpkgs";
|
||||
|
@ -29,13 +28,7 @@
|
|||
</a>
|
||||
<span></span>
|
||||
|
||||
<div
|
||||
class="max-md:hidden flex gap-x-4 h-full items-center grow"
|
||||
>
|
||||
<Search />
|
||||
<NavLink href="/docs/intro">Docs</NavLink>
|
||||
<NavLink href="https://fleurixos.org" class="text-coral-600">Try {DISTRO}</NavLink>
|
||||
</div>
|
||||
<Nav />
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
|
Loading…
Reference in a new issue