fix: fixed wrong icons + use local icon packages

This commit is contained in:
mrjvs
2026-08-07 12:00:32 +02:00
parent c1c6fbbd0a
commit 1c10ac1df0
5 changed files with 54 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
export default defineNuxtConfig({
compatibilityDate: '2026-08-07',
srcDir: './src',
dir: {
public: './src/public',

42
package-lock.json generated
View File

@@ -23,6 +23,8 @@
"vue-router": "^5.2.0"
},
"devDependencies": {
"@iconify-json/fa7-brands": "^1.2.4",
"@iconify-json/ph": "^1.2.2",
"@pretendonetwork/eslint-config": "^0.1.4",
"eslint-plugin-vue": "^10.0.0",
"sass-embedded": "^1.86.3"
@@ -1390,6 +1392,26 @@
"url": "https://github.com/sponsors/nzakas"
}
},
"node_modules/@iconify-json/fa7-brands": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/@iconify-json/fa7-brands/-/fa7-brands-1.2.4.tgz",
"integrity": "sha512-60acXyxhQl1lddBH5YGzfQLkzlP9jqNcblFmgel7lJpgsVx/4QmrXAL90ARb8XhHX7dFMGRDmlqER9mq8aaz2g==",
"dev": true,
"license": "CC-BY-4.0",
"dependencies": {
"@iconify/types": "*"
}
},
"node_modules/@iconify-json/ph": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/@iconify-json/ph/-/ph-1.2.2.tgz",
"integrity": "sha512-PgkEZNtqa8hBGjHXQa4pMwZa93hmfu8FUSjs/nv4oUU6yLsgv+gh9nu28Kqi8Fz9CCVu4hj1MZs9/60J57IzFw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@iconify/types": "*"
}
},
"node_modules/@iconify/collections": {
"version": "1.0.719",
"resolved": "https://registry.npmjs.org/@iconify/collections/-/collections-1.0.719.tgz",
@@ -3598,6 +3620,16 @@
"node": "^20.19.0 || >=22.12.0"
}
},
"node_modules/@oxc-parser/binding-wasm32-wasi/node_modules/@emnapi/runtime": {
"version": "1.11.2",
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.2.tgz",
"integrity": "sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==",
"license": "MIT",
"optional": true,
"dependencies": {
"tslib": "^2.4.0"
}
},
"node_modules/@oxc-parser/binding-win32-arm64-msvc": {
"version": "0.141.0",
"resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.141.0.tgz",
@@ -3930,6 +3962,16 @@
"node": "^20.19.0 || >=22.12.0"
}
},
"node_modules/@oxc-transform/binding-wasm32-wasi/node_modules/@emnapi/runtime": {
"version": "1.11.2",
"resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.2.tgz",
"integrity": "sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==",
"license": "MIT",
"optional": true,
"dependencies": {
"tslib": "^2.4.0"
}
},
"node_modules/@oxc-transform/binding-win32-arm64-msvc": {
"version": "0.141.0",
"resolved": "https://registry.npmjs.org/@oxc-transform/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.141.0.tgz",

View File

@@ -27,6 +27,8 @@
"vue-router": "^5.2.0"
},
"devDependencies": {
"@iconify-json/fa7-brands": "^1.2.4",
"@iconify-json/ph": "^1.2.2",
"@pretendonetwork/eslint-config": "^0.1.4",
"eslint-plugin-vue": "^10.0.0",
"sass-embedded": "^1.86.3"

View File

@@ -211,7 +211,7 @@ onMounted(() => {
aria-label="A link to our Discord server"
>
<Icon
name="ph:discord-logo-fill"
name="fa7-brands:discord"
size="32"
mode="svg"
/>
@@ -222,7 +222,7 @@ onMounted(() => {
aria-label="A link to our Twitter account"
>
<Icon
name="ph:twitter-logo-fill"
name="fa7-brands:twitter"
size="32"
mode="svg"
/>
@@ -233,7 +233,7 @@ onMounted(() => {
aria-label="A link to our GitHub organization"
>
<Icon
name="ph:github-logo-fill"
name="fa7-brands:github"
size="32"
mode="svg"
/>
@@ -351,7 +351,7 @@ onMounted(() => {
aria-label="A link to our Discord server"
>
<Icon
name="ph:discord-logo-fill"
name="fa7-brands:discord"
size="32"
mode="svg"
/>
@@ -362,7 +362,7 @@ onMounted(() => {
aria-label="A link to our Twitter account"
>
<Icon
name="ph:twitter-logo-fill"
name="fa7-brands:twitter"
size="32"
mode="svg"
/>
@@ -373,7 +373,7 @@ onMounted(() => {
aria-label="A link to our GitHub organization"
>
<Icon
name="ph:github-logo-fill"
name="fa7-brands:github"
size="32"
mode="svg"
/>

View File

@@ -61,7 +61,7 @@ function titleSuffixHandler(path: string) {
focusable="false"
>
<Icon
name="ph:discord-logo-fill"
name="fa7-brands:discord"
size="32"
/>
</button>
@@ -77,7 +77,7 @@ function titleSuffixHandler(path: string) {
focusable="false"
>
<Icon
name="ph:github-logo-fill"
name="fa7-brands:github"
size="32"
/>
</button>
@@ -275,7 +275,7 @@ function titleSuffixHandler(path: string) {
aria-label="Open Github"
>
<Icon
name="fa:github"
name="fa7-brands:github"
size="24"
/>
</a>