From 3fcacaf39a78ad1c6c86a0ae126bdb6e388cb704 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Mar 2024 14:18:29 -0300 Subject: external-links: Toyhouse --- src/static/icons.svg | 12 ++++++++++-- src/strings-default.yaml | 1 + src/util/external-links.js | 11 ++++++++++- 3 files changed, 21 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/static/icons.svg b/src/static/icons.svg index 8125d935..ff8bdc80 100644 --- a/src/static/icons.svg +++ b/src/static/icons.svg @@ -21,10 +21,18 @@ + + + + + + - - + + + + diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 5df10500..8cf3a734 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -555,6 +555,7 @@ misc: soundcloud: "SoundCloud" spotify: "Spotify" tiktok: "TikTok" + toyhouse: "Toyhouse" tumblr: "Tumblr" twitch: "Twitch" twitter: "Twitter" diff --git a/src/util/external-links.js b/src/util/external-links.js index 88d85d92..3b779afc 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -555,6 +555,15 @@ export const externalLinkSpec = [ icon: 'tiktok', }, + { + match: {domain: 'toyhou.se'}, + + platform: 'toyhouse', + handle: {pathname: /^([^/]+)\/?$/}, + + icon: 'toyhouse', + }, + { match: {domain: '.tumblr.com'}, @@ -568,7 +577,7 @@ export const externalLinkSpec = [ match: {domain: 'tumblr.com'}, platform: 'tumblr', - handle: {pathname: /^[^/]+\/?$/}, + handle: {pathname: /^([^/]+)\/?$/}, icon: 'tumblr', }, -- cgit 1.3.0-6-gf8a5