diff --git a/src/App.css b/src/App.css
index 74b5e05..b544e18 100644
--- a/src/App.css
+++ b/src/App.css
@@ -1,38 +1,3 @@
-.App {
- text-align: center;
-}
-
-.App-logo {
- height: 40vmin;
- pointer-events: none;
-}
-
-@media (prefers-reduced-motion: no-preference) {
- .App-logo {
- animation: App-logo-spin infinite 20s linear;
- }
-}
-
-.App-header {
- background-color: #282c34;
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- font-size: calc(10px + 2vmin);
- color: white;
-}
-
-.App-link {
- color: #61dafb;
-}
-
-@keyframes App-logo-spin {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
+.MuiTableRow-hover {
+ cursor: pointer;
}
diff --git a/src/App.js b/src/App.js
index 688346a..5dfa6fd 100644
--- a/src/App.js
+++ b/src/App.js
@@ -15,10 +15,12 @@ import Typography from '@mui/material/Typography';
import { ThemeProvider, createTheme } from '@mui/material/styles';
-// Leaflet
-import Map from './Map.js'
+import './App.css'
-function RoomResearch() {
+import Map from './Map.js';
+import Rooms from './Rooms.js';
+
+function RoomResearch({callbackRoomSelected}) {
return <>
@@ -33,6 +35,7 @@ function RoomResearch() {
>
+
>
}
@@ -100,7 +103,7 @@ export default function App() {
>
}
diff --git a/src/App.test.js b/src/App.test.js
deleted file mode 100644
index 1f03afe..0000000
--- a/src/App.test.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import { render, screen } from '@testing-library/react';
-import App from './App';
-
-test('renders learn react link', () => {
- render();
- const linkElement = screen.getByText(/learn react/i);
- expect(linkElement).toBeInTheDocument();
-});
diff --git a/src/Rooms.js b/src/Rooms.js
new file mode 100644
index 0000000..39913d9
--- /dev/null
+++ b/src/Rooms.js
@@ -0,0 +1,29 @@
+import TableContainer from '@mui/material/TableContainer';
+import Table from '@mui/material/Table';
+import TableHead from '@mui/material/TableHead';
+import TableRow from '@mui/material/TableRow';
+import TableCell from '@mui/material/TableCell';
+import TableBody from '@mui/material/TableBody';
+
+export default function Rooms({callbackRoomSelected}) {
+ return
+
+
+
+ Salle
+ Occupants
+
+
+
+ callbackRoomSelected('salle-M-GN1-3-av')}>
+ Amphi A
+ Maths
+
+ callbackRoomSelected('salle-M-GN1-3-ae')}>
+ Amphi B
+ Infos
+
+
+
+
+}