diff --git a/client/src/common/layouts/Root/Root.jsx b/client/src/common/layouts/Root/Root.jsx new file mode 100644 index 0000000..99cd1f8 --- /dev/null +++ b/client/src/common/layouts/Root/Root.jsx @@ -0,0 +1,24 @@ +import Header from "@/common/components/Header"; +import "./styles.sass"; +import Footer from "@/common/components/Footer"; +import {useOutlet} from "react-router"; +import Background from "@/common/components/Background"; + +export const Root = () => { + const outlet = useOutlet(); + + return ( +
+
+ +
+ {outlet} +
+ +
+ ); +} \ No newline at end of file