From 4ed5b41f9c662a26b281ff28f53bf21f5094a915 Mon Sep 17 00:00:00 2001 From: Johannes Eslage Date: Sat, 15 Apr 2023 11:39:09 +0200 Subject: [PATCH] feat: updated accordion aria labels and home margins --- site/snippets/blocks/accordion.php | 6 +++--- site/templates/home.php | 14 +++++++------- tailwind.config.js | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/site/snippets/blocks/accordion.php b/site/snippets/blocks/accordion.php index 9bd5a0e..c29311d 100644 --- a/site/snippets/blocks/accordion.php +++ b/site/snippets/blocks/accordion.php @@ -1,9 +1,9 @@
- items()->toStructure() as $item) : ?> + items()->toStructure() as $index => $item) : ?>
- -
+
text() ?>
diff --git a/site/templates/home.php b/site/templates/home.php index eb61d5e..97a5aa0 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -4,7 +4,7 @@
-
+

@@ -12,14 +12,14 @@
-
+
$article->created()->toDate('d.m.Y'), - 'title' => $article->title(), - 'excerpt' => $article->excerpt(), - 'url' => $article->url(), - 'image' => $article->cover()->toFile(), + 'topline' => $article->created()->toDate('d.m.Y'), + 'title' => $article->title(), + 'excerpt' => $article->excerpt(), + 'url' => $article->url(), + 'image' => $article->cover()->toFile(), ]) ?>
diff --git a/tailwind.config.js b/tailwind.config.js index 530087b..20d1fd9 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -20,13 +20,13 @@ export default { xxxl: "120px" }, fontSize: { - "headline-1": ["24px", "24px"], + "headline-1": ["32px", "32px"], "headline-1-md": ["45px", "54px"], - "headline-2": ["20px", "22px"], + "headline-2": ["24px", "28px"], "headline-2-md": ["35px", "42px"], - "headline-3": ["17px", "21px"], + "headline-3": ["20px", "24px"], "headline-3-md": ["24px", "36px"], copy: ["14px", "21px"],