fix(types): add site_info and pages properties to SiteConfig interface
This commit is contained in:
@@ -63,17 +63,27 @@ export interface SiteConfig {
|
||||
animation?: string;
|
||||
}>;
|
||||
};
|
||||
contact: {
|
||||
title: string;
|
||||
subtitle: string;
|
||||
recipientEmail: string;
|
||||
sectionsOrder: string[];
|
||||
sectionsDetails?: SectionConfig[];
|
||||
site_info?: {
|
||||
title?: string;
|
||||
company_name?: string;
|
||||
homepage_id?: string;
|
||||
email?: string;
|
||||
phone?: string;
|
||||
address?: string;
|
||||
};
|
||||
sectionsOrder: string[];
|
||||
sectionsDetails?: SectionConfig[];
|
||||
pages?: Array<{
|
||||
id: string;
|
||||
slug: string;
|
||||
title: string;
|
||||
is_published?: boolean;
|
||||
seo?: { description?: string; og_image?: string };
|
||||
sections?: Array<{ id: string; type: string; settings?: Record<string, any> }>;
|
||||
}>;
|
||||
}
|
||||
|
||||
|
||||
export interface ThemeConfig {
|
||||
activePreset: string;
|
||||
glassBlur?: string; // 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'
|
||||
|
||||
Reference in New Issue
Block a user