diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx new file mode 100644 index 0000000..20f4c90 --- /dev/null +++ b/frontend/src/components/Header.tsx @@ -0,0 +1,11 @@ +import React from "react"; + +const Header: React.FC = () => { + return ( +
+

Header

+
+ ); +}; + +export default Header; diff --git a/frontend/src/layout/Layout.tsx b/frontend/src/layout/Layout.tsx new file mode 100644 index 0000000..6f20ddc --- /dev/null +++ b/frontend/src/layout/Layout.tsx @@ -0,0 +1,32 @@ +import React from "react"; +import Header from "../components/Header"; +import "../App.css"; +import { ToastContainer } from "react-toastify"; + +type LayoutProps = { + children: React.ReactNode; +}; + +const Layout: React.FC = ({ children }) => { + return ( + <> +
+
{children}
+
+ + + ); +}; + +export default Layout;