diff --git a/astro.config.mjs b/astro.config.mjs
index 9ffed89..7f32698 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,6 +1,7 @@
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
+import icon from "astro-icon";
import { defineConfig } from "astro/config";
import remarkMath from "remark-math";
@@ -14,5 +15,12 @@ export default defineConfig({
},
remarkPlugins: [remarkMath],
},
- integrations: [tailwind(), sitemap(), react()],
+ integrations: [
+ tailwind(),
+ sitemap(),
+ react(),
+ icon({
+ iconDir: "src/assets/icons",
+ }),
+ ],
});
diff --git a/package.json b/package.json
index 43dffda..c87ec78 100644
--- a/package.json
+++ b/package.json
@@ -25,10 +25,10 @@
"@fontsource/inter": "^5.0.20",
"@fontsource/outfit": "^5.0.14",
"astro": "^3.6.5",
+ "astro-icon": "^1.1.1",
"astro-seo": "^0.8.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
- "lucide-react": "^0.292.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remark-math": "^6.0.0",
diff --git a/src/assets/icons/email.svg b/src/assets/icons/email.svg
new file mode 100644
index 0000000..a643ebf
--- /dev/null
+++ b/src/assets/icons/email.svg
@@ -0,0 +1,4 @@
+
diff --git a/src/assets/icons/github.svg b/src/assets/icons/github.svg
new file mode 100644
index 0000000..3fb309a
--- /dev/null
+++ b/src/assets/icons/github.svg
@@ -0,0 +1,4 @@
+
diff --git a/src/assets/icons/linkedin.svg b/src/assets/icons/linkedin.svg
new file mode 100644
index 0000000..de3a7f1
--- /dev/null
+++ b/src/assets/icons/linkedin.svg
@@ -0,0 +1,4 @@
+
diff --git a/src/assets/icons/moon.svg b/src/assets/icons/moon.svg
new file mode 100644
index 0000000..2b350da
--- /dev/null
+++ b/src/assets/icons/moon.svg
@@ -0,0 +1,4 @@
+
diff --git a/src/assets/icons/sun.svg b/src/assets/icons/sun.svg
new file mode 100644
index 0000000..0507ca1
--- /dev/null
+++ b/src/assets/icons/sun.svg
@@ -0,0 +1,8 @@
+
diff --git a/src/components/general/Footer.astro b/src/components/general/Footer.astro
index 07c53bc..887c322 100644
--- a/src/components/general/Footer.astro
+++ b/src/components/general/Footer.astro
@@ -1,9 +1,9 @@
---
-import { info } from "@/data/info";
import { buttonVariants } from "@/components/ui/button";
-import { Github, Linkedin, Mail } from "lucide-react";
+import { info } from "@/data/info";
+import { Icon } from "astro-icon/components";
-const iconSize = 20;
+const iconSize = 25;
---
diff --git a/src/components/general/Navbar.astro b/src/components/general/Navbar.astro
index 5e43351..ed9284f 100644
--- a/src/components/general/Navbar.astro
+++ b/src/components/general/Navbar.astro
@@ -1,8 +1,10 @@
---
+import { Button } from "@/components/ui/button";
import { info } from "@/data/info";
import { createLogo } from "@/utils/logo";
-import { Moon } from "lucide-react";
-import { Button } from "../ui/button";
+import { Icon } from "astro-icon/components";
+
+const iconSize = 25;
---