Beta and env changes

This commit is contained in:
jackiettran
2025-07-31 22:06:03 -04:00
parent 7c6c120969
commit 8a02304da8
6 changed files with 215 additions and 39 deletions

View File

@@ -1,6 +1,7 @@
import React from 'react';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import { AuthProvider } from './contexts/AuthContext';
import BetaPasswordProtection from './components/BetaPasswordProtection';
import Navbar from './components/Navbar';
import Footer from './components/Footer';
import Home from './pages/Home';
@@ -22,12 +23,13 @@ import './App.css';
function App() {
return (
<AuthProvider>
<Router>
<div className="d-flex flex-column min-vh-100">
<Navbar />
<main className="flex-grow-1">
<Routes>
<BetaPasswordProtection>
<AuthProvider>
<Router>
<div className="d-flex flex-column min-vh-100">
<Navbar />
<main className="flex-grow-1">
<Routes>
<Route path="/" element={<Home />} />
<Route path="/login" element={<Login />} />
<Route path="/register" element={<Register />} />
@@ -104,6 +106,7 @@ function App() {
</div>
</Router>
</AuthProvider>
</BetaPasswordProtection>
);
}