feat: More icons and custom highlighter languages #35
|
@ -19,15 +19,22 @@
|
||||||
|
|
||||||
import metadata from '$content/metadata.json';
|
import metadata from '$content/metadata.json';
|
||||||
const iconMap: Map<string, string> = {
|
const iconMap: Map<string, string> = {
|
||||||
"bitbucket": "fa-brands fa-bitbucket",
|
"orcid": "fa-brands fa-orcid",
|
||||||
|
"google-scholar": "fa-brands fa-google-scholar",
|
||||||
|
|
||||||
"discord": "fa-brands fa-discord",
|
"discord": "fa-brands fa-discord",
|
||||||
"email": "fa-solid fa-envelope",
|
"email": "fa-solid fa-envelope",
|
||||||
|
|
||||||
|
"bitbucket": "fa-brands fa-bitbucket",
|
||||||
"github": "fa-brands fa-github",
|
"github": "fa-brands fa-github",
|
||||||
"gitlab": "fa-brands fa-gitlab",
|
"gitlab": "fa-brands fa-gitlab",
|
||||||
"google-scholar": "fa-brands fa-google-scholar",
|
|
||||||
"instagram": "fa-brands fa-instagram",
|
|
||||||
"open-source": "fa-brands fa-osi",
|
"open-source": "fa-brands fa-osi",
|
||||||
"orcid": "fa-brands fa-orcid",
|
|
||||||
|
"bluesky": "fa-brands fa-bluesky",
|
||||||
|
"youtube": "fa-brands fa-youtube",
|
||||||
|
"instagram": "fa-brands fa-instagram",
|
||||||
|
"bandcamp": "fa-brands fa-bandcamp",
|
||||||
|
"pixiv": "fa-brands fa-pixiv",
|
||||||
};
|
};
|
||||||
const iconLinks: [string, string][] = Object.entries(metadata.links).map(
|
const iconLinks: [string, string][] = Object.entries(metadata.links).map(
|
||||||
([key, link]) => [iconMap[key], link]);
|
([key, link]) => [iconMap[key], link]);
|
||||||
|
|
Loading…
Reference in New Issue