- AppBottomNav: fixed bar below md with Overview, Life Map and Dev View - default.vue mounts it and carries pb-16 md:pb-0 so the footer stays clear - AppFooter is hidden below md, where the bar takes over - icons come from @nuxt/icon (mode svg, scanned client bundle) with the Material Symbols collection installed locally, replacing the webfont - deletes the 3.9 MiB Material Symbols woff2 and its @font-face
32 lines
1.3 KiB
Vue
32 lines
1.3 KiB
Vue
<template>
|
|
<nav
|
|
aria-label="Mobile"
|
|
class="fixed bottom-0 left-0 w-full z-50 flex md:hidden bg-surface-container-low/90 backdrop-blur-xl shadow-[0_-1px_12px_rgba(0,0,0,0.3)]"
|
|
>
|
|
<div class="w-full h-16 px-space-xs flex items-center justify-around">
|
|
<NuxtLink
|
|
to="/"
|
|
aria-current="page"
|
|
class="w-16 h-12 flex flex-col items-center justify-center text-primary font-semibold transition-colors"
|
|
>
|
|
<Icon name="material-symbols:badge" aria-hidden="true" class="text-[22px]" />
|
|
<span class="font-label-mono text-label-mono">Overview</span>
|
|
</NuxtLink>
|
|
<a
|
|
href="#"
|
|
class="w-16 h-12 flex flex-col items-center justify-center text-on-surface-variant hover:text-primary transition-colors"
|
|
>
|
|
<Icon name="material-symbols:timeline" aria-hidden="true" class="text-[22px]" />
|
|
<span class="font-label-mono text-label-mono">Life Map</span>
|
|
</a>
|
|
<a
|
|
href="#"
|
|
class="w-16 h-12 flex flex-col items-center justify-center text-on-surface-variant hover:text-primary transition-colors"
|
|
>
|
|
<Icon name="material-symbols:code" aria-hidden="true" class="text-[22px]" />
|
|
<span class="font-label-mono text-label-mono">Dev View</span>
|
|
</a>
|
|
</div>
|
|
</nav>
|
|
</template>
|