diff --git a/bun.lock b/bun.lock index 0393434..10b7eeb 100644 --- a/bun.lock +++ b/bun.lock @@ -7,12 +7,13 @@ "@astrojs/node": "^9.0.0", "@astrojs/react": "^4.2.0", "@astrojs/tailwind": "5.1.4", + "@iconify-json/heroicons": "^1.2.2", "@types/js-yaml": "^4.0.9", "@types/react": "^19.0.8", "@types/react-dom": "^19.0.3", "astro": "5.1.1", "astro-expressive-code": "^0.38.3", - "astro-icon": "^1.1.4", + "astro-icon": "^1.1.5", "js-yaml": "^4.1.0", "jszip": "^3.10.1", "motion": "^11.15.0", @@ -24,7 +25,6 @@ "tailwindcss": "^3.4.16", }, "devDependencies": { - "@iconify/react": "^5.2.0", "daisyui": "^4.12.23", "prettier": "^3.4.2", "prettier-plugin-astro": "^0.14.1", @@ -158,7 +158,7 @@ "@expressive-code/plugin-text-markers": ["@expressive-code/plugin-text-markers@0.38.3", "", { "dependencies": { "@expressive-code/core": "^0.38.3" } }, "sha512-dPK3+BVGTbTmGQGU3Fkj3jZ3OltWUAlxetMHI6limUGCWBCucZiwoZeFM/WmqQa71GyKRzhBT+iEov6kkz2xVA=="], - "@iconify/react": ["@iconify/react@5.2.0", "", { "dependencies": { "@iconify/types": "^2.0.0" }, "peerDependencies": { "react": ">=16" } }, "sha512-7Sdjrqq3fkkQNks9SY3adGC37NQTHsBJL2PRKlQd455PoDi9s+Es9AUTY+vGLFOYs5yO9w9yCE42pmxCwG26WA=="], + "@iconify-json/heroicons": ["@iconify-json/heroicons@1.2.2", "", { "dependencies": { "@iconify/types": "*" } }, "sha512-qoW4pXr5kTTL6juEjgTs83OJIwpePu7q1tdtKVEdj+i0zyyVHgg/dd9grsXJQnpTpBt6/VwNjrXBvFjRsKPENg=="], "@iconify/tools": ["@iconify/tools@4.0.7", "", { "dependencies": { "@iconify/types": "^2.0.0", "@iconify/utils": "^2.1.32", "@types/tar": "^6.1.13", "axios": "^1.7.7", "cheerio": "1.0.0", "domhandler": "^5.0.3", "extract-zip": "^2.0.1", "local-pkg": "^0.5.0", "pathe": "^1.1.2", "svgo": "^3.3.2", "tar": "^6.2.1" } }, "sha512-zOJxKIfZn96ZRGGvIWzDRLD9vb2CsxjcLuM+QIdvwWbv6SWhm49gECzUnd4d2P0sq9sfodT7yCNobWK8nvavxQ=="], @@ -404,7 +404,7 @@ "astro-expressive-code": ["astro-expressive-code@0.38.3", "", { "dependencies": { "rehype-expressive-code": "^0.38.3" }, "peerDependencies": { "astro": "^4.0.0-beta || ^5.0.0-beta || ^3.3.0" } }, "sha512-Tvdc7RV0G92BbtyEOsfJtXU35w41CkM94fOAzxbQP67Wj5jArfserJ321FO4XA7WG9QMV0GIBmQq77NBIRDzpQ=="], - "astro-icon": ["astro-icon@1.1.4", "", { "dependencies": { "@iconify/tools": "^4.0.5", "@iconify/types": "^2.0.0", "@iconify/utils": "^2.1.30" } }, "sha512-sMLkQaevIQLv38WBzb/RDbsmxhg5+X+KcNmpTi9cE6MLurNWU1MPnlO87d9Vwg4HxTenKpDlYp81A3syXFW/gw=="], + "astro-icon": ["astro-icon@1.1.5", "", { "dependencies": { "@iconify/tools": "^4.0.5", "@iconify/types": "^2.0.0", "@iconify/utils": "^2.1.30" } }, "sha512-CJYS5nWOw9jz4RpGWmzNQY7D0y2ZZacH7atL2K9DeJXJVaz7/5WrxeyIxO8KASk1jCM96Q4LjRx/F3R+InjJrw=="], "asynckit": ["asynckit@0.4.0", "", {}, "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="], diff --git a/package.json b/package.json index 8867e72..e4c5440 100644 --- a/package.json +++ b/package.json @@ -14,12 +14,13 @@ "@astrojs/node": "^9.0.0", "@astrojs/react": "^4.2.0", "@astrojs/tailwind": "5.1.4", + "@iconify-json/heroicons": "^1.2.2", "@types/js-yaml": "^4.0.9", "@types/react": "^19.0.8", "@types/react-dom": "^19.0.3", "astro": "5.1.1", "astro-expressive-code": "^0.38.3", - "astro-icon": "^1.1.4", + "astro-icon": "^1.1.5", "js-yaml": "^4.1.0", "jszip": "^3.10.1", "motion": "^11.15.0", @@ -31,7 +32,6 @@ "tailwindcss": "^3.4.16" }, "devDependencies": { - "@iconify/react": "^5.2.0", "daisyui": "^4.12.23", "prettier": "^3.4.2", "prettier-plugin-astro": "^0.14.1", diff --git a/src/pages/dashboard.astro b/src/pages/dashboard.astro index 5aa3116..5c3aca7 100644 --- a/src/pages/dashboard.astro +++ b/src/pages/dashboard.astro @@ -2,6 +2,7 @@ import yaml from "js-yaml"; import profileConfig from "../config/profileConfig.yaml?raw"; import textConfig from "../config/text.yml?raw"; +import { Icon } from "astro-icon/components"; const title = "Dashboard"; const config = yaml.load(profileConfig) as any; @@ -19,136 +20,113 @@ const text = yaml.load(textConfig) as any;
-