diff --git a/front/jsconfig.json b/front/jsconfig.json
index b59e3c4..5696a2d 100644
--- a/front/jsconfig.json
+++ b/front/jsconfig.json
@@ -22,10 +22,7 @@
* Typecheck JS in `.svelte` and `.js` files by default.
* Disable this if you'd like to use dynamic types.
*/
- "checkJs": true,
- "paths": {
- "%": ["./src"]
- }
+ "checkJs": true
},
/**
* Use global.d.ts instead of compilerOptions.types
diff --git a/front/src/lib/test-data.ts b/front/src/lib/test-data.ts
index 960cd7d..e47bcfb 100644
--- a/front/src/lib/test-data.ts
+++ b/front/src/lib/test-data.ts
@@ -59,14 +59,14 @@ const TestData: Item[] = [
image: "/wathog.jpg",
detail: "Example",
},
- {
- uuid: "bluhog",
- name: "Blue HOGGGGG",
- price: 0,
- labels: [Labels.nut, Labels.gluten, Labels.spicy],
- image: "/sonichog.jpg",
- detail: "Example",
- },
+ // {
+ // uuid: "bluhog",
+ // name: "Blue HOGGGGG",
+ // price: 0,
+ // labels: [Labels.nut, Labels.gluten, Labels.spicy],
+ // image: "/sonichog.jpg",
+ // detail: "Example",
+ // },
];
export default TestData;
diff --git a/front/src/main.js b/front/src/main.js
index 705e4f8..3467c48 100644
--- a/front/src/main.js
+++ b/front/src/main.js
@@ -1,5 +1,5 @@
-import '%/styles/main.scss'
-import App from '%/App.svelte'
+import './styles/main.scss'
+import App from './App.svelte'
const app = new App({
target: document.getElementById('app'),
diff --git a/front/src/pages/PageCart.svelte b/front/src/pages/PageCart.svelte
index d171556..c93f01f 100644
--- a/front/src/pages/PageCart.svelte
+++ b/front/src/pages/PageCart.svelte
@@ -1,6 +1,8 @@
@@ -26,8 +33,8 @@
{/each}
{:else}
-
Empty Cart!
-
Go add some items from the menu...
+
Empty Cart
+
Why not go and checkout our menu?
{/if}
diff --git a/front/src/pages/PageIndex.svelte b/front/src/pages/PageIndex.svelte
index ed9a5e0..131376a 100644
--- a/front/src/pages/PageIndex.svelte
+++ b/front/src/pages/PageIndex.svelte
@@ -23,7 +23,7 @@
-Learn More
+
Where to find us
@@ -44,9 +44,10 @@
Sunday | 11am | 2am |
- Ready to book a table?
+ Ready to book a table?
+
Popular Today
@@ -60,6 +61,7 @@
{/await}
See All
+
About Us
contact
diff --git a/front/src/routes.js b/front/src/routes.js
index 4c06be4..90caa80 100644
--- a/front/src/routes.js
+++ b/front/src/routes.js
@@ -1,30 +1,30 @@
import { wrap } from "svelte-spa-router/wrap";
-import PageLoading from "%/pages/PageLoading.svelte";
-import Page404 from "%/pages/Page404.svelte";
-import Page500 from "%/pages/Page500.svelte";
+import PageLoading from "./pages/PageLoading.svelte";
+import Page404 from "./pages/Page404.svelte";
+import Page500 from "./pages/Page500.svelte";
const routes = {
"/": wrap({
- asyncComponent: () => import("%/pages/PageIndex.svelte"),
+ asyncComponent: () => import("./pages/PageIndex.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true, fullWidth: false, },
}),
"/menu": wrap({
- asyncComponent: () => import("%/pages/PageMenu.svelte"),
+ asyncComponent: () => import("./pages/PageMenu.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true, fullWidth: true, },
}),
"/item/:uuid": wrap({
- asyncComponent: () => import("%/pages/PageItem.svelte"),
+ asyncComponent: () => import("./pages/PageItem.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true, fullWidth: true, },
}),
"/contact": wrap({
- asyncComponent: () => import("%/pages/PageContact.svelte"),
+ asyncComponent: () => import("./pages/PageContact.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true, fullWidth: false, },
@@ -36,7 +36,7 @@ const routes = {
userData: { showNavBar: true, fullWidth: false, },
}),
"/cart": wrap({
- asyncComponent: () => import("%/pages/PageCart.svelte"),
+ asyncComponent: () => import("./pages/PageCart.svelte"),
loadingComponent: PageLoading,
conditions: [],
userData: { showNavBar: true, fullWidth: false, },
diff --git a/front/src/styles/vars.scss b/front/src/styles/vars.scss
index d56b3ab..bcc4977 100644
--- a/front/src/styles/vars.scss
+++ b/front/src/styles/vars.scss
@@ -24,7 +24,7 @@ $border-radius-circle: 99999px;
// GAP SIZING
$sizing-default-width: 1000px;
$sizing-full-width: 1200px;
-$sizing-navigation-height: 55px;
+$sizing-navigation-height: 60px;
// PADDING/MARGIN
$spacing-xsmall: 5px;
diff --git a/front/vite.config.js b/front/vite.config.js
index 41d84d7..d52af1b 100644
--- a/front/vite.config.js
+++ b/front/vite.config.js
@@ -10,9 +10,9 @@ export default defineConfig({
optimizeDeps: {
exclude: ["phosphor-svelte"],
},
- resolve: {
- alias: {
- '%': __dirname + '/src',
- }
- },
+ // resolve: {
+ // alias: {
+ // '%': __dirname + '/src',
+ // }
+ // },
})