website: restore hero background image

This commit is contained in:
Mohamed Boudra
2026-02-09 18:47:08 +07:00
parent ec9643377d
commit ab23d5d9b1
+8 -2
View File
@@ -20,8 +20,14 @@ export const Route = createFileRoute('/')({
function Home() { function Home() {
return ( return (
<CursorFieldProvider> <CursorFieldProvider>
{/* Hero section */} {/* Hero section with background image */}
<div className="relative"> <div
className="relative bg-cover bg-center bg-no-repeat"
style={{ backgroundImage: 'url(/hero-bg.jpg)' }}
>
<div className="absolute inset-0 bg-background/90" />
<div className="absolute inset-x-0 bottom-0 h-64 bg-gradient-to-t from-black to-transparent" />
<div className="relative p-6 pb-10 md:px-20 md:pt-20 md:pb-12 max-w-3xl mx-auto"> <div className="relative p-6 pb-10 md:px-20 md:pt-20 md:pb-12 max-w-3xl mx-auto">
<Nav /> <Nav />
<Hero /> <Hero />