-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
169 lines (145 loc) · 6.12 KB
/
index.php
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
<link rel="stylesheet" href="css/style.css">
<title>Document</title>
</head>
<body>
<header>
<nav>
<div class="logo"> <img src="images/logo.webp" alt=""></div>
<ul class="paginas">
<li><a href="">Home</a></li>
<li><a href="">Produtos</a></li>
<li><a href="buscar.html">Buscar</a></li>
<li><a href="">Login</a></li>
</ul>
</nav>
</header>
<div class="container" id="container">
<div class="container">
<?php if (!empty($_GET['msgErro'])) { ?>
<div class="alert alert-warning" role="alert">
<?php echo $_GET['msgErro']; ?>
</div>
<?php } ?>
<?php if (!empty($_GET['msgSucesso'])) { ?>
<div class="alert alert-success" role="alert">
<?php echo $_GET['msgSucesso']; ?>
</div>
<?php } ?>
</div>
<div class="form-container sign-up">
<form action="processa_usuario.php" method="post">
<h1>Crie sua Conta</h1>
<div class="social-icons">
<a href="#" class="icon"><i class="fa-brands fa-google-plus-g"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-facebook-f"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-github"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-linkedin-in"></i></a>
</div>
<span>ou use seu email para se registrar</span>
<input type="text" name="nome" placeholder="nome" required>
<input type="text" name="cpf" placeholder="cpf" required>
<input type="email" name="email" placeholder="email" required>
<input type="password" name="senha" placeholder="senha" required>
<button name="enviarDados">Cadastrar</button>
</form>
</div>
<div class="form-container sign-in">
<form action="processa_login.php" method="post">
<h1>Faça seu Login</h1>
<div class="social-icons">
<a href="#" class="icon"><i class="fa-brands fa-google-plus-g"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-facebook-f"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-github"></i></a>
<a href="#" class="icon"><i class="fa-brands fa-linkedin-in"></i></a>
</div>
<span>ou use seu email para se registrar</span>
<input type="email" name="email" placeholder="email" required>
<input type="password" name="senha" placeholder="senha" required>
<a href="">Esqueceu sua senha</a>
<button>Login</button>
</form>
</div>
<div class="toggle-container">
<div class="toggle">
<div class="toggle-panel toggle-left">
<h1>Bem-vindo(a) de volta!</h1>
<p>Entre com suas informações de usuário para usar todas as ferramentas do nosso site</p>
<button class="hidden" id="login">Entrar</button>
</div>
<div class="toggle-panel toggle-right">
<h1>Olá, amigo(a)!</h1>
<p>Registre-se em nosso site para ficar por dentro das novidades da nossa pizzaria</p>
<button class="hidden" id="register">Cadastrar</button>
</div>
</div>
</div>
</div>
<!-- Rodapé do site -->
<footer>
<div id="footer_content">
<div id="footer_contacts">
<h2>Fatia Fina</h2>
<p>A melhor pizzaria da cidade!</p>
<div id="footer_social_media">
<a href="https://www.instagram.com" class="footer-link" id="instagram">
<i class="fa-brands fa-instagram"></i>
</a>
<a href="https://twitter.com" class="footer-link" id="twitter">
<i class="fa-brands fa-twitter"></i>
</a>
<a href="https://facebook.com" class="footer-link" id="facebook">
<i class="fa-brands fa-facebook"></i>
</a>
</div>
</div>
<ul class="footer-list">
<li>
<h3>Fale Conosco</h3>
</li>
<li>
<a href="" class="footer-link">SAC</a>
</li>
<li>
<a href="#" class="footer-link">Suporte</a>
</li>
<li>
<a href="#" class="footer-link">Contatos</a>
</li>
</ul>
<ul class="footer-list">
<li>
<h3>Produtos</h3>
</li>
<li>
<a href="#" class="footer-link">Pizzas</a>
</li>
<li>
<a href="#" class="footer-link">Mais Vendidos</a>
</li>
<li>
<a href="#" class="footer-link">Promoções</a>
</li>
</ul>
<div id="footer_subscribe">
<h3>Inscreva-se</h3>
<p>Coloque o seu email para ser notificado sobre nossas novidades</p>
<div id="input_group">
<input type="email" id="email">
<button><i class="fa-regular fa-envelope"></i></button>
</div>
</div>
</div>
<div id="footer_copyright">
Fatia Fina ©
2024 all rights reserved
</div>
</footer>
<script src="js/script.js"></script>
</body>
</html>