From 0aeaec5df6874c0afa513f5a0b40ca4eedce5eb4 Mon Sep 17 00:00:00 2001 From: tree Date: Sun, 12 Feb 2023 18:42:12 +0100 Subject: [PATCH] Update --- src/app.css | 2 +- src/routes/+layout.svelte | 29 +++++++++++++++++++++-------- static/web3privacy-cropped.jpg | Bin 0 -> 165981 bytes 3 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 static/web3privacy-cropped.jpg diff --git a/src/app.css b/src/app.css index 39a9141..b5773d1 100644 --- a/src/app.css +++ b/src/app.css @@ -25,7 +25,7 @@ @apply max-w-7xl mx-auto px-4 xl:px-0; } .middle-pane-big { - @apply max-w-screen-2xl mx-auto px-4 2xl:px-0; + @apply max-w-screen-2xl mx-auto px-6 2xl:px-0; } .button { diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 9fffc5f..598bc3c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -2,6 +2,8 @@ import '../app.css'; export let data; + let navbar = false; + const menu = [ { title: 'About', url: '#about' }, { title: 'Speakers', url: '#speakers' }, @@ -12,23 +14,34 @@
-
+
-
- +
+
+ {#each menu as mi} - + {/each}
+ {#if navbar} +
+ {#each menu as mi} + + {/each} +
+ {/if}
+
@@ -55,11 +68,11 @@