Configurable link in bio starter kit easily deployed with Deno Deploy.
at main 40 lines 691 B view raw
1export interface Link { 2 title: string; 3 description: string; 4 href: string; 5 image?: string | null; 6 featured?: boolean; 7 cardBgColor?: string; 8 cardBorder?: string; 9} 10 11export interface Section { 12 title?: string; 13 links: Link[]; 14} 15 16export interface Config { 17 site: { 18 title: string; 19 description: string; 20 }; 21 theme: { 22 gradientFrom: string; 23 gradientVia: string; 24 gradientTo: string; 25 defaultCardBgColor: string; 26 defaultCardBorder: string; 27 textColor: string; 28 }; 29 images: { 30 banner: string; 31 profile: string; 32 background: string; 33 }; 34 sections: Section[]; 35 footer: { 36 text: string; 37 linkText: string; 38 textColor: string; 39 }; 40}