From 2a2da579eea65cde8dc5ba52421ae0822c729eab Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 30 Mar 2024 13:08:27 -0300 Subject: external-links: Linktree --- src/static/icons.svg | 1 + src/strings-default.yaml | 1 + src/util/external-links.js | 9 +++++++++ 3 files changed, 11 insertions(+) (limited to 'src') diff --git a/src/static/icons.svg b/src/static/icons.svg index 0a80a917..3e90e6b0 100644 --- a/src/static/icons.svg +++ b/src/static/icons.svg @@ -14,6 +14,7 @@ + diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 3c38f2f8..be747f8f 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -544,6 +544,7 @@ misc: internetArchive: "Internet Archive" itch: "itch.io" kofi: "Ko-fi" + linktree: "Linktree" mastodon: "Mastodon" neocities: "Neocities" newgrounds: "Newgrounds" diff --git a/src/util/external-links.js b/src/util/external-links.js index a76c1e95..5df4f7d1 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -442,6 +442,15 @@ export const externalLinkSpec = [ icon: 'kofi', }, + { + match: {domain: 'linktr.ee'}, + + platform: 'linktree', + handle: {pathname: /^([^/]+)\/?$/}, + + icon: 'linktree', + }, + { match: {domains: ['types.pl']}, -- cgit 1.3.0-6-gf8a5