--- template/app/src/landing-page/components/Testimonials.tsx +++ opensaas-sh/app/src/landing-page/components/Testimonials.tsx @@ -1,4 +1,3 @@ -import { useState } from "react"; import { Card, CardContent, @@ -21,18 +20,12 @@ }: { testimonials: Testimonial[]; }) { - const [isExpanded, setIsExpanded] = useState(false); - const shouldShowExpand = testimonials.length > 5; - const mobileItemsToShow = 3; - const itemsToShow = - shouldShowExpand && !isExpanded ? mobileItemsToShow : testimonials.length; - return (