mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-05-19 09:54:58 +00:00
Add 404 page and update design files
This commit is contained in:
parent
37d600e03c
commit
6deb0bfeae
4 changed files with 4077 additions and 1837 deletions
|
@ -1,5 +1,6 @@
|
|||
import { wrap } from "svelte-spa-router/wrap";
|
||||
import PageLoading from "./routes/PageLoading.svelte";
|
||||
import Page404 from "./routes/Page404.svelte";
|
||||
|
||||
const routes = {
|
||||
"/": wrap({
|
||||
|
@ -20,6 +21,11 @@ const routes = {
|
|||
conditions: [],
|
||||
userData: { showNavBar: true },
|
||||
}),
|
||||
'*': wrap({
|
||||
component: Page404,
|
||||
conditions: [],
|
||||
userData: { showNavBar: false },
|
||||
})
|
||||
}
|
||||
|
||||
export default routes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue