Update package-lock.json and package.json to include 'globals' dependency and improve code formatting in various components for better readability.
Some checks failed
Code Analysis (JS/Vue) / analyze (push) Failing after 54s

This commit is contained in:
Torsten Schulz (local)
2025-12-20 10:17:16 +01:00
parent 861802b716
commit b20b89d333
72 changed files with 5338 additions and 2008 deletions

View File

@@ -11,7 +11,10 @@
</p>
</div>
<div v-if="naechsteTermine.length > 0" class="space-y-4">
<div
v-if="naechsteTermine.length > 0"
class="space-y-4"
>
<div
v-for="(termin, index) in naechsteTermine"
:key="index"
@@ -25,14 +28,22 @@
<div class="flex-1">
<div class="flex items-start justify-between">
<div>
<h3 class="text-xl font-semibold text-gray-900 mb-1">{{ termin.titel }}</h3>
<p class="text-gray-600 mb-2">{{ termin.beschreibung }}</p>
<p class="text-sm text-gray-500">{{ formatFullDateTime(termin.datum, termin.uhrzeit) }}</p>
<h3 class="text-xl font-semibold text-gray-900 mb-1">
{{ termin.titel }}
</h3>
<p class="text-gray-600 mb-2">
{{ termin.beschreibung }}
</p>
<p class="text-sm text-gray-500">
{{ formatFullDateTime(termin.datum, termin.uhrzeit) }}
</p>
</div>
<span :class="[
'px-3 py-1 text-sm font-medium rounded-full',
termin.kategorie === 'Turnier' ? 'bg-yellow-100 text-yellow-800' : 'bg-blue-100 text-blue-800'
]">
<span
:class="[
'px-3 py-1 text-sm font-medium rounded-full',
termin.kategorie === 'Turnier' ? 'bg-yellow-100 text-yellow-800' : 'bg-blue-100 text-blue-800'
]"
>
{{ termin.kategorie }}
</span>
</div>
@@ -41,9 +52,17 @@
</div>
</div>
<div v-else class="text-center py-16 bg-white rounded-xl shadow-lg">
<Calendar :size="64" class="text-gray-400 mx-auto mb-4" />
<h3 class="text-2xl font-semibold text-gray-900 mb-2">Keine kommenden Termine</h3>
<div
v-else
class="text-center py-16 bg-white rounded-xl shadow-lg"
>
<Calendar
:size="64"
class="text-gray-400 mx-auto mb-4"
/>
<h3 class="text-2xl font-semibold text-gray-900 mb-2">
Keine kommenden Termine
</h3>
<p class="text-gray-600">
Aktuell sind keine Termine geplant. Schauen Sie bald wieder vorbei!
</p>