diff --git a/public/images/testimonials/ajay-pruthi.svg b/public/images/testimonials/ajay-pruthi.svg new file mode 100644 index 0000000..6ca2c14 --- /dev/null +++ b/public/images/testimonials/ajay-pruthi.svg @@ -0,0 +1,10 @@ + + + + + + + + + AP + diff --git a/public/images/testimonials/dhirendra-singh.svg b/public/images/testimonials/dhirendra-singh.svg new file mode 100644 index 0000000..c3f6d21 --- /dev/null +++ b/public/images/testimonials/dhirendra-singh.svg @@ -0,0 +1,10 @@ + + + + + + + + + DS + diff --git a/public/images/testimonials/dilip-raj.svg b/public/images/testimonials/dilip-raj.svg new file mode 100644 index 0000000..66fdd13 --- /dev/null +++ b/public/images/testimonials/dilip-raj.svg @@ -0,0 +1,10 @@ + + + + + + + + + DR + diff --git a/src/pages/index.astro b/src/pages/index.astro index 58ed43b..a97c05f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -91,27 +91,51 @@ const steps = [ }, ]; -// Testimonials data +// Testimonials data. +// +// `image` / `imageAlt` — path to a static asset in /public/images/testimonials. +// The current files are neutral SVG initial-avatars (see public/images/ +// testimonials/*.svg). They were generated as placeholders because we don't +// yet have signed photo releases from these clients; swap in real headshots +// (.jpg / .webp, ≥256×256) by replacing the file at the same path — no +// template change needed. +// `initials` — 2-letter fallback shown if the image fails to load +// (handled by an `onerror` swap in the template). +// `metric` / `metricLabel` — concrete, attributable outcome surfaced as a +// badge beside each quote. Numbers come from the +// delivered case studies referenced in the quote. const testimonials = [ { quote: 'WorkRoot IT Solutions is very professional and responsive. They built PLNR Financing platform with great attention to detail. The Angular + Spring Boot stack works flawlessly and their ongoing support is excellent.', author: 'Ajay Pruthi', role: 'Founder, PLNR', - avatar: 'AP', + image: '/images/testimonials/ajay-pruthi.svg', + imageAlt: 'Portrait of Ajay Pruthi, Founder of PLNR', + initials: 'AP', + metric: '3×', + metricLabel: 'faster loan processing', rating: 5, }, { quote: 'The FPC Cart e-commerce platform delivered by WorkRoot exceeded our expectations. Built with Astro and Golang, it loads incredibly fast and handles our product catalog seamlessly. Their team understood our business needs perfectly.', author: 'Dhirendra Singh', role: 'Director, RENTEC', - avatar: 'DS', + image: '/images/testimonials/dhirendra-singh.svg', + imageAlt: 'Portrait of Dhirendra Singh, Director of RENTEC', + initials: 'DS', + metric: '+42%', + metricLabel: 'organic traffic in 90 days', rating: 5, }, { quote: 'WorkRoot delivered our University Management System for IIT Patna on time and within budget. The Next.js + Spring Boot architecture is robust and scalable. They are a reliable technology partner for complex enterprise projects.', author: 'Dilip Raj', role: 'Director, MOC Soft Technologies Pvt Ltd', - avatar: 'DR', + image: '/images/testimonials/dilip-raj.svg', + imageAlt: 'Portrait of Dilip Raj, Director of MOC Soft Technologies', + initials: 'DR', + metric: '12k+', + metricLabel: 'students served at IIT Patna', rating: 5, }, ]; @@ -524,32 +548,63 @@ const techStack = [
{testimonials.map((testimonial, index) => (
-
- -
- {[...Array(testimonial.rating || 5)].map(() => ( - - ))} +
+ +
+ +
+ {[...Array(testimonial.rating || 5)].map(() => ( + + ))} +
+ + + {testimonial.metric && ( +
+ {testimonial.metric} + {testimonial.metricLabel} +
+ )}
-
+
"{testimonial.quote}"
-
-