From e95d7867ec0a2b47afa614b3200a8de5f7e612c0 Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Fri, 3 Apr 2026 19:53:52 +0530 Subject: [PATCH] implement Google Maps reviews API integration and dynamic testimonial slider component --- src/app/api/reviews/route.ts | 2 +- src/components/Testimonials/Testimonials.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/api/reviews/route.ts b/src/app/api/reviews/route.ts index 7e48327..296ff1a 100644 --- a/src/app/api/reviews/route.ts +++ b/src/app/api/reviews/route.ts @@ -11,7 +11,7 @@ interface SerpReview { export async function GET() { const apiKey = "37eb7f83988cfd76ffb5c5af9adc25652efe5607e39997fc7d0e054d690ef25e"; - const placeId = "ChIJJU4PkTL1K4gRPSWJdlAQ7ko"; + const placeId = "ChIJjazCAVJhK4gRUj9RstvmUM0"; let allReviews: SerpReview[] = []; let nextPageToken: string | null = null; diff --git a/src/components/Testimonials/Testimonials.tsx b/src/components/Testimonials/Testimonials.tsx index d79ab63..3764cad 100644 --- a/src/components/Testimonials/Testimonials.tsx +++ b/src/components/Testimonials/Testimonials.tsx @@ -238,12 +238,12 @@ export default function Testimonials() {
- Review Us on Google + Write a Review on Google