Spaces:
Build error
Build error
Upload src/components/Testimonials.tsx
Browse files
src/components/Testimonials.tsx
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const testimonials = [
|
| 2 |
+
{ name:'Amaya & Ruwan', location:'Colombo', text:'Evermore made our wedding planning feel effortless. The contract system gave us so much confidence — every detail was documented and tracked.', rating:5 },
|
| 3 |
+
{ name:'Nisha & Kaveen', location:'Kandy', text:'We compared 12 photographers side by side, shortlisted our top 3, and had a signed contract within a week. The audit trail is brilliant.', rating:5 },
|
| 4 |
+
{ name:'Thilini & Ashan', location:'Galle', text:'The budget tracker saved us. We knew exactly where every rupee was going. Our planner dashboard kept everything on schedule.', rating:5 },
|
| 5 |
+
]
|
| 6 |
+
|
| 7 |
+
export default function Testimonials() {
|
| 8 |
+
return (
|
| 9 |
+
<section className="py-20 bg-ivory-100">
|
| 10 |
+
<div className="wedding-section">
|
| 11 |
+
<div className="text-center mb-12">
|
| 12 |
+
<p className="text-gold-400 font-heading text-sm tracking-[0.2em] uppercase mb-3">Love stories</p>
|
| 13 |
+
<h2 className="font-heading text-3xl md:text-4xl font-semibold text-charcoal-700">Couples love Evermore</h2>
|
| 14 |
+
<div className="wedding-divider mt-6" />
|
| 15 |
+
</div>
|
| 16 |
+
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
|
| 17 |
+
{testimonials.map((t) => (
|
| 18 |
+
<div key={t.name} className="wedding-card p-8">
|
| 19 |
+
<div className="flex gap-0.5 mb-4">
|
| 20 |
+
{Array.from({length:t.rating}).map((_,i)=><span key={i} className="text-gold-400 text-lg">★</span>)}
|
| 21 |
+
</div>
|
| 22 |
+
<p className="text-charcoal-500 text-sm leading-relaxed mb-6 italic">“{t.text}”</p>
|
| 23 |
+
<div className="flex items-center gap-3">
|
| 24 |
+
<div className="w-10 h-10 rounded-full bg-gradient-to-br from-rose-200 to-gold-200 flex items-center justify-center text-sm font-heading font-semibold text-charcoal-600">{t.name.charAt(0)}</div>
|
| 25 |
+
<div>
|
| 26 |
+
<p className="font-heading text-sm font-semibold text-charcoal-700">{t.name}</p>
|
| 27 |
+
<p className="text-xs text-charcoal-300">{t.location}</p>
|
| 28 |
+
</div>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
))}
|
| 32 |
+
</div>
|
| 33 |
+
</div>
|
| 34 |
+
</section>
|
| 35 |
+
)
|
| 36 |
+
}
|