import React from 'react'
import ReactDOM from 'react-dom/client'
import { BrowserRouter, Routes, Route } from 'react-router-dom'
import { LanguageProvider } from './contexts/LanguageContext'
import App from './App.jsx'
import PricingTablePage from './components/PricingTablePage.jsx'
import MetaUpdater from './components/MetaUpdater.jsx'
import './index.css'

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    <LanguageProvider>
      <BrowserRouter>
        <MetaUpdater />
        <Routes>
          <Route path="/" element={<App />} />
          <Route path="/tabel-penawaran" element={<PricingTablePage />} />
        </Routes>
      </BrowserRouter>
    </LanguageProvider>
  </React.StrictMode>,
)
