Verbessere QTTR-Handling: Aktualisiere die Anzeige von QTTR-Werten zu TTR- und QTTR-Werten und passe die zugehörigen Texte an.
This commit is contained in:
@@ -311,7 +311,7 @@
|
|||||||
class="px-2.5 py-1 text-xs text-gray-300 hover:text-white hover:bg-primary-700/50 rounded transition-all"
|
class="px-2.5 py-1 text-xs text-gray-300 hover:text-white hover:bg-primary-700/50 rounded transition-all"
|
||||||
active-class="text-white bg-primary-600"
|
active-class="text-white bg-primary-600"
|
||||||
>
|
>
|
||||||
QTTR
|
TTR / QTTR
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
to="/mitgliederbereich/news"
|
to="/mitgliederbereich/news"
|
||||||
@@ -766,7 +766,7 @@
|
|||||||
class="block px-4 py-2 text-sm text-gray-400 hover:text-white hover:bg-primary-700/50 rounded-lg transition-colors"
|
class="block px-4 py-2 text-sm text-gray-400 hover:text-white hover:bg-primary-700/50 rounded-lg transition-colors"
|
||||||
@click="isMobileMenuOpen = false"
|
@click="isMobileMenuOpen = false"
|
||||||
>
|
>
|
||||||
QTTR
|
TTR / QTTR
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<NuxtLink
|
<NuxtLink
|
||||||
to="/mitgliederbereich/news"
|
to="/mitgliederbereich/news"
|
||||||
|
|||||||
@@ -3,18 +3,11 @@
|
|||||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 space-y-8">
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 space-y-8">
|
||||||
<div>
|
<div>
|
||||||
<h1 class="text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-4">
|
<h1 class="text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-4">
|
||||||
QTTR-Werte
|
TTR- und QTTR-Werte
|
||||||
</h1>
|
</h1>
|
||||||
<div class="w-24 h-1 bg-primary-600 mb-6" />
|
<div class="w-24 h-1 bg-primary-600 mb-6" />
|
||||||
<p class="text-lg text-gray-700 max-w-3xl">
|
<p class="text-lg text-gray-700 max-w-3xl">
|
||||||
Aus technischen Gründen sind nur die QTTR-Werte verfügbar. Für TTR bitte auf
|
Aktuelle TTR- und QTTR-Werte des Harheimer TC. Der Abruf erfolgt über die geschützte Vereinsverbindung.
|
||||||
<a
|
|
||||||
:href="externalUrl"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="text-primary-600 hover:text-primary-800 underline"
|
|
||||||
>myTischtennis</a>
|
|
||||||
wechseln.
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -37,13 +30,13 @@
|
|||||||
v-if="pending"
|
v-if="pending"
|
||||||
class="py-12 text-center text-gray-500"
|
class="py-12 text-center text-gray-500"
|
||||||
>
|
>
|
||||||
Lade QTTR-Werte...
|
Lade TTR- und QTTR-Werte...
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-else-if="error"
|
v-else-if="error"
|
||||||
class="rounded-lg border border-red-200 bg-red-50 p-4 text-red-800"
|
class="rounded-lg border border-red-200 bg-red-50 p-4 text-red-800"
|
||||||
>
|
>
|
||||||
{{ error.statusMessage || error.message || 'QTTR-Werte konnten nicht geladen werden.' }}
|
{{ error.statusMessage || error.message || 'TTR- und QTTR-Werte konnten nicht geladen werden.' }}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-else
|
v-else
|
||||||
@@ -61,6 +54,9 @@
|
|||||||
<th class="px-4 py-3 text-left text-xs font-semibold uppercase tracking-wider text-gray-500">
|
<th class="px-4 py-3 text-left text-xs font-semibold uppercase tracking-wider text-gray-500">
|
||||||
Verein
|
Verein
|
||||||
</th>
|
</th>
|
||||||
|
<th class="px-4 py-3 text-right text-xs font-semibold uppercase tracking-wider text-gray-500">
|
||||||
|
TTR
|
||||||
|
</th>
|
||||||
<th class="px-4 py-3 text-right text-xs font-semibold uppercase tracking-wider text-gray-500">
|
<th class="px-4 py-3 text-right text-xs font-semibold uppercase tracking-wider text-gray-500">
|
||||||
QTTR
|
QTTR
|
||||||
</th>
|
</th>
|
||||||
@@ -83,6 +79,9 @@
|
|||||||
<td class="px-4 py-3 text-sm text-gray-700">
|
<td class="px-4 py-3 text-sm text-gray-700">
|
||||||
{{ row.clubName || 'Harheimer TC' }}
|
{{ row.clubName || 'Harheimer TC' }}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="px-4 py-3 text-right text-lg font-semibold text-gray-900 tabular-nums">
|
||||||
|
{{ row.currentTtr ?? '–' }}
|
||||||
|
</td>
|
||||||
<td class="px-4 py-3 text-right text-lg font-semibold text-gray-900 tabular-nums">
|
<td class="px-4 py-3 text-right text-lg font-semibold text-gray-900 tabular-nums">
|
||||||
{{ row.currentQttr ?? '–' }}
|
{{ row.currentQttr ?? '–' }}
|
||||||
</td>
|
</td>
|
||||||
@@ -99,7 +98,6 @@
|
|||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
|
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
const externalUrl = 'https://www.mytischtennis.de/rankings/andro-rangliste?continent=all&country=Deutschland&all-players=on&as=DE.WE.R4.07&di=DE.WE.R4.07.04&area=DE.WE.R4.07.04.43&clubnr-search=Harheimer+TC&clubnr=43030&fednickname=HeTTV&gender=all¤t-ranking=yes&ttr-range=100%3B3000&birth-range=1926%3B2021'
|
|
||||||
|
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
middleware: 'auth',
|
middleware: 'auth',
|
||||||
@@ -180,6 +178,6 @@ function formatDate(value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
useHead({
|
useHead({
|
||||||
title: 'QTTR-Werte - Harheimer TC'
|
title: 'TTR- und QTTR-Werte - Harheimer TC'
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user