Compare commits

..

8 commits

5 changed files with 16 additions and 11 deletions

View 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>

View file

@ -1,4 +1,4 @@
<script> <script lang="ts">
let props = $props() let props = $props()
</script> </script>

View file

@ -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>