infinity-forge
Version:
96 lines (95 loc) • 2.54 kB
TypeScript
import { FileSystemType } from '../../../../ui/utils/index.js';
export type ConfigurationsAdminType = {
i18n?: boolean;
logo: FileSystemType[];
favicon: FileSystemType[];
pageTitle: string;
bgLogin: string;
bgHeader: string;
vacancys?: boolean;
backgroundLoginLeft?: FileSystemType[];
};
export type ConfigurationsSiteType = {
metaTitle: string;
metaDescription: string;
metaImage: string;
facebook: string;
instagram: string;
twitter: string;
whatsapp: string;
whatsappFixo: boolean;
whatsappMessage: string;
email: string;
pinterest: string;
linkedin: string;
youtube: string;
tiktok: string;
phone: string;
logoHeader: FileSystemType[];
logoFooter: FileSystemType[];
googleUA: string;
googleMapsApiKey?: string;
googleGA: string;
googleGTM: string;
facebookPixel: string;
intagramFeedToken: string;
facebookDomainVerification: string;
};
export declare function useSiteConfig(): {
configurations: {
whatsappUrl: string;
metaTitle?: string;
metaDescription?: string;
metaImage?: string;
facebook?: string;
instagram?: string;
twitter?: string;
whatsapp?: string;
whatsappFixo?: boolean;
whatsappMessage?: string;
email?: string;
pinterest?: string;
linkedin?: string;
youtube?: string;
tiktok?: string;
phone?: string;
logoHeader?: FileSystemType[];
logoFooter?: FileSystemType[];
googleUA?: string;
googleMapsApiKey?: string;
googleGA?: string;
googleGTM?: string;
facebookPixel?: string;
intagramFeedToken?: string;
facebookDomainVerification?: string;
};
id?: string;
enabled?: boolean;
ref?: string;
videoUrl?: string;
linkUrl?: string;
jsonContent?: Partial<ConfigurationsSiteType>;
images?: FileSystemType[];
linkFull?: {
text?: string;
url?: string;
svg?: import("../../../index.js").IconsNames | undefined;
target?: "_blank" | "_self";
};
title?: string;
subtitle?: string;
description?: string;
linkText?: string;
linkSvg?: string;
linkTarget?: string;
availableLanguages?: Array<{
symbol: string;
id: string;
image: any[];
main: boolean;
}>;
Section(props: {
children?: React.ReactNode;
onSucess?: () => void;
}): React.ReactNode;
};