diff --git a/src/App.js b/src/App.js
index b5a2c72..3d5c458 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,6 +1,7 @@
import React from 'react';
import styled from "styled-components"
import Logo from "./img/logo.png"
+import ListaProdutos from './Components/Produtos/Produtos';
const Container = styled.div`
@@ -29,7 +30,9 @@ const Filtros = styled.div`
const Produtos = styled.div`
grid-column: 5/span 12;
- background-color: yellow;
+ display: flex;
+ flex-direction: row;
+
`
@@ -44,7 +47,7 @@ function App() {
-
+
diff --git a/src/Components/Produtos/Produtos.jsx b/src/Components/Produtos/Produtos.jsx
new file mode 100644
index 0000000..52590b3
--- /dev/null
+++ b/src/Components/Produtos/Produtos.jsx
@@ -0,0 +1,168 @@
+import React, { Component } from "react";
+import styled from "styled-components";
+import Imagem1 from '../../img/BigBoy.png'
+import Imagem2 from '../../img/Goliath.png'
+import Imagem3 from '../../img/Leonov.png'
+import Imagem4 from '../../img/Liberator.png'
+import Imagem5 from '../../img/Newpiranha.png'
+import Imagem6 from '../../img/Nostromo.png'
+import Imagem7 from '../../img/Phoenix.png'
+import Imagem8 from '../../img/Vevengek.png'
+import Imagem9 from '../../img/Yamato.png'
+
+const Cards = styled.div`
+ display: flex;
+ flex-direction:column;
+ align-items: center;
+ justify-content: center;
+ border-radius: 8px;
+ /* border: 1px solid black; */
+ width: 30%;
+ margin: 0 0 15px 0;
+ box-shadow: black 0.1em 0.1em 0.2em;
+`
+const Imagem = styled.img`
+ max-width: 80%;
+ align-items: center;
+ -moz-transition: all 0.3s;
+ -webkit-transition: all 0.3s;
+ transition: all 0.3s;
+`
+const ZoomImg = styled.div`
+ overflow: hidden;
+ &:hover{
+ -moz-transform: scale(2.1);
+ -webkit-transform: scale(2.1);
+ transform: scale(2.1);
+ background-color: white;
+ justify-content: center;
+}
+`
+
+const DivPai = styled.div`
+ display: flex;
+ box-sizing: border-box;
+ flex-wrap: wrap;
+ justify-content: space-evenly;
+`
+const Botao = styled.button`
+ &:hover{
+ box-shadow: #222121 0.1em 0.1em;
+ }
+
+`
+const NomeProduto = styled.p`
+ font-size: large;
+ font-weight: bold;
+`
+
+export default class ListaProdutos extends Component {
+
+ state = {
+ valorSelect: "Crescente",
+
+ produtos: [
+ {
+ id: 1,
+ name: "BigBoy",
+ value: 10000,
+ imageUrl: Imagem1,
+ },
+ {
+ id: 2,
+ name: "Goliath",
+ value: 15000,
+ imageUrl: Imagem2,
+ },
+ {
+ id: 3,
+ name: "Leonov",
+ value: 30000,
+ imageUrl: Imagem3,
+ },
+ {
+ id: 4,
+ name: "Liberator",
+ value: 18000,
+ imageUrl: Imagem4,
+ },
+ {
+ id: 5,
+ name: "Newpiranha",
+ value: 17000,
+ imageUrl: Imagem5,
+ },
+ {
+ id: 6,
+ name: "Nostromo",
+ value: 22000,
+ imageUrl: Imagem6,
+ },
+ {
+ id: 7,
+ name: "Phoenix",
+ value: 12000,
+ imageUrl: Imagem7,
+ },
+ {
+ id: 8,
+ name: "Vevengek",
+ value: 40000,
+ imageUrl: Imagem8,
+ },
+ {
+ id: 9,
+ name: "Yamato",
+ value: 30000,
+ imageUrl: Imagem9,
+ },
+
+
+ ]
+ }
+ pegarOrdem = (event) => {
+ this.setState({ valorSelect: event.target.value })
+ // this.state.produtos.value.sort(function (a, b) {
+ // if (a > b) return 1;
+ // if (a < b) return -1;
+ // return 0;
+ // });
+ }
+
+ render() {
+ const renderizarProdutos = this.state.produtos.map((produto) => {
+
+ return (
+
+
+
+
+ {produto.name}
+ R$:{produto.value}
+ Adicionar ao Carrinho
+
+
+ )
+ }
+ )
+
+
+ return (
+
+
+
Quantidade de Produtos: {this.state.produtos.length}
+
Ordenação:
+
+
+
+
+ {renderizarProdutos}
+
+
+
)
+ }
+
+}