From 8575572183ed4f42ad44f2eb087b739fb8c7af81 Mon Sep 17 00:00:00 2001 From: Peter Meier Date: Thu, 21 May 2026 11:12:49 +0200 Subject: [PATCH] refactor: consolidate block dispatch into BlockRenderer ContentRows now delegates to BlockRenderer instead of maintaining its own parallel if-else chain. Single source of truth for all block types. Adds internal_component support (ContactFormComponent via /api/contact). Co-Authored-By: Claude Sonnet 4.6 --- src/lib/components/ContentRows.svelte | 105 ++------------------------ 1 file changed, 8 insertions(+), 97 deletions(-) diff --git a/src/lib/components/ContentRows.svelte b/src/lib/components/ContentRows.svelte index 7e8538b..4171d64 100644 --- a/src/lib/components/ContentRows.svelte +++ b/src/lib/components/ContentRows.svelte @@ -1,51 +1,9 @@