-
Notifications
You must be signed in to change notification settings - Fork 0
/
upload-post-index.html
135 lines (130 loc) · 5.21 KB
/
upload-post-index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mortos de fome - Postar Receita</title>
<link rel="stylesheet" href="style/post-style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<link rel="icon" href="assets/marsal.png" type="image/png">
</head>
<body>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="index.html"><img src="assets/logo.png" alt="Logo"> </a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#"><i class="fa-solid fa-house"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Em alta</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Menu
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Receitas</a></li>
</ul>
</li>
<li class="nav-item-1">
<a class="login" onclick="inpLogin()"><img class="usr-img" src="assets/user.svg" alt="Usuário" height="25px"
width="25px"></a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Formulário para postar receita -->
<section class="post-recipe">
<div class="container">
<h2 class="section-title">Poste sua Receita</h2>
<form id="recipeForm">
<div class="mb-3">
<label for="recipeTitle" class="form-label">
<span class="title">
Título da Receita
</span>
</label>
<input type="text" class="form-control" id="recipeTitle" placeholder="Digite o título da receita">
</div>
<div class="mb-3">
<label for="recipeCategory" class="form-label">
<span class="categoria">
Categoria
</span>
</label>
<select class="form-select" id="recipeCategory">
<option value="vegetariano"><span class="sel-vegan">Vegetariano</span></option>
<option value="vegano">Vegano</option>
<option value="sem_lactose">Sem Lactose</option>
<option value="carnivoro">Carnívoro</option>
</select>
</div>
<div class="mb-3">
<label for="recipeIngredients" class="form-label">
<span class="ingredientes">
Ingredientes
</span>
</label>
<textarea class="form-control" id="recipeIngredients" rows="3"
placeholder="Digite os ingredientes da receita"></textarea>
</div>
<div class="mb-3">
<label for="recipeInstructions" class="form-label">
<span class="modo">
Modo de Preparo
</span>
</label>
<textarea class="form-control" id="recipeInstructions" rows="5"
placeholder="Digite o modo de preparo da receita"></textarea>
</div>
<div class="mb-3">
<label for="recipeImage" class="form-label">
<span class="rec-img">
Imagem da Receita
</span>
</label>
<input type="file" class="form-control" id="recipeImage">
</div>
<button type="submit" class="btn btn-primary">Postar Receita</button>
</form>
</div>
</section>
<footer class="footer">
<div class="footer-container">
<div class="footer-top">
<div>
<img src="assets/logo.png" alt="Mortos de fome" class="footer-title" height="100px">
<ul class="footer-list">
<li class="footer-list-item">
<a href="#" class="footer-list-link">Sobre</a>
</li>
<li class="footer-list-item">
<a href="#" class="footer-list-link">Receitas</a>
</li>
<li class="footer-list-item">
<a href="#" class="footer-list-link">Afiliados</a>
</li>
<li>
<a href=""><span class="copyright">2024 Mortos de fome. Todos os direitos reservados.</span></a>
</li>
</ul>
</div>
</div>
<hr class="footer-divider">
<div class="footer-bottom"></div>
</div>
</footer>
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script src="javascript/script.js"></script>
</body>
</html>