From 6e5f1f69034397700ab247e6d7a9d82ac3943d6a Mon Sep 17 00:00:00 2001 From: DutchEllie Date: Sun, 3 Jul 2022 12:25:25 +0200 Subject: [PATCH] Hamborgar --- src/components/guestbook.svelte | 3 +++ src/components/hamburger.svelte | 16 ++++++++++++++++ src/components/header.svelte | 30 +++++++++++++++++------------- src/components/maincontent.svelte | 2 +- src/components/menu.svelte | 19 +++++++++++++++++++ src/routes/__layout.svelte | 2 +- static/images/icons8-menu.svg | 6 ++++++ 7 files changed, 63 insertions(+), 15 deletions(-) create mode 100644 src/components/guestbook.svelte create mode 100644 src/components/hamburger.svelte create mode 100644 src/components/menu.svelte create mode 100644 static/images/icons8-menu.svg diff --git a/src/components/guestbook.svelte b/src/components/guestbook.svelte new file mode 100644 index 0000000..9bddee5 --- /dev/null +++ b/src/components/guestbook.svelte @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/src/components/hamburger.svelte b/src/components/hamburger.svelte new file mode 100644 index 0000000..2ae0404 --- /dev/null +++ b/src/components/hamburger.svelte @@ -0,0 +1,16 @@ + + + + + diff --git a/src/components/header.svelte b/src/components/header.svelte index 2cc6fb7..fdfd7d7 100644 --- a/src/components/header.svelte +++ b/src/components/header.svelte @@ -1,28 +1,32 @@ -
-
- Icon -
+
+
+
+ +
+ +
+
+

Internetica Galactica 2

Surviving the rewriting

-
-
diff --git a/src/components/maincontent.svelte b/src/components/maincontent.svelte index fb9e275..273e657 100644 --- a/src/components/maincontent.svelte +++ b/src/components/maincontent.svelte @@ -1,3 +1,3 @@ -
+
\ No newline at end of file diff --git a/src/components/menu.svelte b/src/components/menu.svelte new file mode 100644 index 0000000..bc73c18 --- /dev/null +++ b/src/components/menu.svelte @@ -0,0 +1,19 @@ + + +{#if open} +
{ + open = !open; + }} + class="z-10 bg-white absolute top-0 left-0 h-screen w-screen flex flex-col gap-4 text-center pt-16" + > +
+{/if} diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index cd28006..ed1eab4 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -5,7 +5,7 @@
diff --git a/static/images/icons8-menu.svg b/static/images/icons8-menu.svg new file mode 100644 index 0000000..9508986 --- /dev/null +++ b/static/images/icons8-menu.svg @@ -0,0 +1,6 @@ + + + + + +