diff options
Diffstat (limited to 'client/src/pages/Home/Home.jsx')
-rw-r--r-- | client/src/pages/Home/Home.jsx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/client/src/pages/Home/Home.jsx b/client/src/pages/Home/Home.jsx new file mode 100644 index 0000000..32bb815 --- /dev/null +++ b/client/src/pages/Home/Home.jsx @@ -0,0 +1,18 @@ +import { Routes, Route } from "react-router-dom"; +import styles from "./Home.module.css"; +import Header from "../../components/Header/Header"; +import Editor from "../../components/Editor/Editor"; + +const Home = () => { + return ( + <div className={styles.home}> + <Header /> + <Routes> + <Route path="/" element={<Editor />} /> + <Route path="/:id" element={<Editor />} /> + </Routes> + </div> + ); +}; + +export default Home; |