Changes
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
@@ -1,12 +1,17 @@
|
|||||||
import logoImage from "@/assets/logo.png";
|
import logoImage from "@/assets/logo.png";
|
||||||
|
import heroBakeryImage from "@/assets/hero-bakery.jpg";
|
||||||
|
|
||||||
const HeroSection = () => {
|
const HeroSection = () => {
|
||||||
return (
|
return (
|
||||||
<section className="hero-gradient flex flex-col justify-center items-center text-center px-6 py-16 pt-20 pb-12 relative">
|
<section className="relative flex flex-col justify-center items-center text-center px-6 py-16 pt-20 pb-12 overflow-hidden">
|
||||||
{/* Decorative top border */}
|
{/* Background image with opacity */}
|
||||||
<div className="absolute top-0 left-0 right-0 h-2 bg-primary/20" />
|
<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
|
<img
|
||||||
src={logoImage}
|
src={logoImage}
|
||||||
alt="Lennart Svensson Konditorivaror"
|
alt="Lennart Svensson Konditorivaror"
|
||||||
|
|||||||
Reference in New Issue
Block a user