diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 0d28486..df3d244 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -40,6 +40,7 @@ import onMount from "@e/onMount"; import Zooter from "./comps/Zooter.svelte"; import CustomScrollBar from "./comps/CustomScrollBar.svelte"; + import NavbarItems from "./NavbarItems.svelte"; onMount(async () => { handleUrlParams(); @@ -119,15 +120,9 @@ diff --git a/src/routes/NavbarItems.svelte b/src/routes/NavbarItems.svelte new file mode 100644 index 0000000..64f3d73 --- /dev/null +++ b/src/routes/NavbarItems.svelte @@ -0,0 +1,17 @@ + + + + {$re?.nick ?? "Alex"}'s CV + + + School Stuff + diff --git a/src/routes/comps/Zooter.svelte b/src/routes/comps/Zooter.svelte index 466ad7c..0cccef5 100644 --- a/src/routes/comps/Zooter.svelte +++ b/src/routes/comps/Zooter.svelte @@ -7,6 +7,8 @@ import re from "@ts/Redaction/Redactor"; const buildTime = __BUILD_TIME__; + import { page } from "$app/stores"; + let scrollY = 0; const unscrollSpeed = 100; let unscrollScrollDiv: HTMLDivElement; @@ -66,6 +68,17 @@ totalScroll = document.documentElement.scrollHeight - window.innerHeight; } + function getGitURL() { + if ($page.url.pathname !== "/") { + return ( + "https://git.deprived.dev/DeprivedDevs/deprived-main-website/src/branch/main/src/routes" + + $page.url.pathname + ); + } else { + return "https://git.deprived.dev/DeprivedDevs/deprived-main-website/"; + } + } + onDestroy(() => { clearInterval(unscrollInterval); }); @@ -129,12 +142,9 @@ /> - - - - - - + + Website source code +

Contact

diff --git a/src/routes/school/+layout.svelte b/src/routes/school/+layout.svelte new file mode 100644 index 0000000..81def4a --- /dev/null +++ b/src/routes/school/+layout.svelte @@ -0,0 +1,8 @@ + + +
+ ⚠️ Mobile support is not actively supported for school things ⚠️ +
+
{@render children?.()}
diff --git a/src/routes/school/+page.svelte b/src/routes/school/+page.svelte new file mode 100644 index 0000000..f8d19af --- /dev/null +++ b/src/routes/school/+page.svelte @@ -0,0 +1,4 @@ + + +
test