Compare commits
3 Commits
version_1_
...
version_3_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7127d0a712 | ||
| 31c616f52b | |||
|
|
6d07b33c5e |
@@ -36,6 +36,11 @@ const HeroOverlay = ({
|
||||
videoSrc={videoSrc}
|
||||
className="absolute inset-0 w-full h-full object-cover rounded-none"
|
||||
/>
|
||||
<div className="absolute z-10 bottom-1/4 left-1/2 -translate-x-1/2 grid grid-cols-1 md:grid-cols-3 gap-4 p-4 w-full max-w-4xl">
|
||||
{uspData.map((usp, index) => (
|
||||
<GlassMorphicCard key={index} title={usp.title} description={usp.description} />
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div
|
||||
className="absolute z-10 w-[150vw] h-[150vw] left-0 bottom-0 -translate-x-1/2 translate-y-1/2 backdrop-blur mask-[radial-gradient(circle,black_20%,transparent_70%)]"
|
||||
@@ -43,6 +48,7 @@ const HeroOverlay = ({
|
||||
/>
|
||||
|
||||
<div className="relative z-10 w-content-width mx-auto pb-10 md:pb-25">
|
||||
|
||||
<div className="flex flex-col gap-3 w-full md:w-6/10 lg:w-1/2 xl:w-45/100 2xl:w-4/10">
|
||||
<span className="w-fit px-3 py-1 mb-1 text-sm card rounded">{tag}</span>
|
||||
|
||||
@@ -79,3 +85,25 @@ const HeroOverlay = ({
|
||||
};
|
||||
|
||||
export default HeroOverlay;
|
||||
|
||||
const uspData = [
|
||||
{
|
||||
title: "24/7 Emergency Service",
|
||||
description: "Always available for urgent HVAC needs, day or night.",
|
||||
},
|
||||
{
|
||||
title: "Certified Technicians",
|
||||
description: "Expert, reliable service from our certified professionals.",
|
||||
},
|
||||
{
|
||||
title: "Transparent Pricing",
|
||||
description: "Clear, upfront pricing with no hidden fees.",
|
||||
},
|
||||
];
|
||||
|
||||
const GlassMorphicCard = ({ title, description }: { title: string; description: string }) => (
|
||||
<div className="bg-white/10 backdrop-blur-lg rounded-lg p-4 border border-white/20 shadow-lg">
|
||||
<h3 className="text-lg font-semibold text-white">{title}</h3>
|
||||
<p className="text-white/80">{description}</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user