import React from 'react';
import { HashRouter as Router, Routes, Route } from 'react-router-dom';
import { Navbar } from './components/Navbar';
import { Footer } from './components/Footer';
import { Home } from './pages/Home';
import { Services } from './pages/Services';
import { Products } from './pages/Products';
import { References } from './pages/References';
import { Contact } from './pages/Contact';
import { Login } from './pages/auth/Login';
import { Register } from './pages/auth/Register';
import { ForgotPassword } from './pages/auth/ForgotPassword';
import { ResetPassword } from './pages/auth/ResetPassword';
import { Dashboard } from './pages/Dashboard';
import { Admin } from './pages/Admin';
import { Privacy } from './pages/Privacy';
import { Terms } from './pages/Terms';
import { FAQ } from './pages/FAQ';
import { ProtectedRoute } from './components/ProtectedRoute';
import { AuthProvider } from './context/AuthContext';
import ScrollToTop from './components/ScrollToTop';
import { AnalyticsTracker } from './components/AnalyticsTracker';
import { ProfileCompleter } from './components/ProfileCompleter';
import { CookieBanner } from './components/CookieBanner';
// Demo Pages
import { SweetCraving } from './pages/demos/SweetCraving';
import { BlueWave } from './pages/demos/BlueWave';
import { Steelguard } from './pages/demos/Steelguard';
// Helper component to scroll to top on route change
// TEST COMMENT TO TEST VPS UPLOAD 1
// TEST COMMENT TO TEST VPS UPLOAD 2
// TEST COMMENT TO TEST VPS UPLOAD 3
const ScrollToTopHelper = () => {
return ;
};
const App: React.FC = () => {
return (
{/* Main Application Routes */}
>} />
>} />
>} />
>} />
>} />
{/* Info Pages */}
>} />
>} />
>} />
{/* Auth Routes */}
>} />
>} />
>} />
>} />
{/* Protected Routes */}
<>>
}
/>
<>>
}
/>
{/* Demo Routes - These have their own custom layouts/navbars */}
} />
} />
} />
);
};
export default App;