diff options
-rw-r--r-- | src/util/external-links.js | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/src/util/external-links.js b/src/util/external-links.js index d5c27ab6..512ac165 100644 --- a/src/util/external-links.js +++ b/src/util/external-links.js @@ -290,33 +290,6 @@ export const externalLinkSpec = [ }, { - match: {domain: '.itch.io'}, - - platform: 'itch', - handle: {domain: /^[^.]*/}, - - icon: 'itch', - }, - - { - match: {domain: 'itch.io'}, - - platform: 'itch', - handle: {pathname: /^profile\/(.+)\/?$/}, - - icon: 'itch', - }, - - { - match: {domain: 'ko-fi.com'}, - - platform: 'kofi', - handle: {pathname: /^(.+)\/?/}, - - icon: 'kofi', - }, - - { match: {domain: 'mspaintadventures.fandom.com'}, platform: 'fandom.mspaintadventures', @@ -356,24 +329,42 @@ export const externalLinkSpec = [ }, { - match: {domain: 'hsmusic.wiki'}, - platform: 'local', - icon: 'globe', - }, - - { match: {domain: 'instagram.com'}, platform: 'instagram', icon: 'instagram', }, { - match: {domain: 'tiktok.com'}, + match: {domain: '.itch.io'}, - platform: 'tiktok', - handle: {pathname: /^@?([a-zA-Z0-9_]*)\/?$/}, + platform: 'itch', + handle: {domain: /^[^.]*/}, - icon: 'tiktok', + icon: 'itch', + }, + + { + match: {domain: 'itch.io'}, + + platform: 'itch', + handle: {pathname: /^profile\/(.+)\/?$/}, + + icon: 'itch', + }, + + { + match: {domain: 'ko-fi.com'}, + + platform: 'kofi', + handle: {pathname: /^(.+)\/?/}, + + icon: 'kofi', + }, + + { + match: {domain: 'hsmusic.wiki'}, + platform: 'local', + icon: 'globe', }, { @@ -447,6 +438,15 @@ export const externalLinkSpec = [ }, { + match: {domain: 'tiktok.com'}, + + platform: 'tiktok', + handle: {pathname: /^@?([a-zA-Z0-9_]*)\/?$/}, + + icon: 'tiktok', + }, + + { match: {domain: '.tumblr.com'}, platform: 'tumblr', |