-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
760f97b
commit 23b0819
Showing
23 changed files
with
573 additions
and
52 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
import styled from 'styled-components'; | ||
import { FaMagento } from 'react-icons/fa'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
export const FooterContainer = styled.div` | ||
background-color: #101522; | ||
padding: 4rem 0 2rem 0; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
`; | ||
|
||
export const FooterSubscription = styled.section` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
text-align: center; | ||
margin-bottom: 24px; | ||
padding: 24px; | ||
color: #fff; | ||
`; | ||
|
||
export const FooterSubHeading = styled.p` | ||
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', | ||
'Lucida Sans', Arial, sans-serif; | ||
margin-bottom: 24px; | ||
font-size: 24px; | ||
`; | ||
|
||
export const FooterSubText = styled.p` | ||
margin-bottom: 24px; | ||
font-size: 20px; | ||
`; | ||
|
||
export const Form = styled.form` | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
@media screen and (max-width: 820px) { | ||
flex-direction: column; | ||
width: 80%; | ||
} | ||
`; | ||
|
||
export const FormInput = styled.input` | ||
padding: 10px 20px; | ||
border-radius: 2px; | ||
margin-right: 10px; | ||
outline: none; | ||
border: none; | ||
font-size: 16px; | ||
border: 1px solid #fff; | ||
&::placeholder { | ||
color: #242424; | ||
} | ||
@media screen and (max-width: 820px) { | ||
width: 100%; | ||
margin: 0 0 16px 0; | ||
} | ||
`; | ||
|
||
export const FooterLinksContainer = styled.div` | ||
width: 100%; | ||
max-width: 1000px; | ||
display: flex; | ||
justify-content: center; | ||
@media screen and (max-width: 820px) { | ||
padding-top: 32px; | ||
} | ||
`; | ||
|
||
export const FooterLinksWrapper = styled.div` | ||
display: flex; | ||
@media screen and (max-width: 820px) { | ||
flex-direction: column; | ||
} | ||
`; | ||
|
||
export const FooterLinkItems = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
margin: 16px; | ||
text-align: left; | ||
width: 160px; | ||
box-sizing: border-box; | ||
color: #fff; | ||
@media screen and (max-width: 420px) { | ||
margin: 0; | ||
padding: 10px; | ||
width: 100%; | ||
} | ||
`; | ||
|
||
export const FooterLinkTitle = styled.h2` | ||
margin-bottom: 16px; | ||
`; | ||
|
||
export const FooterLink = styled(Link)` | ||
color: #fff; | ||
text-decoration: none; | ||
margin-bottom: 0.5rem; | ||
&:hover { | ||
color: #0467fb; | ||
transition: 0.3s ease-out; | ||
} | ||
`; | ||
|
||
export const SocialMedia = styled.section` | ||
max-width: 1000px; | ||
width: 100%; | ||
`; | ||
|
||
export const SocialMediaWrap = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 90%; | ||
max-width: 1000px; | ||
margin: 40px auto 0 auto; | ||
@media screen and (max-width: 820px) { | ||
flex-direction: column; | ||
} | ||
`; | ||
|
||
export const SocialLogo = styled(Link)` | ||
color: #fff; | ||
justify-self: start; | ||
cursor: pointer; | ||
text-decoration: none; | ||
font-size: 2rem; | ||
display: flex; | ||
align-items: center; | ||
margin-bottom: 16px; | ||
`; | ||
|
||
export const SocialIcon = styled(FaMagento)` | ||
margin-right: 10px; | ||
`; | ||
|
||
export const WebsiteRights = styled.small` | ||
color: #fff; | ||
margin-bottom: 16px; | ||
`; | ||
|
||
export const SocialIcons = styled.div` | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 240px; | ||
`; | ||
|
||
export const SocialIconLink = styled.a` | ||
color: #fff; | ||
font-size: 24px; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
import React from 'react'; | ||
import { Button } from '../../globalStyles'; | ||
import { | ||
FaFacebook, | ||
FaInstagram, | ||
FaYoutube, | ||
FaTwitter, | ||
FaLinkedin | ||
} from 'react-icons/fa'; | ||
import { | ||
FooterContainer, | ||
FooterSubscription, | ||
FooterSubText, | ||
FooterSubHeading, | ||
Form, | ||
FormInput, | ||
FooterLinksContainer, | ||
FooterLinksWrapper, | ||
FooterLinkItems, | ||
FooterLinkTitle, | ||
FooterLink, | ||
SocialMedia, | ||
SocialMediaWrap, | ||
SocialLogo, | ||
SocialIcon, | ||
WebsiteRights, | ||
SocialIcons, | ||
SocialIconLink | ||
} from './Footer.elements'; | ||
|
||
function Footer() { | ||
return ( | ||
<FooterContainer> | ||
<FooterSubscription> | ||
<FooterSubHeading> | ||
Join our exclusive membership to receive the latest news and trends | ||
</FooterSubHeading> | ||
<FooterSubText>You can unsubscribe at any time.</FooterSubText> | ||
<Form> | ||
<FormInput name='email' type='email' placeholder='Your Email' /> | ||
<Button fontBig>Subscribe</Button> | ||
</Form> | ||
</FooterSubscription> | ||
<FooterLinksContainer> | ||
<FooterLinksWrapper> | ||
<FooterLinkItems> | ||
<FooterLinkTitle>About Us</FooterLinkTitle> | ||
<FooterLink to='/sign-up'>How it works</FooterLink> | ||
<FooterLink to='/'>Testimonials</FooterLink> | ||
<FooterLink to='/'>Careers</FooterLink> | ||
<FooterLink to='/'>Investors</FooterLink> | ||
<FooterLink to='/'>Terms of Service</FooterLink> | ||
</FooterLinkItems> | ||
<FooterLinkItems> | ||
<FooterLinkTitle>Contact Us</FooterLinkTitle> | ||
<FooterLink to='/'>Contact</FooterLink> | ||
<FooterLink to='/'>Support</FooterLink> | ||
<FooterLink to='/'>Destinations</FooterLink> | ||
<FooterLink to='/'>Sponsorships</FooterLink> | ||
</FooterLinkItems> | ||
</FooterLinksWrapper> | ||
<FooterLinksWrapper> | ||
<FooterLinkItems> | ||
<FooterLinkTitle>Videos</FooterLinkTitle> | ||
<FooterLink to='/'>Submit Video</FooterLink> | ||
<FooterLink to='/'>Ambassadors</FooterLink> | ||
<FooterLink to='/'>Agency</FooterLink> | ||
<FooterLink to='/'>Influencer</FooterLink> | ||
</FooterLinkItems> | ||
<FooterLinkItems> | ||
<FooterLinkTitle>Social Media</FooterLinkTitle> | ||
<FooterLink to='/'>Instagram</FooterLink> | ||
<FooterLink to='/'>Facebook</FooterLink> | ||
<FooterLink to='/'>Youtube</FooterLink> | ||
<FooterLink to='/'>Twitter</FooterLink> | ||
</FooterLinkItems> | ||
</FooterLinksWrapper> | ||
</FooterLinksContainer> | ||
<SocialMedia> | ||
<SocialMediaWrap> | ||
<SocialLogo to='/'> | ||
<SocialIcon /> | ||
ULTRA | ||
</SocialLogo> | ||
<WebsiteRights>ULTRA © 2020</WebsiteRights> | ||
<SocialIcons> | ||
<SocialIconLink href='/' target='_blank' aria-label='Facebook'> | ||
<FaFacebook /> | ||
</SocialIconLink> | ||
<SocialIconLink href='/' target='_blank' aria-label='Instagram'> | ||
<FaInstagram /> | ||
</SocialIconLink> | ||
<SocialIconLink | ||
href={ | ||
'//www.youtube.com/channel/UCsKsymTY_4BYR-wytLjex7A?view_as=subscriber' | ||
} | ||
rel='noopener noreferrer' | ||
target='_blank' | ||
aria-label='Youtube' | ||
> | ||
<FaYoutube /> | ||
</SocialIconLink> | ||
<SocialIconLink href='/' target='_blank' aria-label='Twitter'> | ||
<FaTwitter /> | ||
</SocialIconLink> | ||
<SocialIconLink href='/' target='_blank' aria-label='LinkedIn'> | ||
<FaLinkedin /> | ||
</SocialIconLink> | ||
</SocialIcons> | ||
</SocialMediaWrap> | ||
</SocialMedia> | ||
</FooterContainer> | ||
); | ||
} | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.