diff --git a/ludos/frontend/src/App.js b/ludos/frontend/src/App.js
index 9dbafa50..000eda1c 100644
--- a/ludos/frontend/src/App.js
+++ b/ludos/frontend/src/App.js
@@ -1,15 +1,17 @@
import React from 'react';
-import Layout from './layout'; // Import your Layout component here
+import Layout from './layout'; // Make sure to import your Layout component
+import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
+import LandingPage from './pages/landingPage'; // Import your LandingPage component
function App() {
return (
-
-
-
+
+
+
+ } />
+
+
+
);
}
diff --git a/ludos/frontend/src/components/sidebar.js b/ludos/frontend/src/components/sidebar.js
index 67495b96..cc15a930 100644
--- a/ludos/frontend/src/components/sidebar.js
+++ b/ludos/frontend/src/components/sidebar.js
@@ -15,7 +15,7 @@ import Menu from '@material-ui/core/Menu';
import MenuItem from '@material-ui/core/MenuItem';
import { Link } from 'react-router-dom';
-const drawerWidth = 100; // Adjust the width as needed
+const drawerWidth = 105; // Adjust the width as needed
const useStyles = makeStyles((theme) => ({
root: {
@@ -159,9 +159,7 @@ function Sidebar() {
-
- {/* Your main content goes here */}
-
+
);
}
diff --git a/ludos/frontend/src/layout.js b/ludos/frontend/src/layout.js
index 9541bb1f..7533e18c 100644
--- a/ludos/frontend/src/layout.js
+++ b/ludos/frontend/src/layout.js
@@ -1,29 +1,23 @@
import React from 'react';
-import { makeStyles } from '@material-ui/core/styles';
-import CssBaseline from '@material-ui/core/CssBaseline';
-import Sidebar from './components/sidebar';
-import { BrowserRouter as Router } from 'react-router-dom';
-
-const drawerWidth = 240;
-
-const useStyles = makeStyles((theme) => ({
- root: {
- display: 'flex',
- backgroundColor: '#0C1929',
- },
-}));
-
-function Layout() {
- const classes = useStyles();
+import Sidebar from './components/sidebar'; // Import your Sidebar component
+import Box from '@mui/material/Box';
+const Layout = ({ children }) => {
return (
-
-
-
-
-
-
+
+ {/* Add the Sidebar component */}
+
+ {children}
+
+
);
-}
+};
export default Layout;
diff --git a/ludos/frontend/src/pages/Homepage.js b/ludos/frontend/src/pages/Homepage.js
deleted file mode 100644
index e69de29b..00000000
diff --git a/ludos/frontend/src/pages/landingPage.js b/ludos/frontend/src/pages/landingPage.js
new file mode 100644
index 00000000..4c3e9626
--- /dev/null
+++ b/ludos/frontend/src/pages/landingPage.js
@@ -0,0 +1,17 @@
+import React from 'react';
+
+function WelcomePage() {
+ const style = {
+ color: '#569CB1',
+ fontWeight: 'bold',
+ };
+
+ return (
+
+
Welcome!
+
This page is under construction.
+
+ );
+}
+
+export default WelcomePage;