From d669d0e8c7c4bc98f4c93de6cf29bb570e0f75e2 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 24 Jul 2024 08:38:19 -0300 Subject: external-links: Steam --- src/static/misc/icons.svg | 1 + src/strings-default.yaml | 1 + src/util/external-links.js | 6 ++++++ 3 files changed, 8 insertions(+) (limited to 'src') diff --git a/src/static/misc/icons.svg b/src/static/misc/icons.svg index 8c9a80a9..0c2cf3e9 100644 --- a/src/static/misc/icons.svg +++ b/src/static/misc/icons.svg @@ -35,6 +35,7 @@ + diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 045f0f60..f2d81f2c 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -628,6 +628,7 @@ misc: poetryFoundation: "Poetry Foundation" soundcloud: "SoundCloud" spotify: "Spotify" + steam: "Steam" tiktok: "TikTok" toyhouse: "Toyhouse" tumblr: "Tumblr" diff --git a/src/util/external-links.js b/src/util/external-links.js index a616efb3..f84b5c15 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -558,6 +558,12 @@ export const externalLinkSpec = [ icon: 'spotify', }, + { + match: {domains: ['store.steampowered.com', 'steamcommunity.com']}, + platform: 'steam', + icon: 'steam', + }, + { match: {domain: 'tiktok.com'}, -- cgit 1.3.0-6-gf8a5