fix: update editor bridge syntax and refine demo config content

This commit is contained in:
Daniel S
2026-08-09 23:46:22 +02:00
parent 4d072864bc
commit 9284717a80
3 changed files with 81 additions and 12 deletions

View File

@@ -1,10 +1,25 @@
{ {
"updated_at": "2026-08-09T20:59:44.639Z",
"siteName": "N&D IT Solutions", "siteName": "N&D IT Solutions",
"metaDescription": "Webdesign & Digital Solutions", "metaDescription": "High-Performance Webdesign & Digital Solutions - 100% DSGVO-konform.",
"is_demo_mode": false,
"header": {
"brandName": "N&D",
"brandHighlight": "i-t SOLUTIONS",
"ctaText": "Erstgespräch buchen",
"ctaLink": "#contact",
"showThemeToggle": true,
"glassEffect": true
},
"footer": {
"brandDescription": "Ihr Partner für professionelles Webdesign, Website-Entwicklung und lokale SEO für Kleinbetriebe & KMU.",
"copyrightText": "N&D i-t SOLUTIONS. Alle Rechte vorbehalten.",
"showLegalLinks": true
},
"hero": { "hero": {
"badge": "WaaS", "badge": "š Waas Enterprise Baukastensystem",
"title": "Maßgeschneiderte Webseiten. Digital im Griff.", "title": "Maßgeschneiderte Webseiten. Digital im Griff.",
"subtitle": "Wir machen Zeugs", "subtitle": "Wir entwickeln blitzschnelle, DSGVO-konforme High-End Webseiten für Ihr Unternehmen zum monatlichen Festpreis inklusive Wartung & Hosting.",
"ctaPrimaryText": "Projekt anfragen", "ctaPrimaryText": "Projekt anfragen",
"ctaPrimaryLink": "#contact", "ctaPrimaryLink": "#contact",
"ctaSecondaryText": "Mehr erfahren", "ctaSecondaryText": "Mehr erfahren",
@@ -12,11 +27,13 @@
"elements": [ "elements": [
{ {
"id": "el-1", "id": "el-1",
"slotId": "hero-badge-slot",
"type": "badge", "type": "badge",
"content": "š WaaS Engine" "content": "WaaS Engine"
}, },
{ {
"id": "el-2", "id": "el-2",
"slotId": "hero-actions-slot",
"type": "button", "type": "button",
"content": "Neuer Button", "content": "Neuer Button",
"link": "#contact", "link": "#contact",
@@ -48,7 +65,7 @@
{ {
"id": "card-3", "id": "card-3",
"title": "Liquid Glass UI", "title": "Liquid Glass UI",
"description": "Moderne Ästhetik mit matte Boxen, Aurora Glows und physischen Kanten-Effekten.", "description": "Moderne Ästhetik mit matte Boxen, Aurora Glows und physikalischen Kanten-Effekten.",
"colSpan": 1, "colSpan": 1,
"badge": "Design", "badge": "Design",
"icon": "layers" "icon": "layers"
@@ -71,9 +88,9 @@
"address": "Deutschland" "address": "Deutschland"
}, },
"sectionsOrder": [ "sectionsOrder": [
"contact", "hero",
"bento", "bento",
"hero" "contact"
], ],
"sectionsDetails": [ "sectionsDetails": [
{ {
@@ -83,8 +100,9 @@
"elements": [ "elements": [
{ {
"id": "el-1", "id": "el-1",
"slotId": "hero-badge-slot",
"type": "badge", "type": "badge",
"content": "š WaaS Engine" "content": "WaaS Engine"
} }
] ]
}, },
@@ -100,5 +118,53 @@
"title": "Contact Section", "title": "Contact Section",
"elements": [] "elements": []
} }
],
"site_info": {
"title": "N&D IT Solutions",
"homepage_id": "page_home",
"email": "",
"phone": "",
"address": ""
},
"pages": [
{
"id": "page_home",
"slug": "/",
"title": "Startseite (Hauptseite)",
"is_published": true,
"sections": []
},
{
"id": "page_templates",
"slug": "/templates",
"title": "Templates & Design-Muster",
"is_published": true,
"sections": [
{
"id": "hero_templates",
"type": "HeroSection",
"settings": {
"title": "Templates",
"subtitle": "Unsere fertigen Design-Vorlagen"
}
}
]
},
{
"id": "page_privacy",
"slug": "/datenschutz",
"title": "Datenschutzerklärung",
"is_published": true,
"sections": [
{
"id": "privacy_content",
"type": "HeroSection",
"settings": {
"title": "Datenschutz",
"subtitle": "100% DSGVO-konforme Datenverarbeitung."
}
}
]
}
] ]
} }

View File

@@ -1,7 +1,9 @@
{ {
"activePreset": "amberGlow", "activePreset": "midnightBlue",
"customColors": { "customColors": {
"bg": "#0B0F19", "bg": "#0b0f19",
"accent": "#38BDF8" "accent": "#38bdf8",
"text": "#e0e0e0",
"border": ""
} }
} }

View File

@@ -13,7 +13,8 @@
banner.style.cssText = 'position: fixed; top: 0; left: 0; right: 0; z-index: 99999; background: #d97706; color: #0f172a; text-align: center; padding: 6px 12px; font-size: 12px; font-weight: 700; font-family: monospace; letter-spacing: 0.5px; box-shadow: 0 2px 10px rgba(0,0,0,0.3); pointer-events: none; opacity: 0.95;'; banner.style.cssText = 'position: fixed; top: 0; left: 0; right: 0; z-index: 99999; background: #d97706; color: #0f172a; text-align: center; padding: 6px 12px; font-size: 12px; font-weight: 700; font-family: monospace; letter-spacing: 0.5px; box-shadow: 0 2px 10px rgba(0,0,0,0.3); pointer-events: none; opacity: 0.95;';
banner.innerHTML = '🛠️ BEARBEITUNGSMODUS (VORSCHAU / ENTWURF) — Änderungen sind noch nicht live!'; banner.innerHTML = '🛠️ BEARBEITUNGSMODUS (VORSCHAU / ENTWURF) — Änderungen sind noch nicht live!';
document.body.appendChild(banner); document.body.appendChild(banner);
document.body.style.paddingTop = (document.body.style.paddingTop ? parseInt(document.body.style.paddingTop) + 30 : 30) + 'px'; const currentPadding = parseInt(document.body.style.paddingTop || '0', 10);
document.body.style.paddingTop = (currentPadding + 30) + 'px';
}); });
window.addEventListener('message', (event) => { window.addEventListener('message', (event) => {