-
+
@@ -88,22 +88,22 @@
}
.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%;
}
-
+
\ No newline at end of file
diff --git a/src/routes/zine/+page.svelte b/src/routes/zine/+page.svelte
index 3e4d29f..aacd5ba 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/svelte.config.js b/svelte.config.js
index 689f581..5b15c45 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,5 +1,5 @@
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
-import adapter from '@sveltejs/adapter-static';
+import adapter from '@sveltejs/adapter-auto';
import {mdsvex} from 'mdsvex'
import sveltePreprocess from 'svelte-preprocess';
@@ -9,16 +9,7 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
- adapter: adapter({
- pages:'build',
- assets:'build',
- fallback: 'app.html',
- precompress: false,
- strict:true
- }),
- paths: {
- base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
- }
+ adapter: adapter(),
},
extensions:['.svelte','.md'],
diff --git a/vite.config.js b/vite.config.js
index bbf8c7d..fce9e87 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -2,5 +2,5 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
- plugins: [sveltekit()]
+ plugins: [sveltekit()],
});