import { Routes, Route } from 'react-router-dom'
import MemberService from './pages/MemberService'
import PersonalLogin from './pages/PersonalLogin'
import PersonalRegister from './pages/PersonalRegister'
import CompanyLogin from './pages/CompanyLogin'
import CompanyRegister from './pages/CompanyRegister'
import Payment from './pages/Payment'
import MemberValid from './pages/MemberValid'
import MemberRules from './pages/MemberRules'
import Invoice from './pages/Invoice'

function App() {
  return (
    <Routes>
      <Route path="/" element={<MemberService />} />
      <Route path="/personal-login" element={<PersonalLogin />} />
      <Route path="/register" element={<PersonalRegister />} />
      <Route path="/company-login" element={<CompanyLogin />} />
      <Route path="/company-register" element={<CompanyRegister />} />
      <Route path="/payment" element={<Payment />} />
      <Route path="/member-valid" element={<MemberValid />} />
      <Route path="/member-rules" element={<MemberRules />} />
      <Route path="/invoice" element={<Invoice />} />
    </Routes>
  )
}

export default App
