2020-12-14 09:38:21 -08:00
|
|
|
import React from 'react';
|
|
|
|
import styled from 'styled-components';
|
2021-01-20 09:05:30 -08:00
|
|
|
import { Facebook, Twitter, Instagram } from "@styled-icons/fa-brands";
|
2020-12-24 08:44:08 -08:00
|
|
|
import { Envelope } from "@styled-icons/fa-solid";
|
2021-01-20 09:05:30 -08:00
|
|
|
import { StyledIconBase } from '@styled-icons/styled-icon'
|
2020-12-24 08:44:08 -08:00
|
|
|
|
2021-01-20 09:05:30 -08:00
|
|
|
import {
|
2020-12-16 07:31:17 -08:00
|
|
|
Container
|
|
|
|
} from 'react-bootstrap';
|
|
|
|
|
|
|
|
const ContainerPadded = styled(Container)`
|
|
|
|
padding: 7% 15%;
|
2021-01-21 09:08:56 -08:00
|
|
|
text-align: center;
|
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`
|
2021-01-20 09:05:30 -08:00
|
|
|
background: ${props => props.background || "white"};
|
2021-01-19 06:38:27 -08:00
|
|
|
|
|
|
|
`;
|
|
|
|
const ContainerCentered = styled.div`
|
2021-01-21 09:08:56 -08:00
|
|
|
display:flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: center;
|
|
|
|
|
2020-12-14 09:38:21 -08:00
|
|
|
`;
|
2021-01-20 09:05:30 -08:00
|
|
|
const IconStyler = styled.div`
|
|
|
|
${StyledIconBase} {
|
|
|
|
width: ${props => props.width ? props.width : 26}px;
|
|
|
|
height: ${props => props.height ? props.height : 26};
|
|
|
|
color: ${props => props.color ? props.color : "white"};
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
margin: 20px 10px;
|
|
|
|
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
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>
|
2021-01-21 09:08:56 -08:00
|
|
|
<IconStyler color="#000" width={20} height={20}><Facebook /></IconStyler>
|
|
|
|
<IconStyler color="#000" width={20} height={20}><Twitter /></IconStyler>
|
|
|
|
<IconStyler color="#000" width={20} height={20}><Instagram /></IconStyler>
|
|
|
|
<IconStyler color="#000" width={20} height={20}><Envelope /></IconStyler >
|
|
|
|
</ContainerCentered>
|
2021-01-20 09:05:30 -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-21 09:08:56 -08:00
|
|
|
|
2021-01-20 09:05:30 -08:00
|
|
|
</ContainerPadded >
|
|
|
|
</WhiteSection >
|
2020-12-14 09:38:21 -08:00
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
export default Footer;
|