-
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.
* add not found page * add design lost page
- Loading branch information
1 parent
5259376
commit 3971761
Showing
4 changed files
with
159 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import Button from "@codegouvfr/react-dsfr/Button"; | ||
import ConnectionLost from "../assets/connectionLost.svg"; | ||
|
||
import { useNavigate } from "react-router-dom"; | ||
|
||
function NotFound() { | ||
let navigate = useNavigate(); | ||
return ( | ||
<div className="fr-container"> | ||
<div className="fr-grid-row fr-grid-row--gutters fr-grid-row--middle fr-py-5w"> | ||
<div className="fr-col-6"> | ||
<h1 className="fr-h3 fr-mb-5w">Page non trouvée</h1> | ||
<p className="fr-mb-5w"> | ||
Nous n'arrivons pas à trouver la page que vous souhaitez afficher. | ||
</p> | ||
|
||
<Button onClick={() => navigate(-1)}>Retour</Button> | ||
</div> | ||
<div className="fr-col-6 centered-content"> | ||
<img src={ConnectionLost} alt="" /> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default NotFound; |
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 |
---|---|---|
|
@@ -28,6 +28,7 @@ body { | |
} | ||
|
||
.centered-content { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
|
Oops, something went wrong.