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;
|
animation?: string;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
contact: {
|
sectionsOrder: string[];
|
||||||
title: string;
|
sectionsDetails?: SectionConfig[];
|
||||||
subtitle: string;
|
site_info?: {
|
||||||
recipientEmail: string;
|
title?: string;
|
||||||
|
company_name?: string;
|
||||||
|
homepage_id?: string;
|
||||||
|
email?: string;
|
||||||
phone?: string;
|
phone?: string;
|
||||||
address?: string;
|
address?: string;
|
||||||
};
|
};
|
||||||
sectionsOrder: string[];
|
pages?: Array<{
|
||||||
sectionsDetails?: SectionConfig[];
|
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 {
|
export interface ThemeConfig {
|
||||||
activePreset: string;
|
activePreset: string;
|
||||||
glassBlur?: string; // 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'
|
glassBlur?: string; // 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'
|
||||||
|
|||||||
Reference in New Issue
Block a user