From 95c4d05005973abfa3b3c5172b2444e36fb93784 Mon Sep 17 00:00:00 2001 From: RizqiSyahrendra Date: Fri, 18 Apr 2025 02:00:03 +0700 Subject: [PATCH] fix: rating and middleware --- src/app/page.tsx | 2 +- src/components/GoogleReviewBox.tsx | 26 ++++++++++++++++++-------- src/middleware.ts | 3 ++- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 4efd142..de68daa 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -71,7 +71,7 @@ export default function Home() {
-

About Us

+

Experience the Difference in Every Key Turn

diff --git a/src/components/GoogleReviewBox.tsx b/src/components/GoogleReviewBox.tsx index 3ec5546..ea9f895 100644 --- a/src/components/GoogleReviewBox.tsx +++ b/src/components/GoogleReviewBox.tsx @@ -34,8 +34,9 @@ export default function GoogleReviewBox() {

- - +
+

Karen Sanders

+
@@ -51,8 +52,11 @@ export default function GoogleReviewBox() {

- - +
+
+

Walter Williams

+
+
@@ -68,8 +72,11 @@ export default function GoogleReviewBox() {

- - +
+
+

Kate Anderson

+
+
@@ -85,8 +92,11 @@ export default function GoogleReviewBox() {

- - +
+
+

Peter Smith

+
+
diff --git a/src/middleware.ts b/src/middleware.ts index e300398..b319af3 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -8,7 +8,8 @@ export function middleware(request: NextRequest) { const host = request.headers.get("x-forwarded-host") || request.nextUrl.hostname; const path = request.nextUrl.pathname + request.nextUrl.search; const siteName = "Dynamic Realty"; - const metaDesc = "Lorem ipsum dolor sit amet."; + const metaDesc = + "Dynamic Realty is a full-service veteran-owned real estate company based in Centerville, GA, established in 2004."; // Construct the full URL const mainUrl = `${protocol}://${host}`;