update
All checks were successful
Build And Test / build-and-push (push) Successful in 1m32s

This commit is contained in:
2025-04-24 11:21:23 +09:00
parent 293bcdbea6
commit 35c46cc50e
5 changed files with 146 additions and 2 deletions

View File

@ -5,7 +5,9 @@ import Footer from './components/Footer';
import Home from './pages/Home';
import About from './pages/About';
import PostList from './pages/PostList';
import PostDetail from './pages/PostDetail';
import PostCreate from './pages/PostCreate';
import PostEdit from './pages/PostEdit';
import PostCategory from './pages/PostCategory';
import Login from './pages/Login';
import { AuthProvider } from './context/AuthContext';
@ -21,7 +23,9 @@ function App() {
<Route path="/" element={<Home />} />
<Route path="/about" element={<About />} />
<Route path="/posts" element={<PostList />} />
<Route path="/posts/:id" element={<PostDetail />} />
<Route path="/postCreate" element={<PostCreate />} />
<Route path="/posts/:id/edit" element={<PostEdit />} />
<Route path="/post/:category" element={<PostCategory />} />
<Route path="/login" element={<Login />} />
</Routes>