From 7e614b89a85d0c26304d59e4505902617024fe3c Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 29 Dec 2023 15:05:13 +0100 Subject: [PATCH] Moved to iconoir package instead of web stylesheet --- package-lock.json | 22 +++++++++++++--------- package.json | 2 +- src/layouts/Layout.astro | 5 +---- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 01bdf97..cd08694 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "@firq/fgosite", - "version": "0.1.11", + "version": "0.1.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@firq/fgosite", - "version": "0.1.11", + "version": "0.1.14", "dependencies": { "@astrojs/check": "^0.3.3", "@astrojs/sitemap": "^3.0.3", "astro": "^4.0.7", - "iconoir": "^6.1.0", + "iconoir": "^7.2.0", "typescript": "^5.3.3" } }, @@ -2706,9 +2706,13 @@ } }, "node_modules/iconoir": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-6.1.0.tgz", - "integrity": "sha512-K8Jrqkp51MdcDBzfiSY2vt9gHsujwEmoOHlWI2Wk++cgVvR1bP+fMLFmwBTPHduZ3aOK95snE6rUmlLPH7Yhnw==" + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-7.2.0.tgz", + "integrity": "sha512-uGaTCzdvQUAfNMDM2yJieGVM2KbW+8/8nkyLVtvXX+79tHQWxgPhpvk9g7rnZcbQuZ/YFAdP+0HB3eAmk+l2qw==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/iconoir" + } }, "node_modules/iconv-lite": { "version": "0.4.24", @@ -8331,9 +8335,9 @@ "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==" }, "iconoir": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-6.1.0.tgz", - "integrity": "sha512-K8Jrqkp51MdcDBzfiSY2vt9gHsujwEmoOHlWI2Wk++cgVvR1bP+fMLFmwBTPHduZ3aOK95snE6rUmlLPH7Yhnw==" + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/iconoir/-/iconoir-7.2.0.tgz", + "integrity": "sha512-uGaTCzdvQUAfNMDM2yJieGVM2KbW+8/8nkyLVtvXX+79tHQWxgPhpvk9g7rnZcbQuZ/YFAdP+0HB3eAmk+l2qw==" }, "iconv-lite": { "version": "0.4.24", diff --git a/package.json b/package.json index 71c0f3d..e864baa 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@astrojs/check": "^0.3.3", "@astrojs/sitemap": "^3.0.3", "astro": "^4.0.7", - "iconoir": "^6.1.0", + "iconoir": "^7.2.0", "typescript": "^5.3.3" } } diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index e897075..75ab12e 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -3,6 +3,7 @@ import Navbar from '../components/navbar.astro' import NavbarEntry from '../components/navbarEntry.astro' import navdata from '../../static/data/_navdata.json' import embed from '../assets/embed.png' +import "iconoir/css/iconoir.css" export interface Props { title: string @@ -49,10 +50,6 @@ if (currentpage !== 'home') { -