From eb4bb601d7615631767a0f2ffe0a6f9ae9517166 Mon Sep 17 00:00:00 2001 From: Daniel S Date: Sat, 8 Aug 2026 23:54:36 +0200 Subject: [PATCH] fix(types): add missing slotId to fallback UIComponent objects in configLoader.ts --- src/utils/configLoader.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/configLoader.ts b/src/utils/configLoader.ts index a691565..6a1de85 100644 --- a/src/utils/configLoader.ts +++ b/src/utils/configLoader.ts @@ -117,8 +117,8 @@ export const FALLBACK_SITE_CONFIG: SiteConfig = { ctaSecondaryText: 'Mehr erfahren', ctaSecondaryLink: '#services', elements: [ - { id: 'el-1', type: 'badge', content: 'š WaaS Engine' }, - { id: 'el-2', type: 'button', content: 'Neuer Button', link: '#contact', animation0: 'spring-fade', style: 'primary' } + { id: 'el-1', slotId: 'hero-badge-slot', type: 'badge', content: 'WaaS Engine' }, + { id: 'el-2', slotId: 'hero-actions-slot', type: 'button', content: 'Neuer Button', link: '#contact', animation0: 'spring-fade', style: 'primary' } ] }, bento: { @@ -144,7 +144,7 @@ export const FALLBACK_SITE_CONFIG: SiteConfig = { { id: 'card-3', title: 'Liquid Glass UI', - description: 'Moderne � sthetik mit matte Boxen, Aurora Glows und physikalischen Kanten-Effekten.', + description: 'Moderne Ästhetik mit matte Boxen, Aurora Glows und physikalischen Kanten-Effekten.', colSpan: 1, badge: 'Design', icon: 'layers' @@ -161,14 +161,14 @@ export const FALLBACK_SITE_CONFIG: SiteConfig = { }, contact: { title: 'Bereit für Ihr Projekt?', - subtitle: 'Schreiben Sie uns direkt. Wir antworten innerhalb von 24 Stunden persúnlich.', + subtitle: 'Schreiben Sie uns direkt. Wir antworten innerhalb von 24 Stunden persönlich.', recipientEmail: 'kontakt@ndsolutions.de', phone: '+49 (0) 123 456789', address: 'Deutschland' }, sectionsOrder: ['hero', 'bento', 'contact'], sectionsDetails: [ - { id: 'hero', type: 'hero', title: 'Hero Sektion', elements: [ {id: 'el-1', type: 'badge', content: 'š WaaS Engine' } ] }, + { id: 'hero', type: 'hero', title: 'Hero Sektion', elements: [ { id: 'el-1', slotId: 'hero-badge-slot', type: 'badge', content: 'WaaS Engine' } ] }, { id: 'bento', type: 'bento', title: 'Bento Grid', elements: [] }, { id: 'contact', type: 'contact', title: 'Contact Section', elements: [] } ]