-
Notifications
You must be signed in to change notification settings - Fork 32
/
index.html
123 lines (122 loc) · 7.18 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles/main.css">
<link rel="stylesheet" href="./styles/index.css">
<link rel="icon" type="image/svg" href="./images/favicon.svg">
<script src="https://kit.fontawesome.com/5660cb5f80.js" crossorigin="anonymous"></script>
<title>KdMeuBichinho? - Início</title>
</head>
<body>
<header class="">
<nav class="menu" id="menu">
<a href="https://kdmeubichinho.vercel.app/">
<img src="https://kdmeubichinho.vercel.app/images/logo-black.svg" alt="Logo KdMeuBichinho" class="logo">
</a>
<input type="checkbox" id="bar">
<label for="bar" class="bars">☰</label>
<ul class="">
<li><a href="https://kdmeubichinho.vercel.app/">Início</a></li>
<li><a href="https://kdmeubichinho.vercel.app/views/petadvert.html">Anunciar</i></a></li>
<li><a href="https://kdmeubichinho.vercel.app/views/signup.html">Cadastrar</a></li>
<li><button class="btn-primary" onclick="location.href='https://kdmeubichinho.vercel.app/views/login.html'">Entrar</i></button></li>
</ul>
</nav>
</header>
<main id="main">
<section class="section-search">
<section class="search">
<div class="slogan">
<img src="./images/home.svg" alt="Homem segurando um cachorro na coleira e com uma lupa na mão" class="img-home">
<h1 class="h1-secondary" id="start"><strong>Encontre seu melhor amigo</strong></h1>
<h2 class="h2-secondary">perdido ou encontre alguém doando por perto.</h2>
</div>
<div class="search-field">
<span class="search-field-area">
<select name="especie" id="especie" class="filter-field" title="Selecione o animal que deseja procurar (opcional)">
<option value="0" selected disabled>Qual animal?</option>
<option value="0">Todos</option>
<option value="1">Cachorro</option>
<option value="2">Gato</option>
<option value="3">Pássaro</option>
<option value="4">Roedor</option>
</select>
<select name="acontecimento" id="categoria" class="filter-field" title="Informe o que aconteceu com seu animal (opcional)">
<option value="0" selected disabled>O que aconteceu?</option>
<option value="0">Todos</option>
<option value="1">...fugiu de casa</option>
<option value="2">...encontrado na rua</option>
<option value="3">...para adoção</option>
</select>
<input type="text" title="Insira um CEP para exibir os resultados (opcional)" alt="Campo para digitar um CEP" placeholder="CEP" id="cep" class="filter-field">
</span>
<button class="btn-primary" id="btn_buscar">Buscar</i></button>
</div>
</section>
<section class="result display-none">
<div class="result-filters">
<input type="checkbox" id="filter">
<label for="filter" class="filters">Filtros <i class="fas fa-angle-down"></i></label>
<div class="search-input">
<section class="title-filters">
<label>Refine sua busca <i class="fas fa-filter"></i></label>
<p id="title_filters_result"></p>
</section>
<div class="filter-fields">
<label for="sexo">Sexo</label>
<select name="sexo" id="sexo" class="filter-field">
<option value="" selected>Todos</option>
<option value="MACHO">Macho</option>
<option value="FEMEA">Fêmea</option>
<option value="NAO_IDENTIFICADO">Não identificado</option>
</select>
</div>
<div class="filter-fields">
<label for="idade">Idade</label>
<select name="idade" id="idade" class="filter-field">
<option value="" selected>Todos</option>
<option value="FILHOTE">Filhote</option>
<option value="ADULTO">Adulto</option>
</select>
</div>
<div class="filter-fields">
<label for="porte">Porte</label>
<select name="porte" id="porte" class="filter-field">
<option value="" selected>Todos</option>
<option value="PEQUENO">Pequeno</option>
<option value="MEDIO">Médio</option>
<option value="GRANDE">Grande</option>
</select>
</div>
<button class="btn-primary" id="btn_aplicar_filtro">Aplicar filtros</button>
</div>
</div>
<div class="result-cards">
<div class="result-cards-section" id="cards_area">
<!-- Cars dos animais são carregados via JavaScript -->
</div>
<nav class="pagination" id="pagination_area">
<ul id="pagination">
<!-- Paginação é carregada via JavaScript -->
</ul>
</nav>
</div>
</section>
<footer class="footer display-none" aria-placeholder="Topo" id="footer">
<img src="https://kdmeubichinho.vercel.app/images/icone-black.svg" alt="Icone do KdMeuBichinho" class="icone">
<div>
<a href="https://github.com/teteusAraujo/KdMeuBichinho" target="_blank"><strong>Colabore no Github do projeto.</strong></a>
<p>2021 Todos os direitos reservados.</p>
</div>
<a href="#main"><button class="btn-primary"><span class="footer-top-button"><i class="fas fa-chevron-up"></i></span></button></a>
</footer>
</section>
</main>
<script src="./scripts/main.js"></script>
<script src="./scripts/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
</body>
</html>