Skip to content

Commit 4f2e404

Browse files
committed
[ADD] Footer link back to Repo + translated
1 parent 6c837b0 commit 4f2e404

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

locales/fr/index.json

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"Message": "Message",
3131
"Send": "Envoyer",
3232
"https://form.jotform.com/211253962199057": "https://form.jotform.com/211253962199057",
33+
"Built with Gatsby": "Développé avec Gatsby",
3334
"Retainer Based Projects": "Projets basés sur les services de rétention",
3435
"CTO On-demand": "CTO à la demande",
3536
"Consolidate your HR & IT budget": "Consolidez votre budget RH & IT",

src/components/footer.js

+18-9
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ import * as React from "react"
22
import styled from 'styled-components';
33
import SiteBorderStyles from '../styles/SiteBorderStyles';
44
import { FiGithub, FiLinkedin } from "react-icons/fi";
5+
import { Trans } from "react-i18next";
56

67
const FooterStyle = styled.footer`
78
background: var(--black);
8-
padding: 1rem 0;
9+
padding: 0.5rem 0;
910
color: var(--lightgrey);
1011
`;
1112

@@ -14,16 +15,24 @@ export default function Footer() {
1415
<FooterStyle>
1516
<SiteBorderStyles>
1617
{/* social links*/}
17-
<div className="flex my-1 md:my-2 items-center justify-center">
18-
<a className="inline-block md:hidden px-2" target="_blank" rel="noreferrer" href="https://www.linkedin.com/company/coderbunker/">
19-
<FiLinkedin className="text-xl" style={{ color: `var(--lightgrey)` }}/>
20-
</a>
21-
<a className="inline-block md:hidden px-2 mr-4" target="_blank" rel="noreferrer" href="https://github.com/coderbunker">
22-
<FiGithub className="text-xl" style={{ color: `var(--lightgrey)` }}/>
23-
</a>
24-
<p className="md:text-xl" style={{ color: `var(--lightgrey)` }}>
18+
<div className="flex my-1 md:my-2 items-center justify-between md:justify-center md:text-xl">
19+
<p className="" style={{ color: `var(--lightgrey)` }}>
2520
© {new Date().getFullYear()} Coderbunker, inc.
2621
</p>
22+
<p className="hidden md:inline-block" style={{ color: `var(--lightgrey)` }}>
23+
<span>&nbsp;|&nbsp;</span>
24+
<a target="_blank" rel="noreferrer" href="https://github.com/coderbunker/coderbunker.ca">
25+
<Trans>Built with Gatsby</Trans>
26+
</a>
27+
</p>
28+
<div>
29+
<a className="inline-block md:hidden p-2 ml-6" target="_blank" rel="noreferrer" href="https://www.linkedin.com/company/coderbunker/">
30+
<FiLinkedin className="text-xl" style={{ color: `var(--lightgrey)` }}/>
31+
</a>
32+
<a className="inline-block md:hidden p-2" target="_blank" rel="noreferrer" href="https://github.com/coderbunker">
33+
<FiGithub className="text-xl" style={{ color: `var(--lightgrey)` }}/>
34+
</a>
35+
</div>
2736
</div>
2837
</SiteBorderStyles>
2938
</FooterStyle>

0 commit comments

Comments
 (0)