-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add questionings filters (#98)
* feat: add questionings filters * fix: inputProps type in search fields props * feat: add collect filter (#99) * feat: add blank target on questioning button
- Loading branch information
1 parent
602f3e4
commit a97978d
Showing
20 changed files
with
455 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,33 @@ | ||
import { Stack, Typography, Box, Link } from "@mui/material"; | ||
import { Stack, Typography, Box, Card, Button } from "@mui/material"; | ||
import { Link } from "../ui/Link.tsx"; | ||
import { Row } from "../ui/Row.tsx"; | ||
import { PropsWithChildren } from "react"; | ||
import { Link as RouterLink } from "react-router-dom"; | ||
|
||
export function LogoutPage() { | ||
return ( | ||
<> | ||
<Stack | ||
position="relative" | ||
sx={{ | ||
background: "linear-gradient(270deg, #21005D 0%, #9A82DB 0%, #E12358 90%)", | ||
}} | ||
justifyContent="center" | ||
alignItems="center" | ||
minHeight={500} | ||
height="calc(100vh - 230px)" | ||
> | ||
<Typography variant="displaySmall" fontWeight={400} color="white"> | ||
{"Vous avez été deconnecté,"} | ||
</Typography> | ||
<Row spacing={2}> | ||
<Typography variant="displaySmall" fontWeight={400} color="white"> | ||
{"pour revenir sur "} | ||
</Typography> | ||
<Row typography="headlineMedium" gap={0.25} color="red.main" component="span"> | ||
<Box | ||
sx={{ | ||
width: "90vw", | ||
height: "90vh", | ||
display: "flex", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
margin: "auto", | ||
}} | ||
> | ||
<Card sx={{ p: 5, width: "500px" }} elevation={2}> | ||
<Stack gap={5} alignItems={"center"}> | ||
<Row typography="headlineLarge" gap={0.5} color="red.main" component="span"> | ||
<Box component="span" color="black.main" fontWeight={600}> | ||
Platine | ||
</Box> | ||
Gestion | ||
</Row> | ||
, | ||
</Row> | ||
<Typography variant="displaySmall" fontWeight={400} color="white" component={HomeLink}> | ||
{"cliquez ici"} | ||
</Typography> | ||
</Stack> | ||
</> | ||
<Typography variant="headlineLarge">Vous avez été déconnecté.</Typography> | ||
<Button variant="contained" sx={{ py: 1 }} component={Link} to={"/"}> | ||
Se reconnecter | ||
</Button> | ||
</Stack> | ||
</Card> | ||
</Box> | ||
); | ||
} | ||
|
||
const HomeLink = (props: PropsWithChildren) => { | ||
return <Link component={RouterLink} underline="none" to="/" {...props} />; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.