-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
34 changed files
with
1,649 additions
and
126 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,23 +1 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
node_modules |
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -1,38 +0,0 @@ | ||
.App { | ||
text-align: center; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
} | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: white; | ||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
import styled from 'styled-components' | ||
import { Link } from 'react-router-dom' | ||
import { FaMagento } from 'react-icons/fa'; | ||
|
||
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; | ||
margin-bottom:24px; | ||
padding:24px; | ||
color:#fff; | ||
`; | ||
|
||
export const FooterSubHeading = styled.p` | ||
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida' 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; | ||
margin-bottom:24px; | ||
font-size:25px; | ||
`; | ||
|
||
export const FooterSubText = styled.p` | ||
margin-bottom:24px; | ||
font-size:24px; | ||
`; | ||
|
||
export const Form = styled.div` | ||
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:82px){ | ||
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:320px){ | ||
flex-direction:column; | ||
} | ||
`; | ||
|
||
export const FooterLinksItems = styled.div` | ||
display:flex; | ||
flex-direction:column; | ||
align-items:flex-start; | ||
margin:16px; | ||
text-align:left; | ||
box-sizing:border-box; | ||
width:160px; | ||
color:#fff; | ||
@media screen and (max-width:420px){ | ||
margin:0; | ||
padding:10px; | ||
width:100%; | ||
} | ||
`; | ||
|
||
export const FooterLinksTitle = 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 all; | ||
} | ||
`; | ||
|
||
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:#ffffff; | ||
justify-content: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 WebsiteRight = 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,77 @@ | ||
import React from 'react'; | ||
import { FaFacebook, FaInstagram, FaYoutube } from 'react-icons/fa' | ||
import { FooterContainer, FooterSubscription, FooterSubHeading, FooterSubText, Form, FormInput, FooterLinksContainer, FooterLinksWrapper, FooterLinksItems, FooterLinksTitle, FooterLink, SocialMedia, SocialMediaWrap, SocialLogo, WebsiteRight, SocialIcon, SocialIcons, SocialIconLink } from './Footer.elements' | ||
import { Button } from '../../globalStyles' | ||
const Footer = () => { | ||
return ( | ||
<FooterContainer> | ||
<FooterSubscription> | ||
<FooterSubHeading> | ||
Join Our exlusive membership to receive the latest news and trends | ||
</FooterSubHeading> | ||
<FooterSubText> | ||
You can unsubscribe at any time. | ||
</FooterSubText> | ||
<Form> | ||
<FormInput name="email" type="email" placholder="your email" /> | ||
<Button fontBig> subscribe </Button> | ||
|
||
</Form> | ||
</FooterSubscription> | ||
<FooterLinksContainer> | ||
<FooterLinksWrapper> | ||
<FooterLinksItems> | ||
<FooterLinksTitle>About us</FooterLinksTitle> | ||
<FooterLink to="/p">Test</FooterLink> | ||
<FooterLink to="/">Carrer</FooterLink> | ||
<FooterLink to="/">How it works</FooterLink> | ||
<FooterLink to="/">How it works</FooterLink> | ||
</FooterLinksItems> | ||
<FooterLinksItems> | ||
<FooterLinksTitle>Contact us</FooterLinksTitle> | ||
<FooterLink to="/p">Test</FooterLink> | ||
<FooterLink to="/">Carrer</FooterLink> | ||
<FooterLink to="/">How it works</FooterLink> | ||
<FooterLink to="/">How it works</FooterLink> | ||
</FooterLinksItems> | ||
<FooterLinksItems> | ||
<FooterLinksTitle>Videos</FooterLinksTitle> | ||
<FooterLink to="/p">Test</FooterLink> | ||
<FooterLink to="/">Carrer</FooterLink> | ||
<FooterLink to="/">How it works</FooterLink> | ||
<FooterLink to="/">How it works</FooterLink> | ||
</FooterLinksItems> | ||
<FooterLinksItems> | ||
<FooterLinksTitle>Social Media</FooterLinksTitle> | ||
<FooterLink to="/p">Test</FooterLink> | ||
<FooterLink to="/">Carrer</FooterLink> | ||
<FooterLink to="/">How it works</FooterLink> | ||
<FooterLink to="/">How it works</FooterLink> | ||
</FooterLinksItems> | ||
</FooterLinksWrapper> | ||
</FooterLinksContainer> | ||
<SocialMedia> | ||
<SocialMediaWrap> | ||
<SocialLogo to="/" > | ||
<SocialIcon /> | ||
ULTRA | ||
</SocialLogo> | ||
<WebsiteRight> | ||
ULTRA 2020 | ||
</WebsiteRight> | ||
<SocialIcons> | ||
<SocialIconLink href="/" traget="_blank" aria-label="Facbook" > | ||
<FaFacebook /></SocialIconLink> | ||
<SocialIconLink href="/" traget="_blank" aria-label="Instagram" > | ||
<FaInstagram /></SocialIconLink> | ||
<SocialIconLink href="/" traget="_blank" aria-label="Youtube" > | ||
<FaYoutube /></SocialIconLink> | ||
</SocialIcons> | ||
|
||
</SocialMediaWrap> | ||
</SocialMedia> | ||
</FooterContainer> | ||
); | ||
}; | ||
|
||
export default Footer |
Oops, something went wrong.