Skip to content

Commit 73b9b25

Browse files
authored
Merge branch 'master' into issue36
2 parents 7ae8570 + caa3bf2 commit 73b9b25

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2882
-682
lines changed

CONTRIBUTING.md

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Contribuir
2+
Gostaria de nos ajudar a melhorar o projeto? Veja este guia contribuição para ajudar o DevChallenge a crescer.
3+
4+
## Tabela de conteúdos
5+
- [Para começar](#para-começar)
6+
- [Clonando o repositório](#clonando-o-repositório)
7+
- [Criando a nova branch](#criando-a-nova-branch)
8+
- [Nomeando a mensagem de commit](#nomeando-a-mensagem-de-commit)
9+
- [Submetendo suas alterações](#submetendo-suas-alterações)
10+
- [Outras formas de contribuir](#outras-formas-de-contribuir)
11+
12+
## Para começar
13+
### Clonando o repositório
14+
Faça um fork do repositório no GitHub e o clone em sua máquina.
15+
```bash
16+
$ git clone https://github.com/{Seu nome}/DevChallenge.git
17+
18+
$ cd DevChallenge
19+
```
20+
21+
### Criando a nova branch
22+
Crie uma nova branch para a alteração que você deseja submeter. Por exemplo:
23+
```bash
24+
$ git checkout -b fix-responsive
25+
```
26+
Ao executar o comando acima, uma nova branch chamada `fix-responsive` será criada.
27+
28+
**Nota:** O nome da branch deve ser significativo e deve indicar **apenas** a mudança a ser feita. Requisições que não seguirem esse padrão não serão aceitas.
29+
30+
### Nomeando a mensagem de commit
31+
Para elaborar uma boa mensagem de commit, você pode imaginar a seguinte frase: "Se aplicado, este commit irá {sua mensagem de commit}". Por exemplo:
32+
33+
*Se aplicado, este commit irá **Corrigir responsividade mal formada**
34+
35+
Ou se preferir, você também pode submeter seus commits em inglês:
36+
37+
*If applied, this commit will **Fix malformed responsiveness***
38+
39+
Lembre-se de começar sua mensagem com uma palavra como: Adicionar, refatorar, deletar, etc..
40+
41+
**Nota:** Tente manter suas mensagens com menos de 50 caractéres e detalhar as alterações na descrição do commit. Apesar de não ser obrigatório, esta é uma prática muito conhecida e utilizada na comunidade do Git.
42+
43+
## Submetendo suas alterações
44+
Após ter realizado as mudanças, suba suas mudanças para o repositório remoto:
45+
```bash
46+
$ git push origin fix-responsive
47+
```
48+
49+
Após isso, vá ao seu repositório recém clonado no GitHub, selecione a branch criada e clique em Pull Request.
50+
51+
**IMPORTANTE:** Faça o Pull Request da sua branch especificamente para a branch `develop`. Pull Requests enviados a branch `master` serão automaticamente recusados.
52+
53+
Faça um comentário geral sobre as mudanças realizadas e, se necessário dê uma descrição sobre as alterações realizadas e sua justificativa (opcional). Por exemplo:
54+
55+
"**Corrigir #418**
56+
57+
Este PR corrige a issue submetida em relação a um erro de responsividade."
58+
59+
Após isso, seu Pull Request entrará em fase de revisão e, quem sabe, suas alterações sejam integradas ao DevChallenge!
60+
61+
## Outras formas de contribuir
62+
Você também pode ajudar o projeto crescer:
63+
64+
- Criando novos desafios
65+
- Sugerindo mudanças e melhorias
66+
- Fazendo parte de nossa [comunidade](https://discord.gg/yvYXhGj) no Discord

INSTALLING.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Instalação
2+
Essas instruções vão te levar a uma cópia do projeto rodando em sua máquina local para propósitos de testes e desenvolvimento.
3+
4+
## Pré-requisitos
5+
- [Node.js](https://nodejs.org/pt-br/download/) versão 12 ou superior
6+
- Gerenciador de pacotes (Yarn ou NPM)
7+
8+
### Clonando o repositório
9+
```bash
10+
$ git clone https://github.com/Lorenalgm/DevChallenge.git
11+
12+
$ cd DevChallenge
13+
```
14+
15+
Ou se preferir, faça o [download](https://github.com/Lorenalgm/DevChallenge/archive/master.zip) do projeto.
16+
17+
### Instalando dependências
18+
```bash
19+
$ yarn
20+
```
21+
22+
ou
23+
24+
```bash
25+
$ npm install
26+
```
27+
28+
### Iniciando uma instância local
29+
```bash
30+
$ yarn start
31+
```
32+
33+
ou
34+
35+
```bash
36+
$ npm start
37+
```

README.md

+39-75
Original file line numberDiff line numberDiff line change
@@ -20,99 +20,63 @@
2020

2121
## Índice
2222

23-
* [Sobre o Projeto](#sobre-o-projeto)
24-
* [Demo](#demo)
25-
* [Tecnologias](#tecnologias)
26-
* [Como Utilizar](#como-utilizar)
27-
* [Como Contribuir](#como-contribuir)
28-
* [Requisitos](#requisitos)
29-
* [Instalar](#instalar)
30-
* [Comunidade](#comunidade)
23+
- [Índice](#índice)
24+
- [Sobre o Projeto](#sobre-o-projeto)
25+
- [Demo:](#demo)
26+
- [Tecnologias:](#tecnologias)
27+
- [Como Utilizar](#como-utilizar)
28+
- [Como Contribuir](#como-contribuir)
29+
- [Requisitos](#requisitos)
30+
- [Instalar](#instalar)
31+
- [Comunidade](#comunidade)
3132

3233
## Sobre o Projeto
33-
O <a href="https://www.devchallenge.com.br/" alt="DevChallenge">DevChallenge</a> é um projeto que visa contrubuir com a evolução de desenvolvedores, disponibilizando desafios para que possam praticar, melhorar suas skills e criarem seus portfólios :)
34+
O <a href="https://www.devchallenge.com.br/" alt="DevChallenge">DevChallenge</a> é um projeto que visa contribuir com a evolução de desenvolvedores, disponibilizando desafios para que possam praticar, melhorar suas skills e criarem seus portfólios :)
3435

35-
### Demo:
3636
<p align="center">
3737
<img src="https://i.ibb.co/nLGdpF4/novosdesafioss.gif" alt="DevChallenge" width="720" height="380">
3838
</p>
3939

40-
### Tecnologias:
41-
- Backend: Nodejs
42-
- Frontend: Reactjs
43-
- Banco: MongoDB
40+
Além disso, somos uma projeto open source onde você pode contribuir na evolução do backend, frontend e criação de novos desafios. Para saber mais, participe da nossa comunidade :)
4441

45-
## Como Utilizar
46-
1 - Use um template do <a href="https://devchallenge.now.sh/">DevChallenge</a> com o código inicial<br>
47-
2 - Leia as instruções no readme.md<br>
48-
3 - Comece a codar!<br>
49-
4 - Compartilhe seu resultado com a comunidade :)
50-
<br><br>
51-
1 - Use a <a href="https://devchallenge.now.sh/">DevChallenge</a> template with the starter code<br>
52-
2 - Read the instructions in readme.md<br>
53-
3 - Start coding!<br>
54-
4 - Share your results with the community :)<br>
55-
56-
## Como Contribuir
57-
Você pode ajudar com o projeto:<br>
58-
- Sugerindo e/ou criando novos desafios: esses desafios ficarão disponíveis e poderão ajudar todos os desenvolvedores a praticarem
59-
- Contribuindo com melhorias e correções no site: você poderá enviar uma pull request para que sua alteração fique disponível para todos os devs!
60-
<br><br>
61-
You can help by contributing with new challenges or improving the website
62-
63-
### Requisitos
64-
1. Nodejs
65-
66-
### Instalar
67-
68-
<b>Front-end</b>
42+
## Feito com
43+
* [ReactJS](https://pt-br.reactjs.org/) - Biblioteca para criar interfaces de usuário
44+
* [Yarn](https://yarnpkg.com/) - Gerenciador de pacotes e dependências
6945

70-
1. Faça o <a target="_blank" href="https://github.com/Lorenalgm/DevChallenge/archive/master.zip">Download </a> ou clone o repositório do DevChallenge
71-
```sh
72-
git clone [email protected]:Lorenalgm/DevChallenge.git
73-
```
74-
2. Abra o projeto no seu editor.
75-
3. No seu terminal, instale os pacotes necessários:
76-
```sh
77-
yarn
78-
```
79-
ou
80-
```sh
81-
npm install
82-
```
83-
4. Show! Agora você pode ir na pasta frontend e iniciar o server:
84-
```sh
85-
cd frontend
86-
```
87-
```sh
88-
yarn start
89-
```
90-
5. Abra seu navegador! O DevChallenge estará disponvel em http://localhost:3000/ :)
46+
## Instalação
47+
Para clonar o projeto e executá-lo em sua máquina, veja os detalhes em [INSTALLING.md](INSTALLING.md).
9148

49+
## Contribuir
50+
Gostaria de contribuir com o projeto? Por favor acesse [CONTRIBUTING.md](CONTRIBUTING.md) para o manual completo de contribuição.
9251

93-
<b>Back-end</b>
94-
95-
O backend está disponível no repositório: <a href="https://github.com/Lorenalgm/DevChallengeAPI" alt="DevChallengeAPI">DevChallengeAPI</a>
52+
## Autores
53+
- **Lorena Montes** - *Trabalho inicial* - [Lorenalgm](https://github.com/Lorenalgm)
9654

55+
Veja também a lista de [contribuidores](https://devchallenge.now.sh/devs) que participaram do projeto.
9756

9857
## Comunidade
99-
Nosso objetivo é ajudar cada vez mais na evolução de desenvolvedores! Por isso, temos uma comunidade exclusiva do DevChallenge no Discord. Bora? https://discord.gg/yvYXhGj <br>
100-
<br>
101-
Site: https://www.devchallenge.com.br/ <br>
102-
103-
<table style="border-color:transparent">
104-
<th>
105-
<td><a href="https://discord.gg/yvYXhGj"><img src="https://cdn3.iconfinder.com/data/icons/discord/64/discord_20-512.png" width="30px" height="30px" alt="Discord"> </a></td>
106-
<td><a href="https://www.linkedin.com/company/devchallenge/"><img src="https://image.flaticon.com/icons/svg/1384/1384014.svg" width="30px" height="30px" alt="Linkedin"></a></td>
107-
<td><a href="https://twitter.com/dev_challenge"><img src="https://cdn3.iconfinder.com/data/icons/picons-social/57/43-twitter-512.png" width="30px" height="30px" alt="Twitter"></a</td>
108-
<td><a href="https://www.instagram.com/devchallenge/"><img src="https://cdn4.iconfinder.com/data/icons/picons-social/57/38-instagram-3-512.png" width="30px" height="30px" alt="Instagram"></a></td>
109-
</th>
110-
</table>
58+
Nosso objetivo é ajudar cada vez mais na evolução de desenvolvedores! Por isso, temos uma comunidade exclusiva do DevChallenge no Discord. Interessado? [Participe](https://discord.gg/yvYXhGj)!
59+
<br><br>
60+
Acesse nossa [plataforma](https://devchallenge.now.sh/)!
61+
<br><br>
62+
Nos siga nas redes sociais!
63+
<th>
64+
<td>
65+
<a href="https://www.linkedin.com/company/devchallenge/">
66+
<img src="https://image.flaticon.com/icons/svg/1384/1384014.svg" width="30px" height="30px" alt="Linkedin">
67+
</a>
68+
</td>
69+
<td>
70+
<a href="https://twitter.com/dev_challenge"><img src="https://cdn3.iconfinder.com/data/icons/picons-social/57/43-twitter-512.png" width="30px" height="30px" alt="Twitter"></a>
71+
</td>
72+
<td>
73+
<a href="https://www.instagram.com/devchallenge/"><img src="https://cdn4.iconfinder.com/data/icons/picons-social/57/38-instagram-3-512.png" width="30px" height="30px" alt="Instagram"></a>
74+
</td>
75+
</th>
11176

11277
[forks-shield]: https://img.shields.io/github/forks/Lorenalgm/DevChallenge.svg?style=flat-square
11378
[forks-url]: https://github.com/Lorenalgm/DevChallenge/network/members
11479
[stars-shield]: https://img.shields.io/github/stars/Lorenalgm/DevChallenge.svg?style=flat-square
11580
[stars-url]: https://github.com/Lorenalgm/DevChallenge/stargazers
11681
[issues-shield]: https://img.shields.io/github/issues/Lorenalgm/DevChallenge.svg?style=flat-square
11782
[issues-url]: https://github.com/Lorenalgm/DevChallenge/issues
118-

frontend/Teste.log

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Testando PR na branch

frontend/debug.log

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[0729/221145.237:ERROR:crash_report_database_win.cc(469)] failed to stat report
2+
[0729/221145.282:ERROR:crash_report_database_win.cc(469)] failed to stat report
3+
[0729/221145.283:ERROR:crash_report_database_win.cc(469)] failed to stat report
4+
[0729/221145.283:ERROR:crash_report_database_win.cc(469)] failed to stat report
5+
[0729/223542.097:ERROR:crash_report_database_win.cc(469)] failed to stat report
6+
[0729/223542.098:ERROR:crash_report_database_win.cc(469)] failed to stat report
7+
[0729/223542.098:ERROR:crash_report_database_win.cc(469)] failed to stat report
8+
[0729/223542.098:ERROR:crash_report_database_win.cc(469)] failed to stat report
9+
[0729/235052.267:ERROR:crash_report_database_win.cc(469)] failed to stat report
10+
[0729/235052.268:ERROR:crash_report_database_win.cc(469)] failed to stat report
11+
[0729/235052.304:ERROR:crash_report_database_win.cc(469)] failed to stat report
12+
[0729/235052.304:ERROR:crash_report_database_win.cc(469)] failed to stat report
13+
[0730/213507.902:ERROR:crash_report_database_win.cc(469)] failed to stat report
14+
[0730/213507.904:ERROR:crash_report_database_win.cc(469)] failed to stat report
15+
[0730/213507.904:ERROR:crash_report_database_win.cc(469)] failed to stat report
16+
[0730/213507.904:ERROR:crash_report_database_win.cc(469)] failed to stat report
17+
[0731/195201.876:ERROR:crash_report_database_win.cc(469)] failed to stat report
18+
[0731/195201.899:ERROR:crash_report_database_win.cc(469)] failed to stat report
19+
[0731/195201.899:ERROR:crash_report_database_win.cc(469)] failed to stat report
20+
[0731/195201.899:ERROR:crash_report_database_win.cc(469)] failed to stat report
21+
[0801/210611.449:ERROR:crash_report_database_win.cc(469)] failed to stat report
22+
[0801/210611.500:ERROR:crash_report_database_win.cc(469)] failed to stat report
23+
[0801/210611.500:ERROR:crash_report_database_win.cc(469)] failed to stat report
24+
[0801/210611.500:ERROR:crash_report_database_win.cc(469)] failed to stat report
25+
[0813/135559.995:ERROR:crash_report_database_win.cc(469)] failed to stat report
26+
[0813/135600.175:ERROR:crash_report_database_win.cc(469)] failed to stat report
27+
[0813/135600.175:ERROR:crash_report_database_win.cc(469)] failed to stat report
28+
[0813/135600.176:ERROR:crash_report_database_win.cc(469)] failed to stat report
29+
[0813/172932.159:ERROR:crash_report_database_win.cc(469)] failed to stat report
30+
[0813/172932.219:ERROR:crash_report_database_win.cc(469)] failed to stat report
31+
[0813/172932.219:ERROR:crash_report_database_win.cc(469)] failed to stat report
32+
[0813/172932.219:ERROR:crash_report_database_win.cc(469)] failed to stat report

frontend/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
"@testing-library/jest-dom": "^4.2.4",
1212
"@testing-library/react": "^9.3.2",
1313
"@testing-library/user-event": "^7.1.2",
14-
"axios": "^0.19.2",
14+
"axios": "^0.21.1",
1515
"dotenv": "^8.2.0",
1616
"react": "^16.13.1",
1717
"react-awesome-slider": "^4.1.0",
1818
"react-dom": "^16.13.1",
19+
"react-icons": "^3.11.0",
1920
"react-loading-skeleton": "^2.0.1",
2021
"react-router-dom": "^5.2.0",
2122
"react-scripts": "3.4.1",

frontend/public/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<title>DevChallenge</title>
3939

4040
<style>
41-
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
41+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
4242
</style>
4343
</head>
4444
<body>

frontend/src/App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import React from "react";
2-
import Routes from "./routes";
1+
import React from 'react';
2+
import Routes from './routes';
33

44
function App() {
55
return <Routes />;

frontend/src/assets/chevron-down.svg

+1
Loading

frontend/src/components/CategoryListItem/index.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ import Icon from 'react-web-vector-icons';
44
import * as S from './styled';
55

66
export default function CategoryListItem({ category }) {
7-
const type = category.name.replace('-', '');
7+
const type = category.name.replace('-', '').toLowerCase();
88
return (
9-
<S.Anchor
10-
className="challenge-link"
11-
to={{
12-
pathname: `/challenges/${type.toLowerCase()}`,
13-
state: { type },
14-
}}
9+
<S.Anchor
10+
className="challenge-link"
11+
to={{
12+
pathname: `/challenges`,
13+
search: `?type=${type}`,
14+
}}
1515
>
16-
<S.Tech>
16+
<S.Card>
1717
<Icon
1818
name={category.icon}
1919
color="#f4cf0a"
2020
size={50}
2121
font="FontAwesome"
2222
/>
23-
<S.TechName>{category.name}</S.TechName>
24-
</S.Tech>
23+
<S.Title>{category.name}</S.Title>
24+
</S.Card>
2525
</S.Anchor>
2626
);
2727
}

0 commit comments

Comments
 (0)