Multi-page public site (Next.js), Node/Express backend with Postgres, and Vite admin/account app, restructured from a single-page layout into dedicated service, promotions, cases, about, FAQ, and blog pages for SEO. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013otXCiTZsxdZ4SJKZ9wUky
12 lines
216 B
React
12 lines
216 B
React
'use client';
|
|
|
|
import { useEffect } from 'react';
|
|
import { clientApi } from '../lib/clientApi.js';
|
|
|
|
export default function VisitTracker() {
|
|
useEffect(() => {
|
|
clientApi.trackVisit();
|
|
}, []);
|
|
return null;
|
|
}
|