Integrate bakery hero image

Replace hero with background bakery photo at 40% opacity and adjust hero structure; keep content above with logo.

X-Lovable-Edit-ID: edt-e542b821-ae18-4777-8fea-4baf25df1b44
This commit is contained in:
gpt-engineer-app[bot]
2026-01-27 21:32:37 +00:00
2 changed files with 9 additions and 4 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

+9 -4
View File
@@ -1,12 +1,17 @@
import logoImage from "@/assets/logo.png";
import heroBakeryImage from "@/assets/hero-bakery.jpg";
const HeroSection = () => {
return (
<section className="hero-gradient flex flex-col justify-center items-center text-center px-6 py-16 pt-20 pb-12 relative">
{/* Decorative top border */}
<div className="absolute top-0 left-0 right-0 h-2 bg-primary/20" />
<section className="relative flex flex-col justify-center items-center text-center px-6 py-16 pt-20 pb-12 overflow-hidden">
{/* Background image with opacity */}
<div
className="absolute inset-0 bg-cover bg-center opacity-40"
style={{ backgroundImage: `url(${heroBakeryImage})` }}
/>
<div className="absolute inset-0 bg-background/60" />
<div className="animate-fade-up max-w-4xl">
<div className="animate-fade-up max-w-4xl relative z-10">
<img
src={logoImage}
alt="Lennart Svensson Konditorivaror"