-
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.
Merge pull request #32 from 90lucasgabriel/feature/WJ-12
WJ-12 - Create Footer component
- Loading branch information
Showing
5 changed files
with
98 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import React from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
import { ReactComponent as Logo } from 'assets/logo.svg'; | ||
import { Color } from 'shared/enums'; | ||
import RouteEnum from 'routes/enums/Route'; | ||
|
||
import { Wrapper } from 'components/Layout'; | ||
import { Container, LogoContainer, LinksContainer } from './styles'; | ||
|
||
const Footer: React.FC = () => { | ||
return ( | ||
<Wrapper theme="primary"> | ||
<Container> | ||
<LinksContainer> | ||
<a href="https://github.com/90lucasgabriel"> | ||
Desenvolvido por Lucas Gabriel | ||
</a> | ||
<a href="/">Proposta do projeto</a> | ||
<a href="https://www.figma.com/file/um4dcEJCOlEvB6kCe9KCOD/Cinejump"> | ||
Protótipo no Figma | ||
</a> | ||
<a href="/">Apresentação ao Comitê</a> | ||
<a href="https://github.com/90lucasgabriel/cinejump-web/wiki"> | ||
Documentação | ||
</a> | ||
</LinksContainer> | ||
|
||
<LogoContainer> | ||
<Link to={RouteEnum.BASE}> | ||
<Logo fill={Color.Fill} /> | ||
</Link> | ||
</LogoContainer> | ||
</Container> | ||
</Wrapper> | ||
); | ||
}; | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import styled from 'styled-components'; | ||
|
||
import { Color, Size } from 'shared/enums'; | ||
import { Container as DefaultContainer } from 'components/Layout'; | ||
|
||
export const Container = styled(DefaultContainer)` | ||
display: flex; | ||
flex-direction: row-reverse; | ||
flex-wrap: wrap; | ||
padding: ${Size.Default}; | ||
`; | ||
|
||
export const LogoContainer = styled.div` | ||
display: flex; | ||
flex: 1 1 440px; | ||
align-items: center; | ||
justify-content: center; | ||
@media (max-width: 915px) { | ||
margin-top: ${Size.Large}; | ||
} | ||
`; | ||
|
||
export const LinksContainer = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
flex: 1 1 440px; | ||
font-size: ${Size.Small}; | ||
a { | ||
padding: ${Size.Smallest}; | ||
color: ${Color.Fill}; | ||
text-decoration: none; | ||
} | ||
a:hover { | ||
text-decoration: underline; | ||
} | ||
@media (max-width: 915px) { | ||
text-align: center; | ||
} | ||
`; |
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
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