mirror of
https://github.com/RSSNext/Folo.git
synced 2026-10-17 05:08:13 +08:00
chore(desktop): remove a duplicate of the profile modal constants
user-profile-modal.constants.ts is an identical copy of user-profile-modal/constants.ts and nothing imports it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
// Social platform icons mapping
|
||||
export const socialIconClassNames = {
|
||||
twitter: "i-mgc-twitter-cute-fi duration-200 group-hover:text-[#1DA1F2]",
|
||||
github: "i-mgc-github-cute-fi duration-200 group-hover:text-[#181717] group-hover:dark:invert",
|
||||
instagram: "i-mingcute-ins-fill duration-200 group-hover:text-[#C13584]",
|
||||
facebook: "i-mingcute-facebook-fill duration-200 group-hover:text-[#1877F2]",
|
||||
youtube: "i-mgc-youtube-cute-fi duration-200 group-hover:text-[#FF0000]",
|
||||
discord: "i-mingcute-discord-fill duration-200 group-hover:text-[#5865F2]",
|
||||
}
|
||||
|
||||
export const socialCopyMap = {
|
||||
twitter: "Twitter",
|
||||
github: "GitHub",
|
||||
instagram: "Instagram",
|
||||
facebook: "Facebook",
|
||||
youtube: "YouTube",
|
||||
discord: "Discord",
|
||||
}
|
||||
|
||||
export const getSocialLink = (platform: keyof typeof socialIconClassNames, id: string) => {
|
||||
switch (platform) {
|
||||
case "twitter": {
|
||||
return `https://twitter.com/${id}`
|
||||
}
|
||||
case "github": {
|
||||
return `https://github.com/${id}`
|
||||
}
|
||||
case "instagram": {
|
||||
return `https://instagram.com/${id}`
|
||||
}
|
||||
case "facebook": {
|
||||
return `https://facebook.com/${id}`
|
||||
}
|
||||
case "youtube": {
|
||||
return `https://youtube.com/${id}`
|
||||
}
|
||||
case "discord": {
|
||||
return `https://discord.com/${id}`
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user