-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
185 lines (174 loc) · 8.13 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Héritage GO</title>
<meta name="description" content="Héritage GO is the community for heritage lovers.">
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="./asserts/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./asserts/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./asserts/favicon-16x16.png">
<link rel="manifest" href="./asserts/site.webmanifest">
<link rel="mask-icon" href="./asserts/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://kit-free.fontawesome.com/releases/latest/css/free.min.css"
integrity="sha384-h7v7it1kAxAmspqXfYqmlWr/1mGypjnm4HFceYYmmnV+n18pA6hdfytpnRW46FHC" crossorigin="anonymous">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="./css/main.css">
</head>
<body>
<header class="sticky-top">
<div class="layer blur-background">
</div>
<div class="layer header">
<div></div>
<div class="header__center">
<div>
<a href="."><img class="header__logo" src="./img/heritagego_logo_128x73.png" alt="Héritage GO Logo"></a>
</div>
<div class="header__area">
<div class="header__name">
<p>Ho Chi Minh City</p>
<p>Vietnam</p>
</div>
<div class="header__compass"><i class="far fa-compass"></i></div>
</div>
</div>
<div class="header__right">
<button type="submit" class="btn btn-outline-dark" data-toggle="modal" data-target="#modalLoginForm">Log In
</button>
</div>
</div>
</header>
<main class="w-100">
<!-- Photograph feed -->
<div id="defaultPost" class="card post" hidden>
<div class="card-header d-flex align-items-center">
<img src="./img/avatar-placeholder.png" alt="User avatar" class="mr-3 post__avatar">
<div class="post__detail">
<div class="d-flex font-weight-bold">
<input type="text" class="caption d-none" name="caption" aria-label="">
<div class="post__caption d-block"></div>
<div class="dropdown">
<img src="./img/ic_translate_24px.svg" class="post__ic-translate mx-3" alt=""
data-toggle="dropdown">
<span class="d-none language" data-toggle="dropdown"></span>
<ul class="dropdown-menu">
<li class="d-none dropdown-item" id="defaultLang">English</li>
</ul>
</div>
</div>
<div class="d-flex">
<div class="mr-4">
<i class="fas fa-map-marker-alt"></i>
<span class="post__area-name"></span>
</div>
<div class="post__date">
<i class="far fa-clock"></i>
<span></span>
</div>
</div>
</div>
</div>
<div class="card-body p-0">
<img src="" alt="" class="w-100 post__photo">
<div class="post__event d-flex">
<button class="border-0 bg-transparent post__action">
<i class="fas fa-heart"></i><span class="ml-1 post__like-count">0</span>
</button>
<button class="border-0 bg-transparent post__action">
<i class="fas fa-comment"></i><span class="ml-1 post__comment-count">0</span>
</button>
<button class="border-0 bg-transparent post__action">
<i class="fas fa-camera"></i><span class="ml-1 post__view-count">0</span>
</button>
<button class="border-0 bg-transparent post__action ml-auto">
<i class="fas fa-bookmark"></i>
</button>
</div>
</div>
<div class="card-footer">
<form class="form-group mb-1 post__comment">
<div class="input-group border">
<input class="form-control px-0 border-0 bg-transparent" aria-label="Write a comment"
placeholder="Write a comment" autocomplete="off">
<button class="fas fa-paper-plane border-0 bg-transparent" type="button"></button>
</div>
</form>
</div>
</div>
</main>
<!-- Login Modal -->
<div class="modal fade" id="modalLoginForm" tabindex="-1" role="dialog" aria-labelledby="modalLoginLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<form>
<div class="modal-header">
<h4 class="modal-title font-weight-bold" id="modalLoginLabel">Log in</h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<div class="input-group border-bottom border-primary">
<input id="defaultForm-email" type="text" class="form-control px-0 border-0" required>
<label class="form-control-placeholder" for="defaultForm-email">Email address</label>
<div class="line"></div>
</div>
</div>
<div class="form-group">
<div class="input-group border-bottom border-primary">
<input class="form-control px-0 border-0" id="defaultForm-pass" type="password" required>
<label class="form-control-placeholder" for="defaultForm-pass">Password</label>
<div class="line"></div>
<button type="button" class="fas fa-lock border-0 bg-transparent toggle-password"></button>
</div>
</div>
</div>
<div class="modal-footer border-top-0">
<button class="btn btn-primary btn-block">Login</button>
</div>
</form>
</div>
</div>
</div>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha384-vk5WoKIaW/vJyUAd9n/wmopsmNhiy+L2Z+SBxGYnUkunIxVxAv/UtMOhba/xskxh"
crossorigin="anonymous"></script>
<!-- Héritage GO RESTful API JavaScript Library -->
<script src="./js/heritagego-service.1.0.0.js"></script>
<!-- Popper.js & Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<!-- Toggle Password Visibility -->
<script>
$('.toggle-password').click(function () {
let input = $('#defaultForm-pass')
$(this).toggleClass('fa-lock fa-unlock-alt')
if (input.attr('type') === 'password') {
input.attr('type', 'text')
} else {
input.attr('type', 'password')
}
})
</script>
<!-- Compiled JS -->
<script src="./js/iso_mapping.js"></script>
<script src="./js/main.js"></script>
</body>
</html>