Add simple-icons to handle brand logos

This commit is contained in:
TheThomaas 2025-05-01 19:24:18 +02:00
parent 92bc04f148
commit 0532d57efb
9 changed files with 27 additions and 9 deletions

View file

@ -30,7 +30,10 @@ export default async function (eleventyConfig) {
eleventyConfig.addPlugin(eleventyPDF);
eleventyConfig.addPlugin(pluginIcons, {
sources: [{ name: 'lucide', path: 'node_modules/lucide-static/icons', default: true }]
sources: [
{ name: 'lucide', path: 'node_modules/lucide-static/icons', default: true },
{ name: 'simple-icons', path: 'node_modules/simple-icons/icons', default: false }
]
});
eleventyConfig.addBundle("css");

16
package-lock.json generated
View file

@ -13,7 +13,8 @@
"eleventy-plugin-icons": "^4.5.3",
"lucide-static": "^0.503.0",
"nanoid": "^5.1.5",
"puppeteer-html-pdf": "^4.0.8"
"puppeteer-html-pdf": "^4.0.8",
"simple-icons": "^14.12.3"
}
},
"node_modules/@11ty/dependency-tree": {
@ -2996,6 +2997,19 @@
"node": ">=8"
}
},
"node_modules/simple-icons": {
"version": "14.12.3",
"resolved": "https://registry.npmjs.org/simple-icons/-/simple-icons-14.12.3.tgz",
"integrity": "sha512-P85Pqak4picfTzdujmGL7+pFfsd32K/tDjHPQ8vvJcr2Xk380A9kBVIW5QH86qWqa+YJgFa5huLcUuwmW+YBPQ==",
"dev": true,
"engines": {
"node": ">=0.12.18"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/simple-icons"
}
},
"node_modules/slash": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",

View file

@ -16,6 +16,7 @@
"eleventy-plugin-icons": "^4.5.3",
"lucide-static": "^0.503.0",
"nanoid": "^5.1.5",
"puppeteer-html-pdf": "^4.0.8"
"puppeteer-html-pdf": "^4.0.8",
"simple-icons": "^14.12.3"
}
}

View file

@ -22,7 +22,7 @@
"socials": [
{
"title": "Mon Github",
"icon": "github",
"icon": "simple-icons:github",
"link": "https://github.com/TheThomaas"
}
]

View file

@ -4,5 +4,5 @@ description: Un jeu fait pour les Portes Ouvertes 2020
links:
- title: Voir sur Github
link: https://github.com
icon: github
icon: simple-icons:github
---

View file

@ -4,5 +4,5 @@ description: Un "Qui est-ce ?" fait en Python et avec des LEGO Mindstorms
links:
- title: Voir sur Github
link: https://github.com
icon: github
icon: simple-icons:github
---

View file

@ -7,5 +7,5 @@ links:
icon: link
- title: Voir sur Github
link: https://github.com
icon: github
icon: simple-icons:github
---

View file

@ -7,5 +7,5 @@ links:
icon: link
- title: Voir sur Github
link: https://github.com
icon: github
icon: simple-icons:github
---

View file

@ -5,5 +5,5 @@ background: rgb(255, 143, 143)
links:
- title: Voir sur Github
link: https://github.com
icon: github
icon: simple-icons:github
---