diff --git a/.vscode/settings.json b/.vscode/settings.json
index a5f8536..fada709 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -2,6 +2,7 @@
"cSpell.words": [
"alipay",
"autocorrect",
+ "bilibili",
"frontmatter",
"Frontmatters",
"giscus",
diff --git a/components/utils/SocialIcons.tsx b/components/utils/SocialIcons.tsx
index 6812c73..b9f7c3a 100644
--- a/components/utils/SocialIcons.tsx
+++ b/components/utils/SocialIcons.tsx
@@ -1,11 +1,19 @@
import { Config } from "@/data/config";
import Link from "next/link";
import { FiGithub, FiInstagram, FiMail, FiTwitter } from "react-icons/fi";
-import { TbBrandFacebook, TbBrandLinkedin, TbBrandMastodon } from "react-icons/tb";
+import {
+ TbBrandBilibili,
+ TbBrandFacebook,
+ TbBrandLinkedin,
+ TbBrandMastodon,
+ TbBrandReddit,
+ TbBrandTelegram,
+ TbBrandYoutube,
+} from "react-icons/tb";
export const SocialIcons = () => {
return (
-
+
{Config.SocialLinks.twitter && (
@@ -16,21 +24,46 @@ export const SocialIcons = () => {
)}
+ {Config.SocialLinks.bilibili && (
+
+
+
+ )}
+ {Config.SocialLinks.reddit && (
+
+
+
+ )}
+ {Config.SocialLinks.youtube && (
+
+
+
+ )}
{Config.SocialLinks.instagram && (
)}
{Config.SocialLinks.facebook && (
-
+
)}
{Config.SocialLinks.linkedin && (
-
+
)}
+ {Config.SocialLinks.youtube && (
+
+
+
+ )}
+ {Config.SocialLinks.telegram && (
+
+
+
+ )}
{Config.SocialLinks.github && (
diff --git a/data/config.ts b/data/config.ts
index f48f362..07d8744 100644
--- a/data/config.ts
+++ b/data/config.ts
@@ -23,10 +23,16 @@ export const Config: TConfig = {
SocialLinks: {
twitter: "example", // Twitter ID
instagram: "example", // Instagram ID
+ linkedin: "example", // Linkedin ID
github: "example", // Github ID
facebook: "example", // Facebook ID
- linkedin: "example", // Linkedin ID
- mastodon: "https://mas.to/@example", // Mastodon link
+
+ // Add more platform IDs here.
+ // youtube: "example", // Channel ID
+ // reddit:"example", // Reddit ID
+ // bilibili:"123456", // Bilibili Number ID
+ // telegram: "example", // Telegram ID
+ // mastodon: "https://mas.to/@example", // Mastodon link
email: "me@example.com", // Email address, required.
},
diff --git a/types/config.type.ts b/types/config.type.ts
index b41b998..352f200 100644
--- a/types/config.type.ts
+++ b/types/config.type.ts
@@ -12,11 +12,15 @@ export type TConfig = {
SocialLinks: {
twitter?: string;
+ bilibili?: string;
+ reddit?: string;
facebook?: string;
instagram?: string;
github?: string;
mastodon?: string;
linkedin?: string;
+ youtube?: string;
+ telegram?: string;
email: string;
};