feat: Add new design closer to gremiumhub landing

This commit is contained in:
2026-02-15 09:59:15 +01:00
parent 454321dad2
commit 05b89778cf
10 changed files with 358 additions and 103 deletions

View File

@@ -71,9 +71,7 @@ export function useSectionSpawning() {
const newSection = spawnSectionFromTemplate(templateSection, element.reference!, triggerValue)
// Find template index
const templateIndex = sections.findIndex(
(s) => s.isTemplate && s.templateReference === trigger.templateReference
)
const templateIndex = sections.findIndex((s) => s.isTemplate && s.templateReference === trigger.templateReference)
if (templateIndex === -1) {
// Fallback: append if template not found (shouldn't happen)