From da040c832f848655f68cf1405af43186bba3ceec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Altu=C4=9F=20Bakan?= Date: Sun, 19 Nov 2023 18:56:09 +0100 Subject: [PATCH] Add better icons --- package.json | 3 +- src/components/Navigation.astro | 5 +- src/components/Project.astro | 14 +-- src/components/Socials.astro | 12 +- src/components/TechIcon.astro | 22 ++++ src/layouts/BaseLayout.astro | 1 - src/layouts/ProjectLayout.astro | 5 +- src/pages/404.astro | 4 +- tailwind.config.ts | 2 + yarn.lock | 201 ++++---------------------------- 10 files changed, 64 insertions(+), 205 deletions(-) create mode 100644 src/components/TechIcon.astro diff --git a/package.json b/package.json index a46992a..35a288f 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,11 @@ "@astrojs/mdx": "^1.1.5", "@astrojs/tailwind": "^5.0.2", "astro": "^3.5.5", - "astro-icon": "^0.8.1", "tailwindcss": "^3.3.5" }, "devDependencies": { + "@iconify/json": "^2.2.143", + "@iconify/tailwind": "^0.1.3", "prettier": "^3.0.3", "prettier-plugin-astro": "^0.12.1" } diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index b280510..d10b245 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -1,5 +1,4 @@ --- -import { Icon } from "astro-icon"; import { Image } from "astro:assets"; import Logo from "../images/logo.png"; @@ -66,8 +65,8 @@ const { className } = Astro.props; toggle-theme-button aria-label="Toggle theme" > -