optimized design
All checks were successful
Code Analysis and Production Deploy / analyze (push) Successful in 10m8s
Code Analysis and Production Deploy / deploy-production (push) Has been skipped
Code Analysis and Production Deploy / deploy-test (push) Successful in 3m18s

This commit is contained in:
Torsten Schulz (local)
2026-08-12 13:15:14 +02:00
parent 51e59e85ef
commit 76d7000735
5 changed files with 20 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
<template> <template>
<section class="py-12 sm:py-16 bg-gray-50"> <section class="py-8 sm:py-10 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-8 sm:mb-10"> <div class="text-center mb-6 sm:mb-8">
<h2 class="text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-4"> <h2 class="text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-4">
Kommende Termine Kommende Termine
</h2> </h2>
@@ -12,7 +12,7 @@
<TermineVorschau /> <TermineVorschau />
</div> </div>
<div class="text-center mt-8"> <div class="text-center mt-5 sm:mt-6">
<NuxtLink <NuxtLink
to="/termine" to="/termine"
class="inline-flex items-center px-6 py-3 bg-primary-600 hover:bg-primary-700 text-white font-semibold rounded-lg transition-colors" class="inline-flex items-center px-6 py-3 bg-primary-600 hover:bg-primary-700 text-white font-semibold rounded-lg transition-colors"

View File

@@ -1,12 +1,12 @@
<template> <template>
<section <section
class="bg-white" class="bg-white"
:class="news.length === 0 && !isLoading ? 'py-10 sm:py-12' : 'py-16 sm:py-20 min-h-[32rem]'" :class="news.length === 0 && !isLoading ? 'py-8 sm:py-10' : 'py-10 sm:py-12'"
> >
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div <div
class="text-center" class="text-center"
:class="news.length === 0 && !isLoading ? 'mb-8 sm:mb-10' : 'mb-16'" :class="news.length === 0 && !isLoading ? 'mb-6 sm:mb-8' : 'mb-8 sm:mb-10'"
> >
<h2 class="text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-4"> <h2 class="text-4xl sm:text-5xl font-display font-bold text-gray-900 mb-4">
Aktuelles Aktuelles
@@ -71,7 +71,7 @@
<div <div
v-else v-else
class="max-w-xl mx-auto text-center bg-gray-50 border border-gray-200 rounded-xl p-6" class="max-w-xl mx-auto text-center bg-gray-50 border border-gray-200 rounded-xl p-5"
> >
<p class="text-gray-700 font-semibold mb-2"> <p class="text-gray-700 font-semibold mb-2">
Aktuell keine News Aktuell keine News

View File

@@ -1,7 +1,7 @@
<template> <template>
<section class="py-12 sm:py-16 bg-white"> <section class="py-8 sm:py-10 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-8 sm:mb-10"> <div class="text-center mb-6 sm:mb-8">
<h2 class="text-3xl font-bold text-gray-900 mb-4"> <h2 class="text-3xl font-bold text-gray-900 mb-4">
Nächste Spiele Nächste Spiele
</h2> </h2>
@@ -10,7 +10,7 @@
<!-- Loading State --> <!-- Loading State -->
<div <div
v-if="isLoading" v-if="isLoading"
class="text-center py-6" class="text-center py-4"
> >
<svg <svg
class="w-8 h-8 text-gray-400 mx-auto mb-4 animate-spin" class="w-8 h-8 text-gray-400 mx-auto mb-4 animate-spin"
@@ -33,7 +33,7 @@
<!-- Error State --> <!-- Error State -->
<div <div
v-else-if="error" v-else-if="error"
class="text-center py-6" class="text-center py-4"
> >
<svg <svg
class="w-12 h-12 text-gray-400 mx-auto mb-4" class="w-12 h-12 text-gray-400 mx-auto mb-4"
@@ -62,7 +62,7 @@
<!-- Empty State --> <!-- Empty State -->
<div <div
v-else-if="!upcomingGames || upcomingGames.length === 0" v-else-if="!upcomingGames || upcomingGames.length === 0"
class="text-center py-6" class="text-center py-4"
> >
<svg <svg
class="w-12 h-12 text-gray-400 mx-auto mb-4" class="w-12 h-12 text-gray-400 mx-auto mb-4"

View File

@@ -45,7 +45,7 @@
<div <div
v-else v-else
class="text-center py-6 bg-gray-50 rounded-lg" class="text-center py-4 bg-gray-50 rounded-lg"
> >
<Calendar <Calendar
:size="32" :size="32"

View File

@@ -216,7 +216,7 @@
class="relative z-30 px-4 sm:px-6 lg:px-8" class="relative z-30 px-4 sm:px-6 lg:px-8"
:class="hasHeroSection ? '-mt-44 sm:-mt-48 lg:-mt-52' : 'mt-8'" :class="hasHeroSection ? '-mt-44 sm:-mt-48 lg:-mt-52' : 'mt-8'"
> >
<div class="featured-widget-shell max-w-6xl mx-auto rounded-2xl border border-gray-200 bg-white/25 backdrop-blur-md overflow-hidden min-h-[22rem] sm:min-h-[25rem]"> <div class="featured-widget-shell max-w-6xl mx-auto rounded-2xl border border-gray-200 bg-white/25 backdrop-blur-md overflow-hidden">
<HomeSpielplanTeamWidget <HomeSpielplanTeamWidget
v-if="featuredWidgetSection.id === 'spielplan_team'" v-if="featuredWidgetSection.id === 'spielplan_team'"
:season="featuredWidgetSection.config?.season" :season="featuredWidgetSection.config?.season"
@@ -627,9 +627,15 @@ async function saveEditor() {
background-color: transparent !important; background-color: transparent !important;
} }
.featured-widget-shell :deep(.py-8),
.featured-widget-shell :deep(.py-10),
.featured-widget-shell :deep(.py-12),
.featured-widget-shell :deep(.py-16), .featured-widget-shell :deep(.py-16),
.featured-widget-shell :deep(.sm\:py-10),
.featured-widget-shell :deep(.sm\:py-12),
.featured-widget-shell :deep(.sm\:py-16),
.featured-widget-shell :deep(.sm\:py-20) { .featured-widget-shell :deep(.sm\:py-20) {
padding-top: 1.5rem !important; padding-top: 1.5rem !important;
padding-bottom: 2rem !important; padding-bottom: 1.5rem !important;
} }
</style> </style>