Changes
This commit is contained in:
@@ -1,17 +1,9 @@
|
|||||||
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="relative flex flex-col justify-center items-center text-center px-6 py-16 pt-20 pb-12 overflow-hidden">
|
<section className="relative flex flex-col justify-center items-center text-center px-6 py-16 pt-20 pb-12 bg-background">
|
||||||
{/* Background image with opacity */}
|
<div className="animate-fade-up max-w-4xl">
|
||||||
<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 relative z-10">
|
|
||||||
<img
|
<img
|
||||||
src={logoImage}
|
src={logoImage}
|
||||||
alt="Lennart Svensson Konditorivaror"
|
alt="Lennart Svensson Konditorivaror"
|
||||||
|
|||||||
Reference in New Issue
Block a user