19 lines
526 B
TypeScript
19 lines
526 B
TypeScript
export const SOCIAL_TYPES = ['x', 'linkedin', 'github', 'mastodon', 'custom'] as const
|
|
export type SocialType = (typeof SOCIAL_TYPES)[number]
|
|
|
|
export const MAX_SOCIAL_LINKS = 5
|
|
|
|
export interface SocialLinkRow {
|
|
key: number
|
|
type: SocialType
|
|
url: string
|
|
}
|
|
|
|
export const SOCIAL_PLACEHOLDERS: Record<SocialType, string> = {
|
|
x: 'https://x.com/username',
|
|
linkedin: 'https://www.linkedin.com/in/username',
|
|
github: 'https://github.com/username',
|
|
mastodon: 'https://mastodon.social/@username',
|
|
custom: 'https://example.com',
|
|
}
|