-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
196 lines (180 loc) · 9.61 KB
/
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
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>iPet</title>
<link rel="icon" href="/imagens/logoPet.png" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href="style.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:[email protected]&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
</head>
<body>
<header class="container-fluid">
<div class="d-flex flex-column flex-md-row align-items-center">
<a href="index.html"><img src="imagens/logoPet.png" width="130px" height="100px" alt="Logo" class="me-3"></a>
<nav class="d-flex flex-column flex-md-row justify-content-between w-100">
<ul class="nav flex-column flex-md-row">
<li class="nav-item">
<a id="corT" class="nav-link fw-bold fs-5 fs-md-2" href="./cadastroProduto/produto.html">Produtos</a>
</li>
<li class="nav-item">
<a id="corT" class="nav-link fw-bold fs-5 fs-md-2" href="cadastroLocal/local.html">Lazer</a>
</li>
<li class="nav-item">
<a id="corT" class="nav-link fw-bold fs-5 fs-md-2" href="cadastroServicos/servicos.html">Serviços</a>
</li>
<li class="nav-item">
<a id="corT" class="nav-link fw-bold fs-5 fs-md-2" href="cadastroEventos/evento.html">Eventos</a>
</li>
</ul>
<ul class="nav flex-column flex-md-row">
<li class="nav-item">
<a id="logarLink" class="nav-link text-light rounded-4 px-3 fs-5 fs-md-4 fw-bold" href="./login/signup/loginForm.html" style="background-color: #d6660a;">Logar</a>
</li>
<li class="nav-item mt-2 mt-md-0 ms-md-2">
<a id="inscreverLink" class="nav-link text-light rounded-4 px-3 fs-5 fs-md-4 fw-bold" href="./login/signup/cadastroForm.html" style="background-color: #d6660a;">Se inscrever</a>
</li>
<li class="nav-item mt-2 mt-md-0 ms-md-2">
<a id="contaIcon" class="nav-link text-light rounded-4 px-3 fs-5 fs-md-4 fw-bold" href="./login/signup/perfil.html" style="background-color: #d6660a; display: none;">Conta</a>
</li>
</ul>
</nav>
</div>
<hr style="border-top: 2px solid black; width: 100%;margin-top: 0px;">
</header>
<div class="main-container">
<section id="Pet" class="container-fluid">
<div class="Pet" style="display: flex; justify-content: center;">
<div class="pet1">
<p id="corT2" class="ms-5 mt-5 pt-5 text-start fs-1 fw-bold">Para onde vamos hoje?</p>
<p id="corT3" class="ms-5 text-start fs-3 fw-bold">O melhor guia para seu pet</p>
<a href="cadastroLocal/local.html"id="corB" class="btn ms-5 mt-3 text-light rounded-4 px-3 fs-4 fw-bold">Veja Mais</a>
</div>
<div class="pet1">
<img src="imagens/fundoPet.png" alt="Fundo" class="img-fluid">
</div>
</div>
</section>
<section id="Produtos" class="container-fluid" style="margin-left: 160px;">
<p id="corT2" class="ms-5 mt-3 text-start fs-1 fw-bold">Estilo para seu amigo de 4 patas</p>
<div class="container mt-5" style="margin-top: 19px !important; display: flex; justify-content: left;">
<div class="product-cont row row-cols-1 row-cols-md-4 g-4" style="display: flex; justify-content: center; align-items: center;">
<div class="col productStyle">
<div class="card-body text-center">
<div id="imagem1"><img src="imagens/produto1.png" class="img-fluid"></div>
<h5 id="nome1" class="mt-3" style="font-weight: 800; color: #E85D0C; margin-top: -15px!important; margin-bottom: -5px;">Elfo</h5>
<a href="javascript:void(0);" onclick="selecionarProduto('1');" id="corB21" class="btn mt-3 text-light fw-bold rounded-4" style="background-color: #E85D0C;">Veja Mais</a>
</div>
</div>
<div class="col productStyle">
<div class="card-body text-center">
<div id="imagem2"><img src="imagens/produto2.png" class="img-fluid"></div>
<h5 id="nome2" class="mt-3" style="font-weight: 800; color: #E85D0C; margin-top: -15px!important; margin-bottom: -5px;">T-Rex</h5>
<a href="javascript:void(0);" onclick="selecionarProduto('2');" id="corB22" class="btn mt-3 text-light fw-bold rounded-4" style="background-color: #E85D0C;">Veja Mais</a>
</div>
</div>
<div class="col productStyle">
<div class="card-body text-center">
<div id="imagem3"><img src="imagens/produto3.png" class="img-fluid"></div>
<h5 id="nome3" class="mt-3" style="font-weight: 800; color: #E85D0C; margin-top: -15px!important; margin-bottom: -5px;">Biscoito</h5>
<a href="javascript:void(0);" onclick="selecionarProduto('3');" id="corB23" class="btn mt-3 text-light fw-bold rounded-4" style="background-color: #E85D0C;">Veja Mais</a>
</div>
</div>
</div>
</div>
</section>
<section id="Mapa" class="container-fluid">
<div class="mapa" style="
zoom: .85;
justify-content: center;
align-items: center;
margin-left: 10px;
margin-top: 60px;
flex-wrap: wrap;
;">
<p id="corT2" class="ms-5 mt-3 text-start fs-2 fw-bold" style="padding-left: 250px;">Veja os principais locais pet-friendly de BH</p>
<br>
<br>
<div class="">
<iframe src="https://www.google.com/maps/d/u/0/embed?mid=19pti1JQsAVFo19zGDHIdfnk4tp8E6tE&ehbc=2E312F&noprof=1" width="640" height="480"></iframe> </div>
<div class="" style="margin-left: 20px; max-width: 530px;">
</div>
</div>
</section>
</div>
<footer id="corB3" class="mt-5 p-5">
<div class="container">
<div class="row">
<div class="col-md">
<h6 class="mb-2">iPet</h6>
<p class="text-light">iPet é uma plataforma que visa facilitar donos de pet a encontrarem lugar ideal para seu amigo de 4 patas.</p>
</div>
<div class="col-md">
<h6 class="mb-2">Serviços</h6>
<p class="text-light">Restaurantes<br>Lojas<br>Shoppings</p>
</div>
<div class="col-md">
<h6 class="mb-2">Empresa</h6>
<p class="text-light">Quem Somos<br>Nossa Equipe</p>
</div>
<div class="col-md" style="flex: 3;">
<h6 class="mb-6">Receba Notícias</h6>
<form id="meuFormulario" action="#" method="post" class="d-flex">
<input style="height: 40px;" type="email" id="email" class="form-control me-1" placeholder="Seu e-mail" aria-label="Seu e-mail" aria-describedby="button-addon2" required>
<button style="margin: 0 !important; font-size: 11px !important; width: 30%;" id="corB" class="btn ms-1 mt-3 me-0 text-light rounded-2 fs-6 fw-bold" type="submit">Se Inscrever</button>
</form>
<div style="display: flex; justify-content: end;">
<a style="text-decoration: none;" href="https://www.instagram.com/ipetoficialbh/" target="_blank">
<img style="height: 50px; margin-top: 10px;" src="imagens/instagram.png" alt="Instagram" class="">
</a>
<a style="text-decoration: none;" href="https://www.x.com/ipetoficial/" target="_blank">
<img style="height: 50px; margin-top: 10px;" src="imagens/twitter.png" alt="Twitter" class="">
</a>
</div>
</div>
</div>
</div>
<hr style="border-top: 2px solid white; width: 100%; margin-top: 0px;">
<div class="d-flex flex-column flex-md-row justify-content-between align-items-center" style="color: white">
<p class="mb-0 me-md-5">Copyright iPet</p>
<div class="d-flex align-items-center">
<img src="imagens/loc.png" alt="Localização" class="me-2">
<p class="mb-0 me-md-5">Belo Horizonte, MG</p>
</div>
<div class="d-flex align-items-center">
<img src="imagens/mail.png" alt="Email" class="me-2">
<p class="mb-0 me-md-5">[email protected]</p>
</div>
<div class="d-flex align-items-center">
<img src="imagens/phone.png" alt="Telefone" class="me-2">
<p class="mb-0">+55 31 99999-9999</p>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script>
function selecionarProduto(produtoId) {
localStorage.setItem('produtoId', produtoId);
window.location.href = 'cadastroProduto/detalhes.html';
}
</script>
<script>
const usuarioLogado = localStorage.getItem('usuarioLogado');
const logarLink = document.getElementById('logarLink');
const inscreverLink = document.getElementById('inscreverLink');
const contaIcon = document.getElementById('contaIcon');
if (usuarioLogado) {
logarLink.style.display = 'none';
inscreverLink.style.display = 'none';
contaIcon.style.display = 'block';
} else {
logarLink.style.display = 'block';
inscreverLink.style.display = 'block';
contaIcon.style.display = 'none';
}
</script>
</body>
</html>