4 Commits

Author SHA1 Message Date
tfeigel 3cf8dc6ed7 Fixes display of author avatar and league links
Ensures author avatar is only displayed if it exists.

Uses dynamic league IDs from the `spielbetrieb` page in the navbar, which
allows changing the league links in the backend.
2025-09-06 19:03:13 +02:00
tfeigel 94078a7e6f Adds Prettier formatting and PHP support
Adds Prettier for consistent code formatting across the project.
Includes PHP plugin and configures formatting for PHP files.
Adds format and format:check scripts to package.json for ease of use.
2025-09-06 12:10:22 +02:00
tfeigel d848d09800 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.
2025-09-06 11:51:23 +02:00
tfeigel 07814712d7 feat: extend news section with tag filtering, improved layout, and homepage integration
Added tag filtering functionality to the blog and news sections, allowing users to filter posts by categories. Enhanced layout with improved tag display, author details, and responsive styling. Integrated the latest news preview into the homepage template. Adjusted visibility logic for navigation arrows in event carousel and refined related PHP snippets for better clarity and reusability.
2025-07-13 12:58:21 +02:00