Compare commits

..

5 commits

5 changed files with 11 additions and 16 deletions

View file

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

View file

@ -1,12 +0,0 @@
<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,8 +1,9 @@
<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 Nav from "$lib/components/Nav.svelte"; import NavLink from "../components/nav-link.svelte";
import Search from "../components/search.svelte";
let { children } = $props(); let { children } = $props();
globalThis.PKGS = "petalpkgs"; globalThis.PKGS = "petalpkgs";
@ -28,7 +29,13 @@
</a> </a>
<span></span> <span></span>
<Nav /> <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>
</div> </div>
</nav> </nav>