Locaft-backend/src/components/Footer.js

41 lines
1.1 KiB
JavaScript
Raw Normal View History

2020-12-14 09:38:21 -08:00
import React from 'react';
import styled from 'styled-components';
2020-12-16 07:31:17 -08:00
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faFacebook, faTwitter, faInstagram } from "@fortawesome/free-brands-svg-icons";
import { faEnvelope } from "@fortawesome/free-solid-svg-icons";
import {
Container
} from 'react-bootstrap';
const ContainerPadded = styled(Container)`
padding: 7% 15%;
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"};
2020-12-14 09:38:21 -08:00
`;
2020-12-16 07:31:17 -08:00
const FontIcon = styled(FontAwesomeIcon)`
margin: 20px 10px;
`;
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>
<FontIcon icon={faFacebook} />
<FontIcon icon={faTwitter} />
<FontIcon icon={faInstagram} />
<FontIcon icon={faEnvelope} />
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>
2020-12-16 07:31:17 -08:00
</ContainerPadded>
2020-12-14 09:38:21 -08:00
</WhiteSection>
)
}
export default Footer;