Skip to content

Commit ab0d1a9

Browse files
nikoshellegeakman
andauthored
Add extra social handles (#1452)
Fix #1328 <img width="456" height="472" alt="image" src="https://github.com/user-attachments/assets/6899d28d-c7c7-4739-a630-bccf1c3d5677" /> Co-authored-by: Ege Akman <[email protected]>
1 parent 09c1753 commit ab0d1a9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/components/SocialLinks.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const socialMap = {
1818
discord: { icon: "discord", label: "Discord", color: "#5865f2" },
1919
facebook: { icon: "facebook", label: "Facebook", color: "#1877f2" },
2020
youtube: { icon: "youtube", label: "YouTube", color: "#ff0000" },
21+
tiktok: { icon: "tiktok", label: "TikTok", color: "#000000" },
2122
};
2223
---
2324

src/content/config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ const speakers = defineCollection({
108108
mastodon_url: z.string().url().nullable(),
109109
bluesky_url: z.string().url().nullable().optional(),
110110
twitter_url: z.string().url().nullable(),
111+
discord: z.string().url().nullable().optional(),
112+
tiktok: z.string().url().nullable().optional(),
111113
}),
112114
});
113115

@@ -224,6 +226,7 @@ const sponsors = defineCollection({
224226
discord: z.string().url().optional().nullable(),
225227
facebook: z.string().url().optional().nullable(),
226228
youtube: z.string().url().optional().nullable(),
229+
tiktok: z.string().url().optional().nullable(),
227230
})
228231
.optional(),
229232
event_name: z.string().optional().nullable(),

0 commit comments

Comments
 (0)