forked from UKSOURCE/ipv6
init
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
export interface HeaderLogo {
|
||||
image: string;
|
||||
href: string;
|
||||
}
|
||||
|
||||
export interface HeaderButton {
|
||||
label: string;
|
||||
href: string;
|
||||
}
|
||||
|
||||
export interface HeaderMenuItem {
|
||||
id: string;
|
||||
title: string;
|
||||
url: string;
|
||||
type: 'internal' | 'external';
|
||||
status: 'active' | 'inactive';
|
||||
children: HeaderMenuItem[];
|
||||
}
|
||||
|
||||
export interface HeaderData {
|
||||
logo: HeaderLogo;
|
||||
signInButton: HeaderButton;
|
||||
ctaButton: HeaderButton;
|
||||
status: 'active' | 'inactive';
|
||||
}
|
||||
|
||||
export interface NavLink {
|
||||
label: string;
|
||||
href: string;
|
||||
status?: 'active' | 'inactive';
|
||||
children?: { label: string; href: string; status?: 'active' | 'inactive' }[];
|
||||
}
|
||||
|
||||
export interface HeaderProps {
|
||||
logo: HeaderLogo;
|
||||
navLinks: NavLink[];
|
||||
actions: {
|
||||
signIn: HeaderButton;
|
||||
cta: HeaderButton;
|
||||
};
|
||||
status: 'active' | 'inactive';
|
||||
}
|
||||
Reference in New Issue
Block a user