Unverified Commit ee91bd29 authored by ViMotte's avatar ViMotte Committed by GitHub
Browse files

Merge pull request #560 from SocialGouv/add-platform-closing-warning

feat: add platform closing warning

Ajout d'un bandeau d'information indiquant la fermeture prochaine du service
parents 05bee509 6e45b640
Pipeline #95706 passed with stage
in 1 minute and 49 seconds
// @flow // @flow
import React from "react"; import React from "react";
import Link from "next/link";
import { Flex, Box } from "rebass"; import { Flex, Box, Text, Link } from "rebass";
import { useRouter } from "next/router"; import { useRouter } from "next/router";
import { Wrapper } from "../commons/Grid"; import { Wrapper } from "../commons/Grid";
import { LogoLink, Logo, MenuLink } from "./Style"; import { LogoLink, Logo, MenuLink } from "./Style";
...@@ -14,6 +13,7 @@ const Header = () => { ...@@ -14,6 +13,7 @@ const Header = () => {
const isCheckLinkVisible = !isNouvelleDemarche(pathname); const isCheckLinkVisible = !isNouvelleDemarche(pathname);
return ( return (
<>
<Box bg="white"> <Box bg="white">
<Wrapper> <Wrapper>
<Flex alignItems="center" flexWrap="wrap" justifyContent="space-between"> <Flex alignItems="center" flexWrap="wrap" justifyContent="space-between">
...@@ -44,6 +44,22 @@ const Header = () => { ...@@ -44,6 +44,22 @@ const Header = () => {
</Flex> </Flex>
</Wrapper> </Wrapper>
</Box> </Box>
<Text bg="red" color="white" p="4">
<Wrapper>
<p>Information importante</p>
<p>
La délivrance des autorisations de travail et des autorisations provisoires de travail
pour les travailleurs et étudiants non membres de l’UE sera prise en charge à compter du
1er avril par les services préfectoraux.
</p>
<p>
Afin de permettre aux services de terminer l’instruction des dossiers en cours, il ne
sera plus possible de déposer des dossiers sur la plateforme Work in France à partir du
23 mars.
</p>
</Wrapper>
</Text>
</>
); );
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment