IConfig.ts
1import type { Timezones, Pronouns } from '@/types/Config'
2import type { IconName } from '@/components/dynamic-icon'
3
4export interface IConfig {
5 name: string
6 pronouns: Pronouns
7 email: string
8 titles: string[]
9 socials?: ISocials[]
10 location: string
11 avatar: string
12 timezone: Timezones
13 url: string
14 links?: ILink[]
15 skills?: ISkill[]
16 header?: IHeader[]
17}
18
19export interface IHeader {
20 name: string
21 href: string
22 dropdown?: {
23 name: string
24 href: string
25 }[]
26}
27
28export interface ISocials {
29 name: string
30 url: string
31 iconName?: IconName
32 color?: string
33}
34
35export interface ILink {
36 name: string
37 url: string
38 iconName?: IconName
39 color?: string
40}
41
42export interface ISkill {
43 name: string
44 iconName?: IconName
45 level: number
46 description: string
47 color: string
48}
49