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,12 +1,12 @@
<template>
<section
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="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">
Aktuelles
@@ -71,7 +71,7 @@
<div
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">
Aktuell keine News