From 55c4e77848be70332462ecbaac05b27d0cdaa323 Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Thu, 5 Feb 2026 17:40:02 +0100 Subject: [PATCH] Refactor homepage layout to dynamically render sections based on configuration This commit updates the homepage component to utilize a dynamic rendering approach for sections, allowing for configuration-based display of components. It introduces computed properties to manage section visibility and mapping of section IDs to their respective components, enhancing flexibility and maintainability of the homepage structure. --- pages/cms/index.vue | 23 +++- pages/cms/startseite.vue | 276 +++++++++++++++++++++++++++++++++++++++ pages/index.vue | 57 ++++++-- 3 files changed, 341 insertions(+), 15 deletions(-) create mode 100644 pages/cms/startseite.vue diff --git a/pages/cms/index.vue b/pages/cms/index.vue index d165f36..5ce421e 100644 --- a/pages/cms/index.vue +++ b/pages/cms/index.vue @@ -183,6 +183,27 @@

+ + +
+
+ +
+

+ Startseite +

+
+

+ Reihenfolge der Startseiten-Elemente konfigurieren +

+
+ diff --git a/pages/index.vue b/pages/index.vue index 295fe6f..871f437 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,26 +1,55 @@