feat(SPA): screens for Sites and Authors
This commit is contained in:
1 parent
b34a173d83
commit
3d81d2c717
82 files changed
+10676
-37
No files matched your search
@@ -0,0 +1,18 @@
|
||||
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',
|
||||
}
|
||||
Reference in new issue
Block a user