From bb96b0049cf440353dd7ee0622ae5ff047bf45fb Mon Sep 17 00:00:00 2001 From: Daniel S Date: Sun, 9 Aug 2026 22:26:19 +0200 Subject: [PATCH] fix(types): add site_info and pages properties to SiteConfig interface --- src/utils/configLoader.ts | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/utils/configLoader.ts b/src/utils/configLoader.ts index 015e111..93f68a0 100644 --- a/src/utils/configLoader.ts +++ b/src/utils/configLoader.ts @@ -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 }>; + }>; } + export interface ThemeConfig { activePreset: string; glassBlur?: string; // 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'