Start on Menu page

Update style of Loader
Tweak SCSS colours to make contrast better
This commit is contained in:
Michał Gdula 2024-04-24 12:01:06 +01:00
parent 7907972e1c
commit 1d4f6d5b70
7 changed files with 168 additions and 40 deletions

View file

@ -7,36 +7,36 @@ const routes = {
asyncComponent: () => import("%/pages/PageIndex.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true },
userData: { showNavBar: true, fullWidth: false, },
}),
"/menu": wrap({
asyncComponent: () => import("%/pages/PageMenu.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true },
userData: { showNavBar: true, fullWidth: true, },
}),
"/contact": wrap({
asyncComponent: () => import("%/pages/PageContact.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true },
userData: { showNavBar: true, fullWidth: false, },
}),
"/about": wrap({
component: PageLoading,
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true },
userData: { showNavBar: true, fullWidth: false, },
}),
"/cart": wrap({
asyncComponent: () => import("%/pages/PageCart.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true },
userData: { showNavBar: true, fullWidth: false, },
}),
'*': wrap({
component: Page404,
conditions: [],
userData: { showNavBar: false },
userData: { showNavBar: false, fullWidth: false, },
})
}