diff --git a/front/src/App.svelte b/front/src/App.svelte index e50e864..2f5dd92 100644 --- a/front/src/App.svelte +++ b/front/src/App.svelte @@ -8,7 +8,9 @@ let oldLocation = undefined; let showNavBar = false; let fullWidth = false; - let scrollY = 0; + + let windowScrollY = 0; + let windowWidth = 0; function routeLoading(event) { if (event.detail.location === oldLocation) { @@ -24,14 +26,15 @@ } - + {#if showNavBar } 0} + scrolled={windowScrollY > 0} + mobile={windowWidth < 700} /> {/if}
-
+

Contact From

diff --git a/front/src/pages/PageIndex.svelte b/front/src/pages/PageIndex.svelte index 5fb7108..e8caa8a 100644 --- a/front/src/pages/PageIndex.svelte +++ b/front/src/pages/PageIndex.svelte @@ -27,30 +27,29 @@ crossorigin=""/> -
- - Learn More -
+ +Learn More +
-

Where to find us

-
-
-
-

Some Title

-

Lorem ipsum dolor, sit amet consectetur adipisicing elit. Perspiciatis dolore maiores, dolorem unde, illo vero dolores magnam omnis, explicabo vel eos voluptatem libero ullam ipsa molestias laboriosam voluptas nisi sunt.

-
+

Where to find us

+
+
+
+

Some Title

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. Perspiciatis dolore maiores, dolorem unde, illo vero dolores magnam omnis, explicabo vel eos voluptatem libero ullam ipsa molestias laboriosam voluptas nisi sunt.

-
- -

Popular Today

- - See All -
- -

About Us

contact -

Want to know the story of the restaurant?

- Continue reading
+
+ +

Popular Today

+ +See All +
+ +

About Us

contact +

Want to know the story of the restaurant?

+Continue reading +