From c52fb92c0103d73131ea2b31c669d3ef8d19e587 Mon Sep 17 00:00:00 2001 From: Ivan Kuzmenko <6745157+rndtrash@users.noreply.github.com> Date: Thu, 13 Nov 2025 03:51:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA=D1=83=20=D1=81?= =?UTF-8?q?=D1=81=D1=8B=D0=BB=D0=BE=D0=BA=20=D0=BD=D0=B0=20Steam?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/util/LinkResolver.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/util/LinkResolver.ts b/src/lib/util/LinkResolver.ts index 9ada1da..274e454 100644 --- a/src/lib/util/LinkResolver.ts +++ b/src/lib/util/LinkResolver.ts @@ -2,6 +2,7 @@ const icons: Record = { 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> = { // Игнорируем имя пользователя '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 {