TypeScript types zijn compleet
This commit is contained in:
@@ -62,3 +62,48 @@ export interface ManifestoContent {
|
|||||||
cta: CTAContent
|
cta: CTAContent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Navigation Content Types
|
||||||
|
export interface NavigationLink {
|
||||||
|
label: string
|
||||||
|
href: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface NavigationContent {
|
||||||
|
logo: string
|
||||||
|
links: NavigationLink[]
|
||||||
|
}
|
||||||
|
|
||||||
|
// Metadata Content Types
|
||||||
|
export interface ManifestoMetadata {
|
||||||
|
title: string
|
||||||
|
description: string
|
||||||
|
ogTitle: string
|
||||||
|
ogDescription: string
|
||||||
|
ogImage: string
|
||||||
|
keywords: string[]
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface MetadataContent {
|
||||||
|
manifesto: ManifestoMetadata
|
||||||
|
}
|
||||||
|
|
||||||
|
// Common Content Types
|
||||||
|
export interface CommonButtons {
|
||||||
|
readMore: string
|
||||||
|
scrollDown: string
|
||||||
|
followProgress: string
|
||||||
|
viewDemo: string
|
||||||
|
contact: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CommonLabels {
|
||||||
|
readingTime: string
|
||||||
|
lastUpdated: string
|
||||||
|
share: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface CommonContent {
|
||||||
|
buttons: CommonButtons
|
||||||
|
labels: CommonLabels
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user