События и первый конкурс #6

Merged
rndtrash merged 19 commits from feature/events into master 2025-11-26 11:46:26 +03:00
Showing only changes of commit c52fb92c01 - Show all commits

View file

@ -2,6 +2,7 @@
const icons: Record<string, string> = {
none: 'material-symbols:link',
'steamcommunity.com': 'simple-icons:steam',
'steampowered.com': 'simple-icons:steam',
'twitter.com': 'simple-icons:x',
'x.com': 'simple-icons:x',
'github.com': 'simple-icons:github',
@ -44,7 +45,9 @@ const specialResolvers: Record<string, (url: URL) => string> = {
// Игнорируем имя пользователя
'bsky.app': (url) => 'bsky.app',
'bsky.social': (url) => 'bsky.social',
'itch.io': (url) => 'itch.io'
'itch.io': (url) => 'itch.io',
'steamcommunity.com': (url) => 'steamcommunity.com',
'steampowered.com': (url) => 'steampowered.com',
}
function getIconFromUrl(url: URL): string | undefined {