Move styles to SCSS file

Rename components
Add Loader
This commit is contained in:
Michał Gdula 2024-04-22 19:29:20 +01:00
parent 12a33388f6
commit 4e6b2799f6
15 changed files with 282 additions and 84 deletions

View file

@ -4,7 +4,7 @@ import Page404 from "%/pages/Page404.svelte";
const routes = {
"/": wrap({
asyncComponent: () => import("%/pages/index/PageIndex.svelte"),
asyncComponent: () => import("%/pages/PageIndex.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true },
@ -15,6 +15,12 @@ const routes = {
conditions: [],
userData: { showNavBar: true },
}),
"/about": wrap({
component: PageLoading,
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true },
}),
"/cart": wrap({
asyncComponent: () => import("%/pages/PageShoppingCart.svelte"),
loadingComponent: PageLoading,