-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (67 loc) · 3.96 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
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width", initial-scale="1.0" />
<title>Airbnb</title>
<link rel="shortcut icon" href="./assets/airbnb-favicon.svg" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.2.0/css/material-design-iconic-font.min.css">
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
<link href="https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css" />
</head>
<body>
<nav class="navbar fixed-top">
<a class="navbar-brand" href="#">
<img id=logo src="./assets/airbnb-logo.png" alt="Airbnb">
<img id=short-logo src="./assets/airbnb-short-logo.png" alt="Airbnb">
</a>
<div class="my-2">
<a id="btn-profile" href="https://linkedin.com/in/felipefadul" target="_blank">
<p>Felipe Fadul</p>
<img id="profile" src="./assets/profile.jpg" alt="Felipe Fadul" />
</a>
</div>
</nav>
<div class="container-fluid">
<section id="section-preferences" class="row">
<div class="col-md-7 input-preference">
<label for="input-place" class="input-title">LOCALIZAÇÃO</label>
<input class="input" id="input-place" onkeyup="renderCards()" placeholder="Para onde você vai?">
</div>
<div class="col-md-4 input-preference">
<label for="datepicker" class="input-title">CHECK-IN/CHECK-OUT</label>
<input type="date" id="datepicker" class="input" placeholder="Insira as datas">
</div>
</section>
<section id="section-filters">
<h1>Filtros:</h1>
<button class="filter-button" onclick="orderByNameAZ()">A-Z</button>
<button class="filter-button" onclick="orderByNameZA()">Z-A</button>
<button class="filter-button" onclick="orderByPropertyType()">Tipo de Propriedade</button>
<button class="filter-button" onclick="orderByLowestPrice()">Menor Preço</button>
<button class="filter-button" onclick="orderByHighestPrice()">Maior Preço</button>
</section>
<div class="my-4" id="cards-container"></div>
</div>
<footer class="text-muted">
<h6>Nenhum vínculo com o Airbnb. Site produzido para um desafio do programa Hiring Coders da <a href="https://gama.academy/" target="_blank">Gama Academy</a> em parceria com a <a href="https://vtex.com" target="_blank">VTEX</a>.</h6>
<h4>
Desenvolvido por <a href="https://linkedin.com/in/felipefadul" target="_blank">Felipe Fadul</a>
</h4>
<section id="section-icons">
<a href="https://linkedin.com/in/felipefadul" target="_blank"><i class="zmdi zmdi-linkedin card-icons"></i></a>
<a href="https://github.com/felipefadul" target="_blank"><i class="zmdi zmdi-github card-icons"></i></a>
</section>
</footer>
<script src="./js/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
<script src="https://npmcdn.com/flatpickr/dist/l10n/pt.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
</body>
</html>