Files
computer-repair/src/app/review/route.js
T
asownerytandClaude Opus 5.5 4d901b351e Phase 5: contact, conversion and tracking hooks
- Contact page: Call/Text/WhatsApp at the top, hours, drop-off address,
  service area, map, and the quote form
- Quote form: device, problem, preferred contact; email required, phone
  optional; labels wired to inputs; _gotcha honeypot; AJAX submit to
  form.taxi with an inline "same day during business hours" message and
  an error fallback (still posts normally without JavaScript)
- Analytics hooks for click_call, click_text, click_email,
  submit_quote_form and click_google_reviews; no-ops until Plausible
  is installed
- /review redirects (307) to the Google review link
- Maps embed moved to one MapEmbed component

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-30 20:48:56 +13:00

7 lines
198 B
JavaScript

import { business } from "@/lib/site";
// Short link to text customers after a job: teatatucomputers.com/review
export function GET() {
return Response.redirect(business.googleReviewUrl, 307);
}