import { TImageUrls, TImageWithLink } from "./Image";

export interface TInfo {
    slogan: string;
    description: string;
    logo: string | number;
    social_media: TSocialMedia[];
    logo_urls: TImageUrls;
    logo_image_preview: string;
    logo_alt_text: string | null;
}
export interface TCustomerService {
    title: string;
    links: { label: string; link: string }[];
}
export interface TContactUs {
    title: string;
    list: {
        icon: string;
        label: string;
        link: string;
    }[];
}
export interface TAboutUs {
    title: string;
    links: {
        label: string;
        link: string;
    }[];
}
export interface TNewsletter {
    title: string;
    text_1: string;
    text_2: string;
    placeholder_input: string;
    button_label: string;
}

export type TSocialMedia = TImageWithLink;

export interface TContent {
    type:
        | "info"
        | "section_customer_service"
        | "section_contact_us"
        | "section_about_us"
        | "section_newsletter";
    data: TInfo | TCustomerService | TContactUs | TAboutUs | TNewsletter;
}

export interface TFooterSections {
    info: TInfo;
    customerService: TCustomerService;
    contactUs: TContactUs;
    aboutUs: TAboutUs;
    newsletter: TNewsletter;
}
