import React, { useEffect } from 'react'; import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'; import { HelmetProvider } from 'react-helmet-async'; import Layout from './components/Layout'; import ErrorBoundary from './components/ErrorBoundary'; import Home from './pages/Home'; import JsonTool from './pages/JsonTool'; import SerializeTool from './pages/SerializeTool'; import UrlTool from './pages/UrlTool'; import Base64Tool from './pages/Base64Tool'; import CsvJsonTool from './pages/CsvJsonTool'; import BeautifierTool from './pages/BeautifierTool'; import DiffTool from './pages/DiffTool'; import TextLengthTool from './pages/TextLengthTool'; import ObjectEditor from './pages/ObjectEditor'; import TableEditor from './pages/TableEditor'; import InvoiceEditor from './pages/InvoiceEditor'; import InvoicePreview from './pages/InvoicePreview'; import InvoicePreviewMinimal from './pages/InvoicePreviewMinimal'; import ReleaseNotes from './pages/ReleaseNotes'; import TermsOfService from './pages/TermsOfService'; import PrivacyPolicy from './pages/PrivacyPolicy'; import { initGA } from './utils/analytics'; import './index.css'; function App() { // Initialize Google Analytics on app startup useEffect(() => { initGA(); }, []); return ( } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> ); } export default App;