~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
13 lines · 502 B Raw History
<script lang="ts">
  import { m } from '#lib/paraglide/messages.js';
  import { siteLinks, type Brand } from '#lib/brand.ts';
  /** The links to the host's operator's pages (`brand`), as far as set: nothing when none is. */
  let { brand }: { brand?: Brand } = $props();
  const links = $derived(siteLinks(brand));
</script>

{#if links.length}
  <nav class="site-links" aria-label={m.site_footer_links()}>
    {#each links as link (link.href)}<a href={link.href}>{link.text}</a>{/each}
  </nav>
{/if}