From d848d0980097127f5b50589bb294979c80adf200 Mon Sep 17 00:00:00 2001 From: Tobias Feigel Date: Sat, 6 Sep 2025 11:51:23 +0200 Subject: [PATCH] Restructures news snippet for improved layout Refactors the news snippet to enhance its visual appearance and layout. Changes include: - Switching to a flexbox-based layout for improved responsiveness. - Adding an aspect ratio to the images. - Displaying author information, including avatar and role. - Adding a button to clear the tag filter. --- site/snippets/home-news.php | 85 ++++++++++++++++++++----------------- 1 file changed, 47 insertions(+), 38 deletions(-) diff --git a/site/snippets/home-news.php b/site/snippets/home-news.php index 66256e4..862a55f 100644 --- a/site/snippets/home-news.php +++ b/site/snippets/home-news.php @@ -1,48 +1,57 @@

Neuigkeiten aus dem Verein

-
- -
-
- -
-
-
-
+ + - +
+

+ + + headline() ?> + +

+

summary() ?>

+
+ author()->toUser()): ?> +
+
+ +
+

+ +

+ username() ?> +
+

+

role()->title() ?>

+
+
+
+ +
+
+ + + + + +
\ No newline at end of file