import { Routes, Route } from 'react-router-dom'
import Navbar from './components/Navbar'
import Landing from './pages/Landing'
import Estimator from './pages/Estimator'
import FFPAdvisor from './pages/FFPAdvisor'
import Intel from './pages/Intel'
import AboutDeveloper from './pages/AboutDeveloper'
import SecretGate, { useAccessControl } from './components/SecretGate'

export default function App() {
  return (
    <>
      <Navbar />
      <Routes>
        <Route path="/"         element={<Landing   />} />
        <Route path="/estimate" element={<Estimator />} />
        <Route path="/ffp"      element={<FFPAdvisor/>} />
        <Route path="/intel"    element={<Intel     />} />
        <Route path="/about"    element={<AboutDeveloper />} />
      </Routes>
    </>
  )
}
