diff --git a/src/App.jsx b/src/App.jsx index ca3bbe8..397d35e 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -11,11 +11,11 @@ import './App.css'; const router = createBrowserRouter([ { - path: '/', + path: '/but-how-do-I/', element: }, { - path: '/post/:title', + path: '/but-how-do-I/post/:title', element: ( diff --git a/src/components/PostGrid/index.jsx b/src/components/PostGrid/index.jsx index 2e093a2..13ee356 100644 --- a/src/components/PostGrid/index.jsx +++ b/src/components/PostGrid/index.jsx @@ -8,7 +8,7 @@ const PostGrid = ({ title, tags }) => { }, [tags]); return ( - +
+