diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index d54a3e8..749868a 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -14,33 +14,35 @@ import EditAccountInfo from "./pages/EditAccountInfo/EditAccountInfo";
import Explore from "./pages/Explore/Explore";
import ThemeProvider from "./context/ThemeProvider/ThemeProvider";
import { getConfig } from "./utility/envHelper/envHelper";
-import { BgLayout } from "./components/BgComponent/BgComponent";
+import Layout from "./Layout";
export const Config = getConfig();
function App() {
return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ } />
+ }
+ />
+ } />
+ } />
+
+
+
+
);
}
diff --git a/frontend/src/Layout.jsx b/frontend/src/Layout.jsx
new file mode 100644
index 0000000..3afbb7e
--- /dev/null
+++ b/frontend/src/Layout.jsx
@@ -0,0 +1,22 @@
+import React from "react";
+import Navbar from "./components/Navbar/Navbar";
+import Footer from "./components/Footer/Footer";
+import BgComponent from "./components/BgComponent/BgComponent";
+import './index.css';
+
+const Layout = ({ children }) => {
+ return (
+
+ );
+};
+
+export default Layout;
\ No newline at end of file
diff --git a/frontend/src/components/BgComponent/BgComponent.jsx b/frontend/src/components/BgComponent/BgComponent.jsx
index 18a6965..65d3746 100644
--- a/frontend/src/components/BgComponent/BgComponent.jsx
+++ b/frontend/src/components/BgComponent/BgComponent.jsx
@@ -21,33 +21,4 @@ const BgComponent = () => {
);
};
-const BgLayout = (Component, useLayout = true) => {
- return (props) => {
- if (useLayout) {
- return (
-
- );
- }
- return ;
- };
-};
-
-export { BgLayout };
export default BgComponent;
diff --git a/frontend/src/index.css b/frontend/src/index.css
index 95fa797..0ea66c2 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -49,3 +49,17 @@ body {
color: var(--text-color);
background-color: var(--secondary-color);
}
+
+/* Layout Styles */
+.layoutWrapper{
+ min-height: 100vh;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+}
+
+/* BgComponent Styles */
+.bgCompWrapper{
+ position: absolute;
+ z-index: -99999;
+}
\ No newline at end of file
diff --git a/frontend/src/index.js b/frontend/src/index.js
index 47f9be4..9bb88a8 100644
--- a/frontend/src/index.js
+++ b/frontend/src/index.js
@@ -14,5 +14,6 @@ root.render(
}}
>
+
);