Replies: 1 comment 3 replies
-
|
We could add some pre-built icons for the most common platforms but the goal is not to be exhaustive and I doubt WordPress or Blogger are worth adding. We made the system extensible so that you can register your own custom icons through swizzle Just add your label/icon there:
const SocialPlatformConfigs: Record<string, SocialPlatformConfig> = {
twitter: {Icon: Twitter, label: 'Twitter'},
github: {Icon: GitHub, label: 'GitHub'},
stackoverflow: {Icon: StackOverflow, label: 'Stack Overflow'},
linkedin: {Icon: LinkedIn, label: 'LinkedIn'},
x: {Icon: X, label: 'X'},
}; |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I did some tests with the new socials in the
authors.ymland they seem pretty nice.For now I identified only x, github and linkedin with specific icons, the rest are rendered with a generic globe icon.
Would you agree to add a new icon for WordPress links? Possibly Blogger? Possibly other blog solutions?
Beta Was this translation helpful? Give feedback.
All reactions