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()
|
let props = $props()
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { page } from "$app/stores";
|
import { page } from "$app/stores";
|
||||||
import "../main.css";
|
import "../main.css";
|
||||||
import Footer from "./footer.svelte";
|
import Footer from "./Footer.svelte";
|
||||||
import NavLink from "../components/nav-link.svelte";
|
import Nav from "$lib/components/Nav.svelte";
|
||||||
import Search from "../components/search.svelte";
|
|
||||||
|
|
||||||
let { children } = $props();
|
let { children } = $props();
|
||||||
globalThis.PKGS = "petalpkgs";
|
globalThis.PKGS = "petalpkgs";
|
||||||
|
@ -29,13 +28,7 @@
|
||||||
</a>
|
</a>
|
||||||
<span></span>
|
<span></span>
|
||||||
|
|
||||||
<div
|
<Nav />
|
||||||
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>
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue