From 1576298bc7e24d1d0edfed99ce652d6f718d29e7 Mon Sep 17 00:00:00 2001 From: midblep Date: Wed, 21 Sep 2022 00:10:17 +0200 Subject: [PATCH] Changes to homepage --- src/lib/Socials.svelte | 21 ++- src/lib/ThemeSwitcher.svelte | 7 +- src/lib/footer/Footer.svelte | 33 ++-- src/lib/header/Nav.svelte | 16 +- src/lib/home/Banner.svelte | 57 ++++-- src/lib/home/Card.svelte | 2 +- src/lib/home/Form.svelte | 132 +++++++------- src/lib/home/Sona.svelte | 44 ++--- src/routes/index.svelte | 168 ++++++------------ src/routes/portfolio.svelte | 28 ++- ...Chat_1920x1080_2022-06-12_00-59-32.363.png | Bin 0 -> 1819902 bytes static/banner4.png | Bin 0 -> 175429 bytes static/logo.png | Bin 0 -> 14430 bytes static/mid2_wonivero.png | Bin 0 -> 209008 bytes 14 files changed, 260 insertions(+), 248 deletions(-) create mode 100644 static/VRChat_1920x1080_2022-06-12_00-59-32.363.png create mode 100644 static/banner4.png create mode 100644 static/logo.png create mode 100644 static/mid2_wonivero.png diff --git a/src/lib/Socials.svelte b/src/lib/Socials.svelte index b6c5fb2..9656ebd 100644 --- a/src/lib/Socials.svelte +++ b/src/lib/Socials.svelte @@ -1,8 +1,14 @@ -
+
+ {#if text} +
+ Social Profiles +
+ {/if} + + {#if text} +
+ // EOL +
+ {/if}
diff --git a/src/lib/ThemeSwitcher.svelte b/src/lib/ThemeSwitcher.svelte index 29519a0..649f061 100644 --- a/src/lib/ThemeSwitcher.svelte +++ b/src/lib/ThemeSwitcher.svelte @@ -2,8 +2,7 @@ import { onMount } from "svelte"; import { getCookie } from "./helpers/cookies"; - let classes = - "h-full py-2 px-5 flex justify-center items-center group hover:bg-white hover:bg-opacity-30 text-white text-lg duration-300"; + let classes = "h-full py-2 px-10 text-white flex justify-center items-center uppercase group hover:bg-white hover:bg-opacity-20 font-bold text-lg duration-300"; function switchTheme() { if (document.documentElement.classList.contains("dark")) { @@ -15,13 +14,13 @@ function setLight() { document.documentElement.classList.remove("dark"); - document.querySelector("#theme").innerHTML = "Set to Dark"; + document.querySelector("#theme").innerHTML = "☀️"; document.cookie = "theme=light"; } function setDark() { document.documentElement.classList.add("dark"); - document.querySelector("#theme").innerHTML = "Set to Light"; + document.querySelector("#theme").innerHTML = "🌙"; document.cookie = "theme=dark"; } diff --git a/src/lib/footer/Footer.svelte b/src/lib/footer/Footer.svelte index 49ddc6a..537b09b 100644 --- a/src/lib/footer/Footer.svelte +++ b/src/lib/footer/Footer.svelte @@ -1,29 +1,34 @@ -
+
+
+ +
+
+
+ + +
+ +
+

Bart Industries

-

Copyright 2022 Mid // Midblep. All rights reserved.

- -
-
+ diff --git a/src/lib/header/Nav.svelte b/src/lib/header/Nav.svelte index 47f9f03..1e4b7cd 100644 --- a/src/lib/header/Nav.svelte +++ b/src/lib/header/Nav.svelte @@ -16,10 +16,10 @@