diff --git a/astro.config.mjs b/astro.config.mjs
index 0bd8c991e..bdd7f84d3 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,8 +1,6 @@
-import path, { dirname } from "path";
-import { fileURLToPath } from "url";
+import path from "path";
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
-import { h } from "hastscript";
import sitemap from "@astrojs/sitemap";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
@@ -13,9 +11,6 @@ import metaTags from "astro-meta-tags";
import pagefind from "astro-pagefind";
import deleteUnusedImages from "astro-delete-unused-images";
-const __filename = fileURLToPath(import.meta.url);
-const __dirname = dirname(__filename); // @type-check enabled!
-
// https://astro.build/config
export default defineConfig({
vite: {
@@ -24,6 +19,7 @@ export default defineConfig({
},
resolve: {
alias: {
+ "@data": path.resolve("./src/data"),
"@components": path.resolve("./src/components"),
"@sections": path.resolve("./src/components/sections"),
"@layouts": path.resolve("./src/layouts"),
@@ -80,4 +76,7 @@ export default defineConfig({
build: {
minify: true,
},
+ experimental: {
+ svg: true,
+ },
});
diff --git a/src/components/hero-section/prague.png b/src/assets/prague.png
similarity index 100%
rename from src/components/hero-section/prague.png
rename to src/assets/prague.png
diff --git a/src/assets/prague.svg b/src/assets/prague.svg
new file mode 100644
index 000000000..fd573e38b
--- /dev/null
+++ b/src/assets/prague.svg
@@ -0,0 +1,13 @@
+
+
diff --git a/src/components/hero-section/prague.astro b/src/components/hero-section/prague.astro
deleted file mode 100644
index 75db50439..000000000
--- a/src/components/hero-section/prague.astro
+++ /dev/null
@@ -1,40 +0,0 @@
----
-import Prose from "../prose/prose.astro";
-import Button from "@ui/Button.astro";
-import { Title } from "../typography/title";
-import { Image } from "astro:assets";
-
-export interface Props {
- title: string;
-}
-
-const { title } = Astro.props;
-
-import venueImage from "./prague.png";
----
-
-