-
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.
Display message if there is no gpu data
- Loading branch information
Showing
3 changed files
with
45 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
|
||
const NoticeContainer = styled.div` | ||
margin: 2rem 1rem; | ||
`; | ||
|
||
const NoticeBody = styled.div` | ||
flex-direction: column; | ||
display: flex; | ||
gap: 0.5rem; | ||
`; | ||
|
||
|
||
const GpuStatus: React.FC = () => { | ||
return ( | ||
<NoticeContainer className="fr-notice fr-notice--info"> | ||
<div className="fr-container"> | ||
<NoticeBody className="fr-notice__body"> | ||
<p className="fr-notice__title">Données de zonages d'urbanisme non disponibles.</p> | ||
<p className="fr-notice__desc fr-text--sm">Les données de zonages d'urbanisme issus du GPU (Géoportail de l'Urbanisme) ne sont pas disponibles sur ce territoire.</p> | ||
</NoticeBody> | ||
</div> | ||
</NoticeContainer> | ||
); | ||
}; | ||
|
||
export default GpuStatus; |
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