fix(types): add missing slotId to fallback UIComponent objects in configLoader.ts
All checks were successful
Production Build & Deploy / build-and-deploy (push) Successful in 56s

This commit is contained in:
Daniel S
2026-08-08 23:54:36 +02:00
parent 92a75cf289
commit eb4bb601d7

View File

@@ -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 <EFBFBD> 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: [] }
]