-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
44 additions
and
34 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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
import { fr } from "@codegouvfr/react-dsfr" | ||
|
||
export function EndPage(props: { date: number | undefined }) { | ||
const { date = Date.now() } = props | ||
const formatedData = new Date(date).toLocaleString() | ||
return ( | ||
<> | ||
<div className={fr.cx('fr-my-4w')}> | ||
<h1>L’Insee vous remercie pour votre collaboration à cette enquête.</h1> | ||
<p>Vos réponses ont été envoyées le {formatedData}.</p> | ||
<p> | ||
Si vous avez indiqué une adresse électronique, un accusé de réception | ||
vous sera envoyé automatiquement.{' '} | ||
</p> | ||
</> | ||
</div> | ||
) | ||
} |
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,11 +1,13 @@ | ||
import { fr } from "@codegouvfr/react-dsfr"; | ||
|
||
export function Validation() { | ||
return ( | ||
<> | ||
<div className={fr.cx('fr-my-4w')}> | ||
<h1>Vous êtes arrivé à la fin du questionnaire</h1> | ||
<p> | ||
Après envoi, vous ne pourrez plus modifier vos réponses et vous pourrez | ||
télécharger un accusé de réception. | ||
</p> | ||
</> | ||
</div> | ||
) | ||
} |
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