Enhance Vereinsmeisterschaften and Vorstand pages with image support for players and board members. Implement lightbox functionality for player images in Vereinsmeisterschaften. Update CSV handling to include image filenames for better data management. Refactor components to utilize PersonCard for board members, improving code readability and maintainability.

This commit is contained in:
Torsten Schulz (local)
2025-12-18 13:37:03 +01:00
parent a004ffba9b
commit baf6c59c0d
14 changed files with 756 additions and 186 deletions

View File

@@ -16,6 +16,14 @@
:key="trainer.id"
class="bg-white p-8 rounded-xl shadow-lg"
>
<div v-if="trainer.imageFilename" class="mb-4 flex justify-center">
<img
:src="`/api/personen/${trainer.imageFilename}?width=200&height=200`"
:alt="trainer.name"
class="w-32 h-32 object-cover rounded-full border-4 border-primary-100 shadow-md"
loading="lazy"
/>
</div>
<h3 class="text-2xl font-display font-bold text-gray-900 mb-2">{{ trainer.lizenz }}</h3>
<p class="text-gray-600 mb-4">{{ trainer.name }}</p>
<p class="text-sm text-gray-500">