diff --git a/src/components/BentoReviews.tsx b/src/components/BentoReviews.tsx index bb45ba0..19e323f 100644 --- a/src/components/BentoReviews.tsx +++ b/src/components/BentoReviews.tsx @@ -78,7 +78,8 @@ export function BentoReviews() { whileInView={{ opacity: 1, y: 0 }} viewport={{ once: false, margin: '0px 0px -100px 0px' }} transition={{ duration: 0.8, delay: 0.3 + i * 0.1 }} - className={cn(i === 3 || i === 6 ? "md:col-span-2" : "", "h-full")} + className={cn(i === 3 || i === 6 ? "md:col-span-2" : "")} + rowHeight={i >= 3 ? "h-[22rem]" : ""} title={item.title} subtitle={item.subtitle} description={item.description} diff --git a/src/components/StackSection.tsx b/src/components/StackSection.tsx index fb3ca02..fea4567 100644 --- a/src/components/StackSection.tsx +++ b/src/components/StackSection.tsx @@ -8,13 +8,6 @@ export function StackSectionPreview() { return (
- {/* Gradient Blob Component */} -
-
{/* Left Column - Text (1/3 width) */} diff --git a/src/components/ui/bento-grid.tsx b/src/components/ui/bento-grid.tsx index f4c1bb8..831e2dd 100644 --- a/src/components/ui/bento-grid.tsx +++ b/src/components/ui/bento-grid.tsx @@ -23,45 +23,57 @@ export const BentoGrid = ({ ); }; -export const BentoGridItem = React.forwardRef(({ className, title, subtitle, description, img, video }, ref) => { - return ( -
-
- {video ? ( -
-
- {title} - {subtitle} - {description} -
-
- ); -}); + rowHeight?: string; +} -BentoGridItem.displayName = 'BentoGridItem'; +export const BentoGridItem = React.forwardRef( + ({ className, title, subtitle, description, img, video, rowHeight }, ref) => { + return ( +
+
+ {video ? ( +
+
+ {title} + {subtitle} + {description} +
+
+ ); + } +); + +BentoGridItem.displayName = "BentoGridItem"; export const MotionBentoGridItem = motion(BentoGridItem);