From cd2aaa355c21844573166a2ea1efb9a2b5253f52 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Sun, 5 May 2024 13:04:17 +0100 Subject: [PATCH] Add About and Booking page Add help dropdowns on checkout Add Image With Text component --- front/src/components/ImageWithText.svelte | 44 +++++++++++++++++++++++ front/src/pages/PageAbout.svelte | 43 ++++++++++++++++++++++ front/src/pages/PageBooking.svelte | 1 + front/src/pages/PageCart.svelte | 18 +++++++--- front/src/pages/PageIndex.svelte | 22 +++++++----- front/src/routes.js | 8 ++++- 6 files changed, 123 insertions(+), 13 deletions(-) create mode 100644 front/src/components/ImageWithText.svelte create mode 100644 front/src/pages/PageAbout.svelte create mode 100644 front/src/pages/PageBooking.svelte diff --git a/front/src/components/ImageWithText.svelte b/front/src/components/ImageWithText.svelte new file mode 100644 index 0000000..9f9f6b3 --- /dev/null +++ b/front/src/components/ImageWithText.svelte @@ -0,0 +1,44 @@ + + +
+ With Text + +
+ +
+
+ + \ No newline at end of file diff --git a/front/src/pages/PageAbout.svelte b/front/src/pages/PageAbout.svelte new file mode 100644 index 0000000..8211c77 --- /dev/null +++ b/front/src/pages/PageAbout.svelte @@ -0,0 +1,43 @@ + + +

Our story

+ + +
+

How it all started

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. At deserunt est quos dicta ipsa! Soluta laudantium dolore temporibus nisi aspernatur expedita vel, unde natus a nulla rerum officiis optio neque.

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. At deserunt est quos dicta ipsa! Soluta laudantium dolore temporibus nisi aspernatur expedita vel, unde natus a nulla rerum officiis optio neque.

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. At deserunt est quos dicta ipsa! Soluta laudantium dolore temporibus nisi aspernatur expedita vel, unde natus a nulla rerum officiis optio neque.

+
+
+ +
+ + +
+

The hard times

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. At deserunt est quos dicta ipsa! Soluta laudantium dolore temporibus nisi aspernatur expedita vel, unde natus a nulla rerum officiis optio neque.

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. At deserunt est quos dicta ipsa! Soluta laudantium dolore temporibus nisi aspernatur expedita vel, unde natus a nulla rerum officiis optio neque.

+
+
+ +
+ + +
+

Whats next

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. At deserunt est quos dicta ipsa! Soluta laudantium dolore temporibus nisi aspernatur expedita vel, unde natus a nulla rerum officiis optio neque.

+

Lorem ipsum dolor, sit amet consectetur adipisicing elit. At deserunt est quos dicta ipsa! Soluta laudantium dolore temporibus nisi aspernatur expedita vel, unde natus a nulla rerum officiis optio neque.

+
+
+ + + diff --git a/front/src/pages/PageBooking.svelte b/front/src/pages/PageBooking.svelte new file mode 100644 index 0000000..6382160 --- /dev/null +++ b/front/src/pages/PageBooking.svelte @@ -0,0 +1 @@ +

Table booking

diff --git a/front/src/pages/PageCart.svelte b/front/src/pages/PageCart.svelte index 0549e41..0202c15 100644 --- a/front/src/pages/PageCart.svelte +++ b/front/src/pages/PageCart.svelte @@ -7,6 +7,7 @@ import Cart from "../lib/cart"; import MenuList from "../components/MenuList.svelte"; import BasketItem from "../components/BasketItem.svelte"; + import DropDown from "../components/DropDown.svelte"; let popularToday = getPopularToday(); @@ -42,6 +43,19 @@
+

Help

+
+ +

Want to reserve a table instead? You can do this here!

+
+
+ +

Looking past orders? Check out the commonly asked questions.

+
+
+ +
+

Looking for something more?

{#await popularToday}

Loading

@@ -49,10 +63,6 @@ {/await} -
- -

Looking past orders? Check out the commonly asked questions

-