Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/flo-bit.github.io. my personal website, w/ astro, svelte, tailwind, typescript, threlte flo-bit.dev
Something went wrong. Try again.
1234567891011121314151617181920<script lang="ts"> import type { Item } from "./items";
export let current: Item = "home";
export let active: Item = "home";
export let hide: () => void;</script>
<li> <a href="/#{current}" class="block py-2 {active == current ? 'dark:text-accent-400' : ''}" on:click={hide} > {current} </a></li>