From 02584c6a826e95533be78452262126f2e77e310f Mon Sep 17 00:00:00 2001 From: Adrien Vannson Date: Wed, 5 Oct 2022 15:22:02 +0200 Subject: [PATCH] About dialog --- src/App.js | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/src/App.js b/src/App.js index 49949e2..8cf1f59 100644 --- a/src/App.js +++ b/src/App.js @@ -6,6 +6,12 @@ import Typography from '@mui/material/Typography'; import Button from '@mui/material/Button'; import TextField from '@mui/material/TextField'; import Container from '@mui/material/Container'; +import Dialog from '@mui/material/Dialog'; +import DialogActions from '@mui/material/DialogActions'; +import DialogContent from '@mui/material/DialogContent'; +import DialogContentText from '@mui/material/DialogContentText'; +import DialogTitle from '@mui/material/DialogTitle'; + function RoomResearch() { return <> @@ -13,7 +19,7 @@ function RoomResearch() { Rechercher une salle - + { + setOpenAboutModal(true); + }; + + const handleCloseAboutModal = () => { + setOpenAboutModal(false); + }; + return <> @@ -36,16 +52,35 @@ function TopBar() { - + + + + + {"À propos d'ENcarteS"} + + + + ENcarteS permet de rechercher les salles de l'ENS ! + + + + + + } export default function App() { return <> - +