From 835f4474d85888878edfd0abbb5f8b19a3f570c6 Mon Sep 17 00:00:00 2001 From: akash Date: Sat, 15 Nov 2025 19:54:48 +0530 Subject: [PATCH] seo testing updated --- app/about/AboutContent.js | 16 +- app/api/reviews/route.js | 46 +++++ app/blog/page.js | 4 +- app/contact/ContactForm.js | 4 +- app/contact/page.js | 9 +- app/gallery/page.js | 13 +- app/layout.js | 131 ++++++++++--- app/menu/MenusClient.js | 12 +- components/elements/FAQAccordion.js | 2 +- components/elements/VideoPopup.js | 2 +- components/layout/Breadcrumb.js | 2 +- components/layout/Menu.js | 2 +- components/layout/Menu5.js | 2 +- components/layout/MobileMenu.js | 2 +- components/layout/Sidebar.js | 8 +- components/layout/footer/Footer2.js | 18 +- components/layout/footer/Footer3.js | 2 +- components/layout/footer/Footer4.js | 2 +- components/layout/header/Header1.js | 4 +- components/layout/header/Header2.js | 2 +- components/layout/header/Header3.js | 4 +- components/layout/header/Header4.js | 2 +- components/layout/header/Header5.js | 4 +- components/sections/home1/Banner.js | 6 +- components/sections/home1/Beverage.js | 16 +- components/sections/home1/Blog.js | 6 +- components/sections/home1/Fluid.js | 2 +- components/sections/home1/Gallery.js | 40 ++-- components/sections/home1/Juice.js | 2 +- components/sections/home1/Recipe.js | 10 +- components/sections/home1/Testimonial.js | 6 +- components/sections/home1/client-review.js | 101 +++++++++- components/sections/home2/Banner.js | 6 +- components/sections/home2/Gallery.js | 12 +- components/sections/home2/History.js | 4 +- components/sections/home2/Menus.js | 12 +- components/sections/home2/Specials.js | 28 +-- components/sections/home2/blog.js | 4 +- components/sections/home3/AboutNews.js | 6 +- components/sections/home3/Blog.js | 10 +- components/sections/home3/Blog2.js | 12 +- components/sections/home3/Experience.js | 2 +- components/sections/home3/Instagram.js | 48 ++--- components/sections/home3/PopularRecipe.js | 48 ++--- components/sections/home3/Recipe.js | 12 +- components/sections/home3/Recipe2.js | 8 +- components/sections/home3/video.js | 2 +- components/sections/home4/Clients.js | 14 +- components/sections/home4/Gallery.js | 12 +- components/sections/home4/Menu.js | 6 +- components/sections/home4/Menu2.js | 18 +- components/sections/home4/Menu3.js | 18 +- components/sections/home4/Staff.js | 8 +- components/sections/home4/Tips.js | 6 +- components/sections/home4/Video.js | 2 +- components/slider/GallerySlider1.js | 40 ++-- public/assets/css/global.css | 15 ++ public/assets/css/owl.css | 2 +- public/assets/css/responsive.css | 57 +++--- public/assets/css/style.css | 204 +++++++++++++++------ public/sitemap.xml | 2 +- utils/constant.utils.js | 24 +-- 62 files changed, 735 insertions(+), 389 deletions(-) create mode 100644 app/api/reviews/route.js diff --git a/app/about/AboutContent.js b/app/about/AboutContent.js index 9045619..4b3d5da 100644 --- a/app/about/AboutContent.js +++ b/app/about/AboutContent.js @@ -37,10 +37,10 @@ export default function AboutContent() {
- + About Sixty5 Street restaurant in Brampton Ontario
- + Sixty5 Street about page design element Brampton
@@ -76,27 +76,27 @@ export default function AboutContent() {
- + Sixty5 Street fresh ingredients card Brampton ON
-
Bold Flavours
+

Bold Flavours

Every item is created to deliver bright, bold flavour. From our signature blends to our colourful bowls, we make sure each serving tastes fresh, lively, and instantly enjoyable.
- + Sixty5 Street fast service card Brampton Ontario
-
Real Fruits
+

Real Fruits

We use high-quality fruits chosen for their natural sweetness and freshness. This ensures every mix, topping, and serving brings out authentic, clean flavour.
- + Sixty5 Street unique flavours card Brampton ON
-
Healthy Blends
+

Healthy Blends

Our blends are crafted to be both nourishing and delicious. Light, refreshing, and made fresh to order — perfect for energizing your day without compromise.
diff --git a/app/api/reviews/route.js b/app/api/reviews/route.js new file mode 100644 index 0000000..4f2c524 --- /dev/null +++ b/app/api/reviews/route.js @@ -0,0 +1,46 @@ +export async function GET() { + const apiKey = "37eb7f83988cfd76ffb5c5af9adc25652efe5607e39997fc7d0e054d690ef25e"; + const placeId = "ChIJc-0YDrs9K4gRyZNjbj14s70"; + + let allReviews = []; + let nextPageToken = null; + + try { + while (true) { + const url = `https://serpapi.com/search.json?engine=google_maps_reviews&hl=en&api_key=${apiKey}&place_id=${placeId}${ + nextPageToken ? `&next_page_token=${nextPageToken}` : "" + }`; + + const response = await fetch(url); + const data = await response.json(); + + if (data.reviews && data.reviews.length > 0) { + allReviews = [...allReviews, ...data.reviews]; + } + + // Stop if no next page + if (!data.serpapi_pagination || !data.serpapi_pagination.next_page_token) { + break; + } + + nextPageToken = data.serpapi_pagination.next_page_token; + + // SerpAPI requires 2–3 seconds delay before using next_page_token + await new Promise((resolve) => setTimeout(resolve, 2500)); + } + + return new Response( + JSON.stringify({ reviews: allReviews, total: allReviews.length }), + { + status: 200, + headers: { "Content-Type": "application/json" }, + } + ); + } catch (error) { + console.error(error); + return new Response(JSON.stringify({ error: "Failed to fetch reviews" }), { + status: 500, + headers: { "Content-Type": "application/json" }, + }); + } +} diff --git a/app/blog/page.js b/app/blog/page.js index 3de4db7..5064293 100644 --- a/app/blog/page.js +++ b/app/blog/page.js @@ -57,11 +57,11 @@ export default function Blog() { {/* Blog Title */}
-

+

{truncateTitle(stripHtml(blog.title), 30)} -

+ {/* Blog Excerpt */}

diff --git a/app/contact/ContactForm.js b/app/contact/ContactForm.js index 22e6c68..662bf87 100644 --- a/app/contact/ContactForm.js +++ b/app/contact/ContactForm.js @@ -44,8 +44,8 @@ export default function ContactForm() { const emailData = { ...formData, recaptchaToken: captchaToken, - to: "info@metatroncubesolutions.com", - senderName: "Website Contact Form", + to: "sixty5street@gmail.com", + senderName: "Sixty5Street Contact Form", message: ` Name: ${formData.name}
Email: ${formData.email}
diff --git a/app/contact/page.js b/app/contact/page.js index 7799615..1e70d07 100644 --- a/app/contact/page.js +++ b/app/contact/page.js @@ -2,8 +2,8 @@ import Layout from "@/components/layout/Layout"; import ContactForm from "./ContactForm"; export const metadata = { - title: "Contact Sixty5 Street – Get in Touch with Us", - description: "Have questions or crave something special? Reach out to Sixty5 Street. We’re here for you with fresh street-food passion. Let’s talk wings, wraps and more.", + title: "Contact Sixty5 Street – Get in Touch with Us", + description: "Have questions or crave something special? Reach out to Sixty5 Street. We’re here for you with fresh street-food passion. Let’s talk wings, wraps and more.", } export default function Contact() { @@ -32,6 +32,11 @@ export default function Contact() {