ash was here part 4

This commit is contained in:
Adwit Mukherji
2024-10-27 02:26:37 +00:00
parent 4c8c77495e
commit c1d414f6a7
9 changed files with 216 additions and 200 deletions

View File

@@ -44,13 +44,36 @@ const ListingPage: React.FC = () => {
return (
<>
<Header />
{eventDetails ? (
<EventDescription eventDetails={eventDetails} />
) : (
<p>Loading...</p>
)}
<Footer />
<div className="absolute inset-0 overflow-hidden">
<video
autoPlay
loop
muted
className="w-full h-full object-cover z-0"
style={{ position: 'absolute', top: 0, left: 0 }}
>
<source src="/BGVid3.mp4" type="video/mp4" />
<source src="/BGVid3.webm" type="video/webm" />
Your browser does not support the video tag.
</video>
<div className="absolute inset-0 bg-black opacity-50 z-10" />
</div>
<div className="relative z-20">
<Header />
</div>
<div className="relative z-10">
{eventDetails ? (
<EventDescription eventDetails={eventDetails} />
) : (
<p>Loading...</p>
)}
</div>
<div className="relative z-20">
<Footer />
</div>
</>
);
};