mirror of
https://github.com/lukaszraczylo/beat-delivery-methodology.git
synced 2026-11-25 11:06:00 +00:00
- SiteHeader: brand, section navigation from route meta, section pages nav, theme toggle mounted as committed, keyboard menu under 640px. - SiteFooter, PageHeader, PageSection and TableCard carry the page shells. - Every view rewritten on the token type scale and reading public/src/data; the old layout and ui components it replaced are removed. - NotFoundView plus the catch-all route, so an unknown path names itself. - App.vue: skip link that moves focus without changing the hash route, focus moved to the main landmark after a page change, unique title from route meta. - assets/styles/main.css reduced to the base layer on token utilities. - FontAwesome self-hosted from the npm package instead of the CDN. - Home carries all five commitments (WP-49).
18 lines
578 B
JavaScript
18 lines
578 B
JavaScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import { initializeTheme } from './components/theme/theme'
|
|
// FontAwesome is the only icon system on the site, and it ships with the
|
|
// build: no third-party request, and the icons render offline.
|
|
import '@fortawesome/fontawesome-free/css/all.min.css'
|
|
import './assets/styles/main.css'
|
|
import './main.css'
|
|
|
|
// The theme is applied before the app mounts, so a cold load never paints the
|
|
// wrong theme first.
|
|
initializeTheme()
|
|
|
|
const app = createApp(App)
|
|
app.use(router)
|
|
app.mount('#app')
|