This repository has been archived by the owner on Sep 2, 2021. It is now read-only.
/
Footer.jsx
85 lines (81 loc) · 3.3 KB
/
Footer.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// @flow
import React from "react";
import getConfig from "next/config";
import NextLink from "next/link";
import { Flex, Box, Text, Image } from "rebass";
import { Wrapper } from "../commons/Grid";
import { StyledLink } from "../commons/Link";
const { publicRuntimeConfig } = getConfig();
const GITHUB_REPO = "https://github.com/SocialGouv/work-in-france";
const Footer = () => {
return (
<Box bg="grey" px={3} py={4}>
<Wrapper>
<Flex flexWrap="wrap">
<Box px={0} width={1}>
<Flex flexWrap="wrap">
<Image height="47px" mb={3} pr={3} src="/static/logo.png" width={["81px"]} />
<Text fontSize={3} lineHeight="1.4" width={[1, 4 / 5]}>
Site officiel de demande d’autorisation provisoire de travail. Service en version
bêta, créé par le Ministère du Travail en collaboration avec les préfectures de
département.
</Text>
</Flex>
</Box>
<Box px={0} py={3} width={1}>
<Flex flexWrap="wrap" justifyContent="space-around">
<Text textAlign={["left", "center"]} width={[1, 1 / 6]}>
<NextLink href="/faq" passHref>
<StyledLink>Questions / Réponses</StyledLink>
</NextLink>
</Text>
<Text textAlign={["left", "center"]} width={[1, 1 / 6]}>
<NextLink href="/cgu" passHref>
<StyledLink>CGU</StyledLink>
</NextLink>
</Text>
<Text textAlign={["left", "center"]} width={[1, 1 / 6]}>
<NextLink href="/stats" passHref>
<StyledLink>Statistiques</StyledLink>
</NextLink>
</Text>
<Text textAlign={["left", "center"]} width={[1, 1 / 6]}>
<a href="mailto:contact@workinfrance.beta.gouv.fr">
<StyledLink>Contactez-nous</StyledLink>
</a>
</Text>
</Flex>
</Box>
<Box px={5} width={1}>
<Flex flexDirection="row-reverse" flexWrap="wrap" justifyContent="space-around">
<a
href={`${GITHUB_REPO}/tree/${publicRuntimeConfig.VERSION}`}
target="_blank"
rel="noopener noreferrer"
>
<StyledLink>Contribuer sur Github</StyledLink>
</a>
<a
href={`${GITHUB_REPO}/compare/${publicRuntimeConfig.VERSION}...master`}
target="_blank"
rel="noopener noreferrer"
>
<StyledLink>Journal des modifications</StyledLink>
</a>
<Text>{`Version ${publicRuntimeConfig.VERSION}`}</Text>
</Flex>
</Box>
<Box px={0} py={3} width={1}>
<Text fontSize={1} textAlign="center">
{`Rappel : Article L.8256-1 du code du travail : le fait de se rendre coupable de fraude
ou fausse déclaration pour obtenir, faire obtenir ou tenter de faire obtenir à un
étranger le titre mentionné à l'article L.8251-1 est puni d'un emprisonnement d'un an
et d'une amende de 3000 €.`}
</Text>
</Box>
</Flex>
</Wrapper>
</Box>
);
};
export default Footer;