This commit is contained in:
@ -4,7 +4,8 @@ import Navbar from './components/Navbar';
|
||||
import Footer from './components/Footer';
|
||||
import Home from './pages/Home';
|
||||
import About from './pages/About';
|
||||
import Board from './pages/Board';
|
||||
import PostList from './pages/PostList';
|
||||
import PostCreate from './pages/PostCreate';
|
||||
import PostCategory from './pages/PostCategory';
|
||||
import Login from './pages/Login';
|
||||
import { AuthProvider } from './context/AuthContext';
|
||||
@ -19,7 +20,8 @@ function App() {
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/about" element={<About />} />
|
||||
<Route path="/board" element={<Board />} />
|
||||
<Route path="/posts" element={<PostList />} />
|
||||
<Route path="/postCreate" element={<PostCreate />} />
|
||||
<Route path="/post/:category" element={<PostCategory />} />
|
||||
<Route path="/login" element={<Login />} />
|
||||
</Routes>
|
||||
|
Reference in New Issue
Block a user