Skip to main content

TestimonialSection

The TestimonialSection component displays customer testimonials.

Usage

import TestimonialSection from "@/components/homepage/TestimonialSection";
import { config } from "@/config";

function HomePage() {
return <TestimonialSection testimonials={config.homepage.testimonials} />;
}

Props

  • testimonials: An array of testimonial objects, each containing:
    • name: The name of the person giving the testimonial
    • company: The company or position of the person
    • quote: The testimonial text
    • imageId: The ID of the image to use for the testimonial

Functionality

  • Displays a grid of testimonials
  • Shows the person's image, name, company, and quote for each testimonial

Customization

The component uses Tailwind CSS for styling. You can customize the appearance by modifying the CSS classes or updating the Tailwind configuration.