From 240505815b32c306514f3a38d7bd6aa248346f09 Mon Sep 17 00:00:00 2001 From: NayaradcPinheiro Date: Sun, 28 Nov 2021 17:41:14 -0300 Subject: [PATCH 1/3] Iniciando a Pokedex --- src/pages/Pokedex/Pokedex.jsx | 20 ++++++++++++++++---- src/pages/Pokedex/styled.js | 9 +++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/pages/Pokedex/Pokedex.jsx b/src/pages/Pokedex/Pokedex.jsx index 1befb60..f4bda0f 100644 --- a/src/pages/Pokedex/Pokedex.jsx +++ b/src/pages/Pokedex/Pokedex.jsx @@ -1,9 +1,21 @@ -import React from "react"; +import React, { useContext } from "react"; +import { PokeListContainer } from "./styled"; export default function Pokedex() { + const { pokedex } = useContext(GlobalStateContext); + + return ( -
-

POKEDEX

-
+ <> +
+ + {pokedex && + pokedex.map((poke) => { + return ; + })} + + ); } diff --git a/src/pages/Pokedex/styled.js b/src/pages/Pokedex/styled.js index e69de29..af5b8bd 100644 --- a/src/pages/Pokedex/styled.js +++ b/src/pages/Pokedex/styled.js @@ -0,0 +1,9 @@ +import styled from "styled-components"; + +export const PokeListContainer = styled.main` + width: 100vw; + height: 92vh; + display: flex; + flex-wrap: wrap; + justify-content: space-around; +`; From 5dfe426048d95ffce7dbbd9b8dc8cee8e633044a Mon Sep 17 00:00:00 2001 From: NayaradcPinheiro Date: Sun, 28 Nov 2021 17:49:33 -0300 Subject: [PATCH 2/3] commit teste --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a27735d..c90567a 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,5 @@ - Carlos Vinicius - Nayara Ribeiro - Felipe Bernardes + +teste From 4313bc664105c2d1f32c970011a5bd6f9f636745 Mon Sep 17 00:00:00 2001 From: NayaradcPinheiro Date: Sun, 28 Nov 2021 17:57:28 -0300 Subject: [PATCH 3/3] teste --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c90567a..25e5175 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,4 @@ - Nayara Ribeiro - Felipe Bernardes -teste +