Combine hero and filter sections into unified search block
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 35s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m17s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 0s

Merged the hero title/description into FilterBar component to save
vertical space. The combined block has a gradient background flowing
from cream to white with the search controls below the header.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Tudor
2026-02-04 09:54:27 +00:00
parent 1b9220d51b
commit ea6820f1c4
4 changed files with 64 additions and 83 deletions

View File

@@ -2,56 +2,6 @@
width: 100%;
}
.hero {
text-align: center;
margin-bottom: 2.5rem;
padding: 2rem 2rem 1.75rem;
background: linear-gradient(135deg, var(--bg-secondary, #f3ede4) 0%, var(--bg-primary, #faf7f2) 100%);
border-radius: 16px;
border: 1px solid var(--border-color, #e5dfd5);
animation: heroFadeIn 0.5s ease-out;
}
@keyframes heroFadeIn {
from {
opacity: 0;
transform: translateY(-8px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.heroTitle {
font-size: 2.25rem;
font-weight: 700;
color: var(--text-primary, #1a1612);
margin-bottom: 0.5rem;
line-height: 1.2;
letter-spacing: -0.02em;
font-family: var(--font-playfair), 'Playfair Display', serif;
}
/* Coral accent bar under title */
.heroTitle::after {
content: '';
display: block;
width: 80px;
height: 3px;
background: var(--accent-coral, #e07256);
border-radius: 2px;
margin: 0.75rem auto 0;
}
.heroDescription {
font-size: 1rem;
color: var(--text-secondary, #5c564d);
max-width: 520px;
margin: 0.75rem auto 0;
line-height: 1.5;
}
.locationBanner {
display: flex;
align-items: center;
@@ -188,25 +138,6 @@
}
@media (max-width: 768px) {
.hero {
padding: 1.5rem 1rem 1.25rem;
margin-bottom: 1.5rem;
border-radius: 12px;
}
.heroTitle {
font-size: 1.75rem;
}
.heroTitle::after {
width: 60px;
margin-top: 0.5rem;
}
.heroDescription {
font-size: 0.9375rem;
}
.grid {
grid-template-columns: 1fr;
}