diff --git a/src/content-env.d.ts b/src/content-env.d.ts index 4b17ff6..33008a5 100644 --- a/src/content-env.d.ts +++ b/src/content-env.d.ts @@ -107,6 +107,7 @@ declare module 'content/routes.js' { * Defines global values for the site. */ type SiteGlobals = { + header: HeaderEntry[], id: string warning: WarningModal } @@ -115,10 +116,4 @@ declare module 'content/routes.js' { * Global values the site uses. */ const siteGlobals: SiteGlobals - - /** - * The header the app uses. - * If not present, the header will not show. - */ - const header: HeaderEntry[] } diff --git a/src/main.vue b/src/main.vue index ccd0fb9..ba1bb73 100644 --- a/src/main.vue +++ b/src/main.vue @@ -13,7 +13,6 @@ import WarningPrompt from 'src/components/shared/warning-prompt.vue' const router = useRouter() const routeStore = useRouteStore() -const headerConfig = routeStore._header const globalConfig = routeStore._globals let currentRoute = getCurrentRoute() @@ -87,11 +86,11 @@ onMounted(async () => {