(
>
{list.map((testimonial: TestimonialItemType, idx) => (
))}
{list.map((testimonial: TestimonialItemType, idx) => (
@@ -59,12 +63,14 @@ const TestimonialCol = ({ list, reverse }: TestimonialColProps) => (
>
{list.map((testimonial: TestimonialItemType, idx) => (
))}
{list.map((testimonial: TestimonialItemType, idx) => (
@@ -78,7 +84,7 @@ const getTabletSlices = (list: TestimonialItemType[]) => {
return [list.slice(0, half), list.slice(half)];
};
-const Testimonials = ({ list, noShadow, mask }: TestimonialsType) => {
+const Testimonials = ({ color, list, noShadow, mask }: TestimonialsType) => {
const [col1, col2, col3] = getColumnSlices(list);
const [tabletCol1, tabletCol2] = getTabletSlices(list);
@@ -94,7 +100,7 @@ const Testimonials = ({ list, noShadow, mask }: TestimonialsType) => {
{/* Mobile */}
-
+
{/* Tablet */}
@@ -105,8 +111,8 @@ const Testimonials = ({ list, noShadow, mask }: TestimonialsType) => {
"[&>*:nth-child(2)]:flex [&>*]:flex-1",
)}
>
-
-
+
+
{/* Desktop */}
@@ -117,9 +123,9 @@ const Testimonials = ({ list, noShadow, mask }: TestimonialsType) => {
"[&>*:nth-child(2)]:flex [&>*:nth-child(3)]:flex [&>*]:flex-1",
)}
>
-
-
-
+
+
+