mirror of
https://github.com/DerTyp7/f1r3wave-website.git
synced 2025-10-30 05:27:09 +01:00
first commit
This commit is contained in:
36
src/interfaces/config.ts
Normal file
36
src/interfaces/config.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
export interface HomeConfig {
|
||||
headline: string;
|
||||
text: string;
|
||||
buttonText: string;
|
||||
}
|
||||
|
||||
export interface ContactLink {
|
||||
url: string;
|
||||
hoverColor: string;
|
||||
image: {
|
||||
src: string;
|
||||
alt: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ContactConfig {
|
||||
headline: string;
|
||||
links: ContactLink[];
|
||||
imprint: {
|
||||
enable: boolean;
|
||||
headline: string;
|
||||
name: string;
|
||||
address: string;
|
||||
country: string;
|
||||
email: string;
|
||||
}
|
||||
}
|
||||
|
||||
export interface AppConfig {
|
||||
home: HomeConfig;
|
||||
contact: ContactConfig;
|
||||
}
|
||||
|
||||
export interface ConfigContextType {
|
||||
config: AppConfig | null;
|
||||
}
|
||||
Reference in New Issue
Block a user