Skip to content

Commit

Permalink
small changes before adding contextAPI for themes
Browse files Browse the repository at this point in the history
v1.1.1
  • Loading branch information
pdgusta authored Nov 14, 2022
2 parents 083df51 + abb27f0 commit b1d12fb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<h1>AluraTube</h1>

<p>
Projeto desenvolvido com Next.JS e React durante programa de imersão em React, proposta pela Alura.
Aplicação React completa de um clone básico da página inicial do Youtube, construída com Next.js. Projeto proposto pela plataforma Alura durante programa de Imersão em React.
</p>

<h4>
Expand Down
4 changes: 0 additions & 4 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
{
"user": "gupdelf",
"url": "https://aluratube-xi.vercel.app/"
},
{
"user": "omariosouto",
"url": "https://aluratube.vercel.app/"
}
]
},
Expand Down
3 changes: 1 addition & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { CSSReset } from "../src/components/CSSReset";
import Menu from "../src/components/Menu";
import { StyledTimeline } from "../src/components/Timeline";
import { StyledFavorites } from "../src/components/Favorites";
import Search from "../src/components/Menu/components/Search";
import React from "react";

/* ----------------------------------------------------------------------------------------------- */
Expand Down Expand Up @@ -64,7 +63,7 @@ const StyledHeader = styled.div` // styled component do header
}
`;
const StyledBanner = styled.div`
const StyledBanner = styled.div` // styled component do banner
width: 100%;
height:230px;
max-height: 250px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Favorites.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const StyledFavorites = styled.div`
width: 100%;
padding: 0;
overflow: hidden;
padding: 16px;
padding: 16px 0;
div {
width: auto;
display: flex;
Expand Down
4 changes: 2 additions & 2 deletions src/components/Menu/components/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import styled from "styled-components"
import config from "../../../../config.json"

const StyledSearch = styled.div`
const StyledSearch = styled.div` // styled component do campo de pesquisa
display: flex;
flex-direction: row;
border: 1px solid ${config.themes.dark.borderBase};
Expand Down Expand Up @@ -35,7 +35,7 @@ const StyledSearch = styled.div`
}
`;

export default function Search({ valorDoFiltro, setValorDoFiltro }) {
export default function Search({ valorDoFiltro, setValorDoFiltro }) { // disposição do campo de pesquisa dentro do menu
//const [valorDaBusca, setValorDaBusca] = React.useState("Teste");
//console.log("Search", valorDaBusca)
const valorDaBusca = valorDoFiltro;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Menu/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit b1d12fb

@vercel
Copy link

@vercel vercel bot commented on b1d12fb Nov 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.