--- import Divider from '@/atoms/divider.astro'; import SectionCard from '@/atoms/section-card.astro'; import Typography from '@/atoms/typography.astro'; import Testimonial from '@/organisms/testimonial.astro'; import type { TestimonialsSection } from '@/types/testimonials-section'; export interface Props extends TestimonialsSection {} const { testimonials, config: { title }, } = Astro.props; --- {title}
{ testimonials.map((testimonial, index) => ( <> {index !== testimonials.length - 1 && } )) }