From 66b7fe1d98496822cf77cb324a584c396aea0013 Mon Sep 17 00:00:00 2001 From: Zachary Ross Date: Wed, 17 Apr 2024 21:45:00 -0400 Subject: [PATCH] Change all routes & paths to use base path --- src/app.html | 1 + src/routes/+layout.js | 3 +-- src/routes/about.svelte | 2 +- src/routes/header.svelte | 17 ++++++++--------- src/routes/hero.svelte | 4 ++-- src/routes/programs.svelte | 6 +++--- src/routes/projects.svelte | 2 +- src/routes/store/+page.svelte | 2 +- src/routes/zine/+page.svelte | 4 ++-- src/routes/zine/zineAbout.svelte | 6 +++--- 10 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/app.html b/src/app.html index 77a5ff52..c4959e69 100644 --- a/src/app.html +++ b/src/app.html @@ -4,6 +4,7 @@ + %sveltekit.head% diff --git a/src/routes/+layout.js b/src/routes/+layout.js index 5fd74ced..c8cacf08 100644 --- a/src/routes/+layout.js +++ b/src/routes/+layout.js @@ -1,2 +1 @@ -export const prerender = true; -export const trailingSlash = 'always'; \ No newline at end of file +export const prerender = true; \ No newline at end of file diff --git a/src/routes/about.svelte b/src/routes/about.svelte index 89b8b224..62ddc86d 100644 --- a/src/routes/about.svelte +++ b/src/routes/about.svelte @@ -45,7 +45,7 @@ \ No newline at end of file diff --git a/src/routes/programs.svelte b/src/routes/programs.svelte index 0119a6e6..82ecbb9b 100644 --- a/src/routes/programs.svelte +++ b/src/routes/programs.svelte @@ -88,19 +88,19 @@ } .eventCard .A { - background: url('/assets/GDYU_blender_workshop.png'); + background: url('assets/GDYU_blender_workshop.png'); background-position: 50% 90%; background-size: 100%; } .eventCard .B { - background: url('/assets/GDYU_monthly_event.png'); + background: url('assets/GDYU_monthly_event.png'); background-position: 50% 0%; background-size: 100%; } .eventCard .C { - background: url('/assets/GDYU_talk_about_games.png'); + background: url('assets/GDYU_talk_about_games.png'); background-position: 70% 0%; background-repeat: no-repeat; background-size: 125% 147%; diff --git a/src/routes/projects.svelte b/src/routes/projects.svelte index 515ce2ea..667ae89f 100644 --- a/src/routes/projects.svelte +++ b/src/routes/projects.svelte @@ -61,7 +61,7 @@ {#each clubProjects as project } {/each} - +
MORE
PROJECTS
diff --git a/src/routes/store/+page.svelte b/src/routes/store/+page.svelte index 1a7f561c..f0361118 100644 --- a/src/routes/store/+page.svelte +++ b/src/routes/store/+page.svelte @@ -10,7 +10,7 @@
- +
COMING SOON...
diff --git a/src/routes/zine/+page.svelte b/src/routes/zine/+page.svelte index aacd5ba3..3e4d29ff 100644 --- a/src/routes/zine/+page.svelte +++ b/src/routes/zine/+page.svelte @@ -59,7 +59,7 @@ } .flashHero { height: 600px; - background-image: url('/assets/flash.svg'); + background-image: url('assets/flash.svg'); background-position: center center; background-repeat: no-repeat; background-size: contain; @@ -69,7 +69,7 @@ line-height: calc(10px + 1vw); } .flashApply { - background-image: url('/assets/pocket_shib.png'); + background-image: url('assets/pocket_shib.png'); background-position: 50% 70%; background-repeat: no-repeat; background-size: 110%; diff --git a/src/routes/zine/zineAbout.svelte b/src/routes/zine/zineAbout.svelte index 914604b7..60d0ca78 100644 --- a/src/routes/zine/zineAbout.svelte +++ b/src/routes/zine/zineAbout.svelte @@ -27,19 +27,19 @@

TABS

[150-300 Words]

The shortest articles in FLASH!, Tabs are for little thoughts about the games you've played; moments you loved, characters you connected to, places you remember

- +

PAGES

[300-700 Words]

A good place for longer thoughts, Pages are for short personal essays about your experiences in games

- +

WINDOWS

[500-700 Words]

With a different focus than other stories, Windows are for writing about the game industry and game development

- +