tangled
alpha
login
or
join now
flo-bit.dev
/
blento
your personal website on atproto - mirror
blento.app
20
fork
atom
overview
issues
pulls
pipelines
add ao3 icon
Florian
3 weeks ago
d6e65ce6
21d6d58d
+7
-2
1 changed file
expand all
collapse all
unified
split
src
lib
cards
BigSocialCard
index.ts
+7
-2
src/lib/cards/BigSocialCard/index.ts
···
70
siSignal,
71
siWechat,
72
siLine,
0
73
type SimpleIcon
74
} from 'simple-icons';
75
···
122
signal: /(?:signal\.org|signal\.me)/i,
123
wechat: /(?:wechat\.com|weixin\.qq\.com)/i,
124
line: /(?:line\.me)/i,
125
-
skype: /(?:skype\.com)/i
0
0
126
};
127
128
export const platformsData: Record<string, SimpleIcon> = {
···
170
// chat / messaging
171
signal: siSignal,
172
wechat: siWechat,
173
-
line: siLine
0
0
174
};
175
176
export function detectPlatform(url: string): string | null {
···
70
siSignal,
71
siWechat,
72
siLine,
73
+
siArchiveofourown,
74
type SimpleIcon
75
} from 'simple-icons';
76
···
123
signal: /(?:signal\.org|signal\.me)/i,
124
wechat: /(?:wechat\.com|weixin\.qq\.com)/i,
125
line: /(?:line\.me)/i,
126
+
skype: /(?:skype\.com)/i,
127
+
128
+
ao3: /(?:archiveofourown\.org)/i
129
};
130
131
export const platformsData: Record<string, SimpleIcon> = {
···
173
// chat / messaging
174
signal: siSignal,
175
wechat: siWechat,
176
+
line: siLine,
177
+
178
+
ao3: siArchiveofourown
179
};
180
181
export function detectPlatform(url: string): string | null {