fix: rating and middleware

This commit is contained in:
RizqiSyahrendra 2025-04-18 02:00:03 +07:00
parent 9144d393d2
commit 95c4d05005
3 changed files with 21 additions and 10 deletions

View File

@ -71,7 +71,7 @@ export default function Home() {
<div className="cell-inner box-1-outer">
<div className="box-1">
<div className="text-center">
<h2>About Us</h2>
<h2>Experience the Difference in Every Key Turn</h2>
</div>
<div className="mt-4 text-lg">
<p>

View File

@ -34,8 +34,9 @@ export default function GoogleReviewBox() {
</p>
</div>
<div className="quote-modern-meta-outer">
<img className="quote-modern-avatar" src="images/google-provider.svg" alt="" width="40" height="40" />
<StarRating value={5} />
<div className="quote-modern-meta">
<h4 className="quote-modern-cite">Karen Sanders</h4>
</div>
</div>
</div>
</article>
@ -51,8 +52,11 @@ export default function GoogleReviewBox() {
</p>
</div>
<div className="quote-modern-meta-outer">
<img className="quote-modern-avatar" src="images/google-provider.svg" alt="" width="40" height="40" />
<StarRating value={5} />
<div className="quote-modern-meta-outer">
<div className="quote-modern-meta">
<h4 className="quote-modern-cite">Walter Williams</h4>
</div>
</div>
</div>
</div>
</article>
@ -68,8 +72,11 @@ export default function GoogleReviewBox() {
</p>
</div>
<div className="quote-modern-meta-outer">
<img className="quote-modern-avatar" src="images/google-provider.svg" alt="" width="40" height="40" />
<StarRating value={4} />
<div className="quote-modern-meta-outer">
<div className="quote-modern-meta">
<h4 className="quote-modern-cite">Kate Anderson</h4>
</div>
</div>
</div>
</div>
</article>
@ -85,8 +92,11 @@ export default function GoogleReviewBox() {
</p>
</div>
<div className="quote-modern-meta-outer">
<img className="quote-modern-avatar" src="images/google-provider.svg" alt="" width="40" height="40" />
<StarRating value={4.5} />
<div className="quote-modern-meta-outer">
<div className="quote-modern-meta">
<h4 className="quote-modern-cite">Peter Smith</h4>
</div>
</div>
</div>
</div>
</article>

View File

@ -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}`;