added
This commit is contained in:
@@ -67,7 +67,7 @@ const Hero = ({ data }) => {
|
|||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative w-full h-[55vh] bg-background">
|
<div className="relative w-full h-[45vh] bg-background">
|
||||||
<Carousel
|
<Carousel
|
||||||
plugins={[plugin.current]}
|
plugins={[plugin.current]}
|
||||||
className="w-full h-full"
|
className="w-full h-full"
|
||||||
@@ -77,12 +77,12 @@ const Hero = ({ data }) => {
|
|||||||
<CarouselContent>
|
<CarouselContent>
|
||||||
{heroData.map((item, index) => (
|
{heroData.map((item, index) => (
|
||||||
<CarouselItem key={index}>
|
<CarouselItem key={index}>
|
||||||
<div className="relative w-full h-[65vh] overflow-hidden">
|
<div className="relative w-full h-[45vh] overflow-hidden">
|
||||||
<Image
|
<Image
|
||||||
src={item.src || "/placeholder.svg"}
|
src={item.src || "/placeholder.svg"}
|
||||||
alt={`Slide ${index + 1}`}
|
alt={`Slide ${index + 1}`}
|
||||||
fill
|
fill
|
||||||
className="object-cover brightness-75"
|
className="object-fill brightness-75"
|
||||||
priority={index === 0}
|
priority={index === 0}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user