diff --git a/.gitignore b/.gitignore
index 172702b40..997dff9c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
+.idea
.vscode
.VSCodeCounter
\ No newline at end of file
diff --git a/client/src/Components/v2/Layouts/RootLayout.tsx b/client/src/Components/v2/Layouts/RootLayout.tsx
new file mode 100644
index 000000000..be2f42e30
--- /dev/null
+++ b/client/src/Components/v2/Layouts/RootLayout.tsx
@@ -0,0 +1,50 @@
+import { useState, useEffect } from "react";
+import useMediaQuery from "@mui/material/useMediaQuery";
+import { useTheme } from "@mui/material/styles";
+
+import { Outlet } from "react-router";
+import Stack from "@mui/material/Stack";
+import Box from "@mui/material/Box";
+
+const COLLAPSED_WIDTH = 50;
+const EXPANDED_WIDTH = 250;
+
+const SideBar = () => {
+ const theme = useTheme();
+ const isSmall = useMediaQuery(theme.breakpoints.down("md"));
+
+ const [collapsed, setCollapsed] = useState(false);
+ useEffect(() => {
+ setCollapsed(isSmall);
+ }, [isSmall]);
+ return (
+
+ setCollapsed(!collapsed)}
+ >
+ Sidebar Content
+
+
+ );
+};
+
+const RootLayout = () => {
+ return (
+
+
+
+
+ );
+};
+
+export default RootLayout;
diff --git a/client/src/Routes/v2router.tsx b/client/src/Routes/v2router.tsx
index cd1cf2cc2..d450854f9 100644
--- a/client/src/Routes/v2router.tsx
+++ b/client/src/Routes/v2router.tsx
@@ -2,10 +2,9 @@ import { Routes, Route } from "react-router";
import { ThemeProvider } from "@emotion/react";
import { lightTheme, darkTheme } from "@/Utils/Theme/v2/theme";
-// v2 pages
import AuthLoginV2 from "@/Pages/v2/Auth/Login";
import AuthRegisterV2 from "@/Pages/v2/Auth/Register";
-// import other v2 pages here...
+import RootLayout from "@/Components/v2/Layouts/RootLayout";
const V2Routes = ({ mode = "light" }) => {
const v2Theme = mode === "light" ? lightTheme : darkTheme;
@@ -21,6 +20,15 @@ const V2Routes = ({ mode = "light" }) => {
path="register"
element={}
/>
+ }
+ >
+ Test Page}
+ />
+
);