diff --git a/astro.config.mjs b/astro.config.mjs index 11e45b2..571987e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -28,7 +28,8 @@ export default defineConfig({ include: { 'material-symbols': ['*'], 'fa6-brands': ['*'], - 'fa6-regular': ['*'] + 'fa6-regular': ['*'], + 'fa6-solid': ['*'] } }) ], diff --git a/package.json b/package.json index 2cb1150..33f473e 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "@astrojs/ts-plugin": "^1.1.3", "@iconify-json/fa6-brands": "^1.1.13", "@iconify-json/fa6-regular": "^1.1.13", + "@iconify-json/fa6-solid": "^1.1.15", "@iconify-json/material-symbols": "^1.1.59", "@rollup/plugin-yaml": "^4.1.2", "@tailwindcss/typography": "^0.5.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aa1832c..76f8d12 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -61,6 +61,9 @@ devDependencies: '@iconify-json/fa6-regular': specifier: ^1.1.13 version: 1.1.13 + '@iconify-json/fa6-solid': + specifier: ^1.1.15 + version: 1.1.15 '@iconify-json/material-symbols': specifier: ^1.1.59 version: 1.1.59 @@ -990,6 +993,12 @@ packages: '@iconify/types': 2.0.0 dev: true + /@iconify-json/fa6-solid@1.1.15: + resolution: {integrity: sha512-RMiUSSdnxD4BLDW2QBskqr/+i1/6xhZK+E3sq24URnB3fSQUCWvyhNN3ZnU3RMjWaMVNxPy9pEXr1i/8s63GRQ==} + dependencies: + '@iconify/types': 2.0.0 + dev: true + /@iconify-json/material-symbols@1.1.59: resolution: {integrity: sha512-azzJVyS2AKQ4cxIUUmeMHaTVlU9aWM6M98NEqf8luZ1RJpVWuDdSjExY+x58Y39wPFTf+6hgvS4pRwCJRdpohw==} dependencies: diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index c8f5ebb..4b4aa9b 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -51,7 +51,14 @@ function getLinkPresetInfo(p: LinkPreset): NavBarLink {
{links.map((l) => { - return ; + return + + ; })}
diff --git a/src/components/misc/ImageBox.astro b/src/components/misc/ImageBox.astro index 0e06739..173db07 100644 --- a/src/components/misc/ImageBox.astro +++ b/src/components/misc/ImageBox.astro @@ -14,6 +14,7 @@ const className = Astro.props.class; const isLocal = !(src.startsWith('/') || src.startsWith('http') || src.startsWith('https') || src.startsWith('data:')); // TODO temporary workaround for images dynamic import +// https://github.com/withastro/astro/issues/3373 let img; if (isLocal) { const files = import.meta.glob("../../**", { import: 'default' }); diff --git a/src/components/widget/Profile.astro b/src/components/widget/Profile.astro index 47d67ab..eaa647d 100644 --- a/src/components/widget/Profile.astro +++ b/src/components/widget/Profile.astro @@ -14,15 +14,15 @@ const config = profileConfig;