-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from DISIC/feat/footer-pages
feat: add footer pages
- Loading branch information
Showing
9 changed files
with
751 additions
and
11 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
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,246 @@ | ||
import { fr } from '@codegouvfr/react-dsfr'; | ||
import Head from 'next/head'; | ||
import React from 'react'; | ||
import { ACCESSIBILITE } from '../utils/content'; | ||
import { makeStyles } from '@codegouvfr/react-dsfr/tss'; | ||
|
||
const Accessibility = () => { | ||
const { cx, classes } = useStyles(); | ||
|
||
return ( | ||
<> | ||
<Head> | ||
<title>Accessibilité | Je donne mon avis</title> | ||
<meta | ||
name="description" | ||
content={`Accessibilité | Je donne mon avis`} | ||
/> | ||
</Head> | ||
<div | ||
className={fr.cx( | ||
'fr-container', | ||
'fr-col-lg-10', | ||
'fr-col-xl-8', | ||
'fr-pt-20v', | ||
'fr-pb-8v' | ||
)} | ||
> | ||
<div | ||
className={fr.cx( | ||
'fr-grid-row', | ||
'fr-grid-row--gutters', | ||
'fr-grid-row--middle' | ||
)} | ||
> | ||
<div className={cx(classes.accessibilityWrapper)}> | ||
<h1>Accessibilité</h1> | ||
<section> | ||
<h2>Déclaration d'accessibilité</h2> | ||
<p>{ACCESSIBILITE.declaration}</p> | ||
<p>{ACCESSIBILITE.introStrategy}</p> | ||
<ul> | ||
{ACCESSIBILITE.strategy.map((item, index) => ( | ||
<li key={index}> | ||
<a href={item.link} target="blank"> | ||
{item.text} | ||
</a> | ||
</li> | ||
))} | ||
</ul> | ||
<p>{ACCESSIBILITE.strategyEnd}</p> | ||
</section> | ||
<section> | ||
<h3>État de conformité</h3> | ||
<p>{ACCESSIBILITE.conformity}</p> | ||
</section> | ||
<section> | ||
<h3>Résultats des tests</h3> | ||
<p>{ACCESSIBILITE.testResultIntro}</p> | ||
<ul> | ||
{ACCESSIBILITE.testResults.map((item, index) => ( | ||
<li key={index}>{item}</li> | ||
))} | ||
</ul> | ||
</section> | ||
<section> | ||
<h3>Contenus non accessibles</h3> | ||
<p>{ACCESSIBILITE.nonAccessibleContent.contentIntro}</p> | ||
<p>Images</p> | ||
<ul> | ||
{ACCESSIBILITE.nonAccessibleContent.images.map( | ||
(item, index) => ( | ||
<li key={index}>{item}</li> | ||
) | ||
)} | ||
</ul> | ||
<p>Couleurs</p> | ||
<ul> | ||
{ACCESSIBILITE.nonAccessibleContent.colors.map( | ||
(item, index) => ( | ||
<li key={index}>{item}</li> | ||
) | ||
)} | ||
</ul> | ||
<p>Scripts</p> | ||
<p>Dans la page 'Observatoire' :</p> | ||
<ul> | ||
{ACCESSIBILITE.nonAccessibleContent.scripts.map( | ||
(item, index) => ( | ||
<li key={index}>{item}</li> | ||
) | ||
)} | ||
</ul> | ||
<p>Dans la page “Conditions générales d’utilisation” : </p> | ||
<ul> | ||
{ACCESSIBILITE.nonAccessibleContent.cgu.map((item, index) => ( | ||
<li key={index}>{item}</li> | ||
))} | ||
</ul> | ||
<p>Structuration</p> | ||
<ul> | ||
{ACCESSIBILITE.nonAccessibleContent.structuration.map( | ||
(item, index) => ( | ||
<li key={index}>{item}</li> | ||
) | ||
)} | ||
</ul> | ||
<p>Présentation de l’information</p> | ||
<ul> | ||
{ACCESSIBILITE.nonAccessibleContent.presentation.map( | ||
(item, index) => ( | ||
<li key={index}>{item}</li> | ||
) | ||
)} | ||
</ul> | ||
<p>Formulaires</p> | ||
<ul> | ||
{ACCESSIBILITE.nonAccessibleContent.forms.map((item, index) => ( | ||
<li key={index}>{item}</li> | ||
))} | ||
</ul> | ||
<p>Navigation</p> | ||
<ul> | ||
{ACCESSIBILITE.nonAccessibleContent.navigation.map( | ||
(item, index) => ( | ||
<li key={index}>{item}</li> | ||
) | ||
)} | ||
</ul> | ||
</section> | ||
<section> | ||
<h3>Dérogations pour charge disproportionnée</h3> | ||
<p>{ACCESSIBILITE.disproportionateBurden}</p> | ||
</section> | ||
<section> | ||
<h3> | ||
Contenus non soumis à l'obligation d'accessibilité | ||
</h3> | ||
<p>{ACCESSIBILITE.notSubjectContent}</p> | ||
</section> | ||
<section> | ||
<h3>Établissement de cette déclaration d'accessibilité</h3> | ||
<p>{ACCESSIBILITE.establishment}</p> | ||
</section> | ||
<section> | ||
<p>Technologies utilisées pour la réalisation du site web</p> | ||
<ul> | ||
{ACCESSIBILITE.technologies.map((tech, index) => ( | ||
<li key={index}>{tech}</li> | ||
))} | ||
</ul> | ||
<p>{ACCESSIBILITE.testPageIntro}</p> | ||
</section> | ||
<section> | ||
<ul> | ||
{ACCESSIBILITE.testTools.map((tool, index) => ( | ||
<li key={index}>{tool}</li> | ||
))} | ||
</ul> | ||
</section> | ||
<section> | ||
<p>{ACCESSIBILITE.toolsIntro}</p> | ||
|
||
<ul> | ||
{ACCESSIBILITE.toolsEval.map((tool, index) => ( | ||
<li key={index}>{tool}</li> | ||
))} | ||
</ul> | ||
</section> | ||
<section> | ||
<p>{ACCESSIBILITE.verifiedPagesIntro}</p> | ||
<ul> | ||
{ACCESSIBILITE.verifiedPages.map((page, index) => ( | ||
<li key={index}> | ||
<a href={page.link}>{page.text}</a> | ||
</li> | ||
))} | ||
</ul> | ||
</section> | ||
<section> | ||
<h3>Droit à compensation</h3> | ||
<p>{ACCESSIBILITE.rightToCompensation}</p> | ||
</section> | ||
<section> | ||
<h3>Amélioration et contact</h3> | ||
<p>{ACCESSIBILITE.contact}</p> | ||
</section> | ||
<section> | ||
<h3>Défenseur des droits</h3> | ||
<p>{ACCESSIBILITE.defenderOfRightsIntro}</p> | ||
<ul> | ||
<li> | ||
un{' '} | ||
<a | ||
href="https://www.defenseurdesdroits.fr/nous-contacter-355" | ||
target="blank" | ||
> | ||
formulaire de contact ; | ||
</a> | ||
</li> | ||
<li> | ||
la{' '} | ||
<a | ||
href="https://www.defenseurdesdroits.fr/carte-des-delegues" | ||
target="blank" | ||
> | ||
liste des délégués de votre région{' '} | ||
</a> | ||
avec leurs informations de contact directs ; | ||
</li> | ||
<li>{ACCESSIBILITE.defenderOfRights.phone}</li> | ||
<li>{ACCESSIBILITE.defenderOfRights.postal}</li> | ||
</ul> | ||
</section> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
const useStyles = makeStyles()(theme => ({ | ||
accessibilityWrapper: { | ||
paddingLeft: '0.5rem', | ||
paddingRight: '0.5rem', | ||
|
||
[fr.breakpoints.up('lg')]: { | ||
paddingLeft: '1.5rem', | ||
paddingRight: '1.5rem' | ||
}, | ||
h1: { | ||
...fr.typography[5].style, | ||
marginBottom: '3rem' | ||
}, | ||
h3: { | ||
marginBottom: '0.5rem' | ||
}, | ||
section: { | ||
marginBottom: '1.5rem' | ||
}, | ||
ul: { | ||
paddingInlineStart: '2.5rem' | ||
} | ||
} | ||
})); | ||
|
||
export default Accessibility; |
Oops, something went wrong.