feat(ui): mobile bottom nav on Nuxt Icon, footer hidden on phones
- 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
This commit is contained in:
1 parent
db04d441c9
commit
3396c4949e
9 files changed
+149
-27
No files matched your search
+9
-1
@@ -2,7 +2,15 @@
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: true },
|
||||
modules: ['@nuxt/eslint', '@nuxtjs/tailwindcss'],
|
||||
modules: ['@nuxt/eslint', '@nuxtjs/tailwindcss', '@nuxt/icon/module'],
|
||||
icon: {
|
||||
// Inline SVG instead of the CSS/mask mode, so icons exist in the SSR HTML
|
||||
// and survive with JavaScript disabled.
|
||||
mode: 'svg',
|
||||
// Only bundle the icons the source actually names, not the whole set.
|
||||
serverBundle: { collections: [] },
|
||||
clientBundle: { scan: true }
|
||||
},
|
||||
tailwindcss: {
|
||||
cssPath: '~/assets/css/main.css'
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user