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 testimonialcompany
: The company or position of the personquote
: The testimonial textimageId
: 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.