Skip to content

Commit

Permalink
chore(hero-section): configures image optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
AyoItsYas committed Nov 7, 2024
1 parent 86f9ec0 commit 49cf063
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion src/components/index/hero-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export default function HeroCarousel() {
alt={`carousel image ${index + 1}`}
height={1080}
width={1920}
quality={70}
className="object-cover object-center aspect-video"
/>
<div className="absolute bottom-0 w-full h-[170px] bg-gradient-to-t from-primaryLight via-primaryLight">
Expand All @@ -72,7 +73,9 @@ export default function HeroCarousel() {
{/* <CarouselPrevious />
<CarouselNext /> */}
</Carousel>
<div className="bg-gradient-to-b mt-[-2px] from-primaryLight from-50% h-[50px]" />

{/* <div className="bg-gradient-to-b mt-[-2px] from-primaryLight from-50% h-[50px]" /> */}
<div className="bg-blue mt-[-2px] h-[30px]" />
</>
);
}

0 comments on commit 49cf063

Please sign in to comment.