Skip to content

Commit 0914c81

Browse files
committed
organize files
1 parent 2f22cd5 commit 0914c81

Some content is hidden

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

58 files changed

+12
-12
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

recipes/src/App.js mod-02/recipes/src/App.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import './App.css';
21
import 'bootstrap/dist/css/bootstrap.min.css';
2+
import './App.css';
3+
import { useState } from 'react';
34
import RecipeList from './components/Recipes/RecipeList/RecipeList';
45
import { Routes, Route } from 'react-router-dom';
56
import About from './components/Pages/About/About';
@@ -8,7 +9,6 @@ import NavigationBar from './components/NavigationBar/NavigationBar';
89
import ErrorPage from './components/Pages/ErrorPage/ErrorPage';
910
import RecipeDetails from './components/Recipes/RecipeDetails/RecipeDetails';
1011
import recipesData from './recipes.json';
11-
import { useState } from 'react';
1212

1313
function App() {
1414
const [recipes, setRecipes] = useState(recipesData)

recipes/src/components/Recipes/AddRecipe/AddRecipe.js mod-02/recipes/src/components/Recipes/AddRecipe/AddRecipe.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@ function AddRecipe({ recipes, setRecipes }) {
3131
return (
3232
<Form onSubmit={handleSubmit}>
3333
<Form.Group className="mb-3">
34-
<Form.Label>Nome do prato</Form.Label>
34+
<Form.Label>Nome da receita</Form.Label>
3535
<Form.Control
3636
type="text"
37-
placeholder="Enter email"
37+
placeholder="Insira o nome da receita"
3838
name="name"
3939
onChange={handleChange}
4040
value={form.name}
4141
/>
4242
</Form.Group>
4343
<Form.Group className="mb-3">
44-
<Form.Label>Imagem do prato</Form.Label>
44+
<Form.Label>Imagem da receita pronta</Form.Label>
4545
<Form.Control
4646
type="text"
47-
placeholder="Enter email"
47+
placeholder="Insira o endereço da imagem da receita"
4848
name="image"
4949
onChange={handleChange}
5050
value={form.image}
@@ -55,7 +55,7 @@ function AddRecipe({ recipes, setRecipes }) {
5555
<Form.Label>Quantidade de porções</Form.Label>
5656
<Form.Control
5757
type="number"
58-
placeholder="Enter email"
58+
placeholder="Insira o número de porções da receita"
5959
name="servings"
6060
onChange={handleChange}
6161
value={form.servings}
@@ -65,17 +65,17 @@ function AddRecipe({ recipes, setRecipes }) {
6565
<Form.Label>Nível de Dificuldade</Form.Label>
6666
<Form.Select name="level" onChange={handleChange}>
6767
<option value="0">Selecione uma opção</option>
68-
<option value="1">Fácil</option>
69-
<option value="2">Intermediário</option>
70-
<option value="3">Difícil</option>
71-
<option value="4">Profissional</option>
68+
<option value="1">1</option>
69+
<option value="2">2</option>
70+
<option value="3">3</option>
71+
<option value="4">4</option>
7272
</Form.Select>
7373
</Form.Group>
7474
<Form.Group className="mb-3">
7575
<Form.Label>Preparação da receita</Form.Label>
7676
<Form.Control
7777
type="text"
78-
placeholder="Enter email"
78+
placeholder="Insira o modo de preparo da receita"
7979
name="preparation"
8080
onChange={handleChange}
8181
value={form.preparation}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)