diff --git a/future-ninjas/src/components/CardVaga/CardVaga.js b/future-ninjas/src/components/CardVaga/CardVaga.js index 286e26f..209450f 100644 --- a/future-ninjas/src/components/CardVaga/CardVaga.js +++ b/future-ninjas/src/components/CardVaga/CardVaga.js @@ -1,5 +1,5 @@ import React, { Component } from 'react' -import { ContainerCardVaga, ContainerItem, City, Techs, Tech } from './styles'; +import { ContainerCardVaga, ContainerItem, City, Techs, Tech, H1 } from './styles'; import axios from 'axios'; export default class CardVaga extends Component { @@ -30,9 +30,9 @@ export default class CardVaga extends Component { {this.state.listaDeVagas.map((vaga, index) => { return ( -

{vaga.title}

+

{vaga.title}

{vaga.cidade} -
+ R$ {vaga.value}

{vaga.description}

diff --git a/future-ninjas/src/components/CardVaga/styles.js b/future-ninjas/src/components/CardVaga/styles.js index 969a44d..fe1c43b 100644 --- a/future-ninjas/src/components/CardVaga/styles.js +++ b/future-ninjas/src/components/CardVaga/styles.js @@ -13,7 +13,7 @@ export const ContainerItem = styled.div ` box-shadow: 1px 1px 8px 8px lightgrey; } ` -export const City = styled.span` +export const City = styled.p` color: #363636; ` export const Techs = styled.ul` @@ -23,3 +23,7 @@ export const Techs = styled.ul` export const Tech = styled.li` ` + +export const H1 = styled.h1` + color: #7139c1; +` \ No newline at end of file diff --git a/future-ninjas/src/components/FiltroVaga/FiltroVaga.js b/future-ninjas/src/components/FiltroVaga/FiltroVaga.js new file mode 100644 index 0000000..82ca73e --- /dev/null +++ b/future-ninjas/src/components/FiltroVaga/FiltroVaga.js @@ -0,0 +1,28 @@ +import React, { Component} from 'react'; + +import { Container, Input } from './style'; + +export default class FiltroVaga extends Component { + render() { + return( + +

Vagas

+

253 resultados

+ +

Localização

+

São Paulo (141)

+

Florianópolis (43)

+

Rio de Janeiro (14)

+

Curitiba (8)

+ +

Tipo de trabalho

+

Aceita remoto (34)

+

Apenas presencial (100)

+ +

Filtro por valor

+ - + +
+ ) + } +} diff --git a/future-ninjas/src/components/FiltroVaga/style.js b/future-ninjas/src/components/FiltroVaga/style.js new file mode 100644 index 0000000..eceaa51 --- /dev/null +++ b/future-ninjas/src/components/FiltroVaga/style.js @@ -0,0 +1,8 @@ +import styled from 'styled-components'; + +export const Container = styled.div` + margin: 3vh 0; +` +export const Input = styled.input` + width: 70px; +` \ No newline at end of file diff --git a/future-ninjas/src/components/Header/Header.js b/future-ninjas/src/components/Header/Header.js new file mode 100644 index 0000000..ee700d1 --- /dev/null +++ b/future-ninjas/src/components/Header/Header.js @@ -0,0 +1,22 @@ +import React, { Component } from 'react'; + +import { Container, ContainerHeader, Logo, HeaderFl, ButtonUi } from './style'; + +import Button from '@material-ui/core/Button'; + +export default class Header extends Component { + render() { + return ( + + + Imagem + + + Sou Empresa + Sou Candidato + + + + ); + } +} diff --git a/future-ninjas/src/components/Header/style.js b/future-ninjas/src/components/Header/style.js new file mode 100644 index 0000000..f0f0739 --- /dev/null +++ b/future-ninjas/src/components/Header/style.js @@ -0,0 +1,23 @@ +import styled from 'styled-components'; + + +export const Container = styled.div` + display: flex; + justify-content: space-around; + align-items: center; + max-width: 100vw; + height: 10vh; + background: #9159c1; +` + +export const HeaderFl = styled.div` +width: 25vw; +display: flex; +justify-content: space-between; +` +export const ContainerHeader = styled.div` + width: 70vw; + display: flex; + justify-content: space-between; +` +export const Logo = styled.div`` \ No newline at end of file diff --git a/future-ninjas/src/components/Home/Home.js b/future-ninjas/src/components/Home/Home.js index afe2407..4984235 100644 --- a/future-ninjas/src/components/Home/Home.js +++ b/future-ninjas/src/components/Home/Home.js @@ -1,19 +1,16 @@ import React from 'react'; -import { Container, ContainerHeader, Logo, Header, Section, Main, DivMain, ContainerItens, Item,SectionDetails, ContainerDetails, Span, Footer } from './style' +import { Container, Section, Main, DivMain, ContainerItens, Item,SectionDetails, ContainerDetails, Span, Footer } from './style'; + +import Header from '../Header/Header'; class Home extends React.Component { render() { return ( - - Imagem -
- Entrar - {/* Sou um profissional */} -
-
- + +
+

Contrate freelancers especializados para qualquer trabalho, on-line.

diff --git a/future-ninjas/src/components/Home/style.js b/future-ninjas/src/components/Home/style.js index 14fedc1..fc5c64b 100644 --- a/future-ninjas/src/components/Home/style.js +++ b/future-ninjas/src/components/Home/style.js @@ -2,22 +2,7 @@ import styled from 'styled-components' export const Container = styled.div`` -export const Header = styled.div` -width: 20vw; -display: flex; -justify-content: space-between; -` -export const ContainerHeader = styled.div` - display: flex; - justify-content: space-around; - align-items: center; - max-width: 100vw; - height: 10vh; - background: #9159c1; -` -export const Logo = styled.div` - -` + export const Main = styled.main` background: #131313; height: 85vh; diff --git a/future-ninjas/src/components/QueroTrabalhar/QueroTrabalhar.js b/future-ninjas/src/components/QueroTrabalhar/QueroTrabalhar.js index 8afde35..45c82ea 100644 --- a/future-ninjas/src/components/QueroTrabalhar/QueroTrabalhar.js +++ b/future-ninjas/src/components/QueroTrabalhar/QueroTrabalhar.js @@ -1,22 +1,26 @@ import React from 'react'; import styled from 'styled-components' -import {ContainerHeader, Header, Logo, Main, Search} from './styles' +import {ContainerHeader, HeaderFl, Logo, Main, Search} from './styles' import CardVaga from '../CardVaga/CardVaga'; +import FiltroVaga from '../FiltroVaga/FiltroVaga'; + +import Header from '../Header/Header' class QueroTrabalhar extends React.Component { render() { return ( +
-
+ {/* Imagem */}

Vagas para Desenvolvedores

-
+
-
+
diff --git a/future-ninjas/src/components/QueroTrabalhar/styles.js b/future-ninjas/src/components/QueroTrabalhar/styles.js index 2c1d29e..6617820 100644 --- a/future-ninjas/src/components/QueroTrabalhar/styles.js +++ b/future-ninjas/src/components/QueroTrabalhar/styles.js @@ -1,6 +1,6 @@ import styled from 'styled-components' -export const Header = styled.div` +export const HeaderFl = styled.div` width: 30vw; display: flex; justify-content: space-between; @@ -10,7 +10,6 @@ export const Header = styled.div` ` export const ContainerHeader = styled.div` display: flex; - justify-content: space-around; align-items: center; max-width: 100vw; @@ -23,8 +22,8 @@ export const Logo = styled.div` export const Main = styled.main` height: 85vh; - max-width: 100vw; - margin: 0; + max-width: 80vw; + margin: 0 auto; display: grid; grid-template-columns: 1fr 3fr 1fr; @@ -40,4 +39,4 @@ export const Search = styled.input` ::placeholder { color: white; } -` \ No newline at end of file +`