convexsol_stage/interfaces/footer.interface.ts
2025-12-02 11:02:00 +05:30

39 lines
1.2 KiB
TypeScript

export interface ContactSectionInterface {
title: string;
subTitle: string;
retentionData: { value: string; label: string }[];
avatar: { data: { attributes: { url: string; alternativeText: string; width?: number; height?: number } }[] };
}
export interface AddressInterface {
contactMedia?: string;
location?: string;
details: string;
logo: { data: { attributes: { url: string } } };
}
export interface FooterPageApiInterface {
contact: ContactSectionInterface;
address: AddressInterface[];
}
interface LogoImageDataInterface {
data: { attributes: { url: string; alternativeText: string; width?: number; height?: number } };
}
export interface FooterMainApiDataInterface {
logo: LogoImageDataInterface;
description: string;
locationTitle: string;
addresses: { image: LogoImageDataInterface; location: string; address: string }[];
callTitle: string;
phoneNumber: { contact: string }[];
emailTitle: string;
email: { contact: string }[];
socialTitle: string;
social: { link: string; icon: LogoImageDataInterface }[];
copyRightTxt: string;
policy: { link: string; title: string }[];
footerLink: { title: string; children: { link: string; title: string }[] }[];
}