From b1283d1d71d74ba20de2f80a92db77054d09374c Mon Sep 17 00:00:00 2001 From: jeslage Date: Fri, 14 Apr 2023 17:50:40 +0200 Subject: [PATCH] fix: brought back some missing components --- site/snippets/blocks/accordion.php | 41 +++++++++++++++++++++--------- site/snippets/blocks/table.php | 35 +++++++++++++++++-------- 2 files changed, 53 insertions(+), 23 deletions(-) diff --git a/site/snippets/blocks/accordion.php b/site/snippets/blocks/accordion.php index 760b0e2..69b7ea1 100644 --- a/site/snippets/blocks/accordion.php +++ b/site/snippets/blocks/accordion.php @@ -1,15 +1,32 @@ - -
- items()->toStructure() as $item): ?> -

- -

-
- text() ?> + +
+ + text() ?> + +
- -
- \ No newline at end of file + \ No newline at end of file diff --git a/site/snippets/blocks/table.php b/site/snippets/blocks/table.php index 70545f7..571dbc0 100644 --- a/site/snippets/blocks/table.php +++ b/site/snippets/blocks/table.php @@ -1,14 +1,27 @@ - -
- items()->toStructure() as $item): ?> +
+ headline()): ?> $item->title(), - 'variant' => 'copy-bold', + 'text' => $block->headline(), + 'variant' => 'headline-3', + 'class' => 'mb-s', + 'tag' => 'h3', ]) ?> + - $item->text(), - ]) ?> - -
- \ No newline at end of file + items()->toStructure() as $item) : ?> +
+
+ $item->title(), + 'variant' => 'copy-bold', + ]) ?> +
+ +
+ + text() ?> + +
+
+ +
\ No newline at end of file