2020-12-14 09:38:21 -08:00
|
|
|
import React from 'react';
|
|
|
|
import styled from 'styled-components';
|
2020-12-24 08:44:08 -08:00
|
|
|
import { Facebook,Twitter, Instagram } from "@styled-icons/fa-brands";
|
|
|
|
import { Envelope } from "@styled-icons/fa-solid";
|
|
|
|
|
2020-12-16 07:31:17 -08:00
|
|
|
import {
|
|
|
|
Container
|
|
|
|
} from 'react-bootstrap';
|
|
|
|
|
|
|
|
const ContainerPadded = styled(Container)`
|
|
|
|
padding: 7% 15%;
|
2021-01-19 06:38:27 -08:00
|
|
|
|
2020-12-14 09:38:21 -08:00
|
|
|
|
|
|
|
`;
|
|
|
|
|
2020-12-16 07:31:17 -08:00
|
|
|
const WhiteSection = styled.footer`
|
|
|
|
background: ${ props => props.background || "white"};
|
2021-01-19 06:38:27 -08:00
|
|
|
|
|
|
|
`;
|
|
|
|
const ContainerCentered = styled.div`
|
|
|
|
text-align: center;
|
2020-12-14 09:38:21 -08:00
|
|
|
`;
|
2020-12-24 08:44:08 -08:00
|
|
|
const FacebookIcon = styled(Facebook)`
|
|
|
|
margin: 20px 10px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
`;
|
|
|
|
const TwitterIcon = styled(Twitter)`
|
|
|
|
margin: 20px 10px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
`;
|
|
|
|
const InstagramIcon = styled(Instagram)`
|
|
|
|
margin: 20px 10px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2020-12-16 07:31:17 -08:00
|
|
|
`;
|
2020-12-24 08:44:08 -08:00
|
|
|
const EnvelopeIcon = styled(Envelope)`
|
|
|
|
margin: 20px 10px;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
2020-12-14 09:38:21 -08:00
|
|
|
|
2020-12-22 08:43:32 -08:00
|
|
|
const Footer = (props) => {
|
2020-12-14 09:38:21 -08:00
|
|
|
return (
|
|
|
|
<WhiteSection>
|
2020-12-16 07:31:17 -08:00
|
|
|
<ContainerPadded fluid>
|
2021-01-19 06:38:27 -08:00
|
|
|
<ContainerCentered>
|
2020-12-24 08:44:08 -08:00
|
|
|
<FacebookIcon />
|
|
|
|
<TwitterIcon />
|
|
|
|
<InstagramIcon />
|
|
|
|
<EnvelopeIcon />
|
2020-12-16 07:31:17 -08:00
|
|
|
|
2020-12-14 09:38:21 -08:00
|
|
|
<p>© Copyright 2020 Locaft</p>
|
|
|
|
<p><a href="/tc">Terms and Conditions</a></p>
|
|
|
|
<p><a href="/pp">Privacy Policy</a></p>
|
2021-01-19 06:38:27 -08:00
|
|
|
</ContainerCentered>
|
|
|
|
</ContainerPadded>
|
2020-12-14 09:38:21 -08:00
|
|
|
</WhiteSection>
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
export default Footer;
|