События и первый конкурс #6
1 changed files with 4 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
const icons: Record<string, string> = {
|
const icons: Record<string, string> = {
|
||||||
none: 'material-symbols:link',
|
none: 'material-symbols:link',
|
||||||
'steamcommunity.com': 'simple-icons:steam',
|
'steamcommunity.com': 'simple-icons:steam',
|
||||||
|
'steampowered.com': 'simple-icons:steam',
|
||||||
'twitter.com': 'simple-icons:x',
|
'twitter.com': 'simple-icons:x',
|
||||||
'x.com': 'simple-icons:x',
|
'x.com': 'simple-icons:x',
|
||||||
'github.com': 'simple-icons:github',
|
'github.com': 'simple-icons:github',
|
||||||
|
|
@ -44,7 +45,9 @@ const specialResolvers: Record<string, (url: URL) => string> = {
|
||||||
// Игнорируем имя пользователя
|
// Игнорируем имя пользователя
|
||||||
'bsky.app': (url) => 'bsky.app',
|
'bsky.app': (url) => 'bsky.app',
|
||||||
'bsky.social': (url) => 'bsky.social',
|
'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 {
|
function getIconFromUrl(url: URL): string | undefined {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue