From 33006515770d342d082693d0218342e55d7278ce Mon Sep 17 00:00:00 2001 From: Sangelo Date: Sun, 10 Dec 2023 16:24:51 +0100 Subject: [PATCH] Progress on modals --- src/routes/Modal.svelte | 2 +- src/routes/Projects.svelte | 11 +-- src/routes/modals/dashinit.svelte | 3 +- src/routes/modals/explorecraft.svelte | 5 +- src/routes/modals/more.svelte | 127 +++++++++++++++++++++++++ src/routes/modals/sangefault.svelte | 3 +- src/routes/modals/sangelospace.svelte | 3 +- src/routes/modals/utilityclient.svelte | 7 +- src/styles/mobile/modal-mobile.scss | 16 +++- src/styles/modal-more.scss | 127 +++++++++++++++++++++++++ src/styles/modal.scss | 5 +- static/assets/logos/runestudios.svg | 21 ++++ static/assets/logos/spacebot.svg | 121 +++++++++++++++++++++++ static/assets/logos/spectrumgalaxy.svg | 18 ++++ 14 files changed, 450 insertions(+), 19 deletions(-) create mode 100644 src/routes/modals/more.svelte create mode 100644 src/styles/modal-more.scss create mode 100644 static/assets/logos/runestudios.svg create mode 100644 static/assets/logos/spacebot.svg create mode 100644 static/assets/logos/spectrumgalaxy.svg diff --git a/src/routes/Modal.svelte b/src/routes/Modal.svelte index 8348b7d..3613230 100644 --- a/src/routes/Modal.svelte +++ b/src/routes/Modal.svelte @@ -82,7 +82,7 @@ padding: 1em; box-shadow: 0px 2px 10px $space-black-modal; z-index: 1001; - overflow: scroll; + overflow: auto; } .close-button { diff --git a/src/routes/Projects.svelte b/src/routes/Projects.svelte index 3810cf8..0ea7757 100644 --- a/src/routes/Projects.svelte +++ b/src/routes/Projects.svelte @@ -6,6 +6,7 @@ import ExploreCraftModal from './modals/explorecraft.svelte'; import UtilityClientModal from './modals/utilityclient.svelte'; import SangeloSpaceModal from './modals/sangelospace.svelte' + import MoreProjectsModal from './modals/more.svelte'; // import type { SvelteComponent } from 'svelte'; let showModal = false; @@ -41,10 +42,6 @@ redirectToHome(); } } - - function openWebsite(url: string) { - goto(url); - }
@@ -91,10 +88,10 @@
-
diff --git a/src/routes/modals/dashinit.svelte b/src/routes/modals/dashinit.svelte index 4387458..136aed3 100644 --- a/src/routes/modals/dashinit.svelte +++ b/src/routes/modals/dashinit.svelte @@ -15,7 +15,7 @@