[profile] add more links providers

This commit is contained in:
Avris 2021-09-05 17:59:10 +02:00
parent 142f3da4c5
commit 268da78f3a
1 changed files with 21 additions and 0 deletions

View File

@ -46,10 +46,31 @@ const LINK_PROVIDERS = {
homepage: 'https://cake.avris.it',
name: 'Attraction Layer Cake',
},
spectrum: {
regex: '^https://spectrum.avris.it/([A-Za-z0-9]{4})$',
icon: 'https://spectrum.avris.it/favicon.png',
},
orcid: {
regex: '^https?://(?:www.)?orcid.org/([^/]+)',
icon: 'https://orcid.org/assets/icons/favicon.ico',
},
kofi: {
regex: '^https?://(?:www.)?ko-fi.com/([^/]+)',
icon: 'https://ko-fi.com/favicon.png',
},
linktree: {
regex: '^https?://(?:www.)?linktr.ee/([^/]+)',
icon: 'https://linktr.ee/static/favicon.ico',
},
blogger: {
regex: '^https?://([^/]+).(?:blogger|blogspot).com',
icon: 'https://www.blogger.com/about/favicon/favicon.ico',
},
twitch: {
regex: '^https?://(?:www.)?twitch.tv/([^/]+)',
icon: 'twitch',
iconSet: 'b',
},
};
export default {