-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
335 lines (308 loc) · 10.4 KB
/
index.html
File metadata and controls
335 lines (308 loc) · 10.4 KB
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Indonesian Travel Website</title>
<link href="https://unpkg.com/tailwindcss@2.2.4/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="h-screen overflow-hidden flex items-center justify-center" style="background: #edf2f7;">
<div class="xl:w-1/3 md:w-1/2 p-36">
<div class="
c-card
block
bg-white
shadow-md
hover:shadow-xl
rounded-lg
overflow-hidden">
<img
class="
lg:h-60
xl:h-56
md:h-64
sm:h-72
xs:h-72
h-72
rounded
w-full
object-cover object-center
mb-4
"
src="https://images.unsplash.com/photo-1578494688088-8260d62a79c1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80"
alt="Image Size 720x400"
/>
<div class="p-4">
<h3
class="tracking-widest text-indigo-500 text-xs font-medium title-font"
>
Water Spot
</h3>
<h2
class="
text-lg text-gray-900
font-medium
title-font
mb-4
my-1
whitespace-nowrap
truncate
...
"
>
Beautiful Waterfall in Bali Islands
</h2>
<p
class="
text-gray-600
font-light
text-md
whitespace-nowrap
truncate
...
"
>
This place is one of wonderful place in Bali, natural waterfall with beautiful view.
<br />
<button id="buttonmodal" class="focus:outline-none my-8 font-medium text-blue-700" type="button">Explore</button>
</p>
</div>
</div>
</div>
<div id="modal"
class="fixed top-0 left-0 w-screen h-screen flex items-center justify-center bg-blue-500 bg-opacity-50 transform scale-0 transition-transform duration-300">
<!-- Modal content -->
<div class="bg-white w-1/2 h-1/2 p-12">
<!--Close modal button-->
<button id="closebutton" type="button" class="focus:outline-none">
<!-- Hero icon - close button -->
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</button>
<!-- Test content -->
<img class="
lg:h-60
xl:h-56
md:h-64
sm:h-72
xs:h-72
h-72
rounded
w-full
object-cover object-center
mb-4 my-4" src="https://images.unsplash.com/photo-1578494688088-8260d62a79c1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80"</img>
<h2 class="font-medium text-black my-4">Beautiful Waterfall in Bali Islands<h2>
<p class="font-light text-gray-600 ">
This place is one of wonderful place in Bali, natural waterfall with beautiful view.
</p>
</div>
</div>
<script>
const button = document.getElementById('buttonmodal')
const closebutton = document.getElementById('closebutton')
const modal = document.getElementById('modal')
button.addEventListener('click',()=>modal.classList.add('scale-100'))
closebutton.addEventListener('click',()=>modal.classList.remove('scale-100'))
</script>
<div class="xl:w-1/3 md:w-1/2 p-36">
<div class="
c-card
block
bg-white
shadow-md
hover:shadow-xl
rounded-lg
overflow-hidden">
<img
class="
lg:h-60
xl:h-56
md:h-64
sm:h-72
xs:h-72
h-72
rounded
w-full
object-cover object-center
mb-4
"
src="https://images.unsplash.com/photo-1588668214407-6ea9a6d8c272?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=871&q=80"
alt="Image Size 720x400"
/>
<div class="p-4">
<h3
class="tracking-widest text-indigo-500 text-xs font-medium title-font"
>
Mountain Spot
</h3>
<h2
class="
text-lg text-gray-900
font-medium
title-font
mb-4
my-1
whitespace-nowrap
truncate
...
"
>
Bromo Mountain
</h2>
<button id="buttonmodal" class="focus:outline-none my-8 font-medium text-blue-700" type="button">Explore</button>
</div>
</div>
</div>
<div id="modal"
class="fixed top-0 left-0 w-screen h-screen flex items-center justify-center bg-blue-500 bg-opacity-50 transform scale-0 transition-transform duration-300">
<!-- Modal content -->
<div class="bg-white w-1/2 h-1/2 p-12">
<!--Close modal button-->
<button id="closebutton" type="button" class="focus:outline-none">
<!-- Hero icon - close button -->
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</button>
<!-- Test content -->
<img class="
lg:h-60
xl:h-56
md:h-64
sm:h-72
xs:h-72
h-72
rounded
w-full
object-cover object-center
mb-4" src="https://images.unsplash.com/photo-1578494688088-8260d62a79c1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80"</img>
<p>
This place is one of wonderful place in Bali, natural waterfall with beautiful view.
</p>
</div>
</div>
<script>
const button = document.getElementById('buttonmodal')
const closebutton = document.getElementById('closebutton')
const modal = document.getElementById('modal')
button.addEventListener('click',()=>modal.classList.add('scale-100'))
closebutton.addEventListener('click',()=>modal.classList.remove('scale-100'))
</script>
<div class="xl:w-1/3 md:w-1/2 p-36">
<div class="
c-card
block
bg-white
shadow-md
hover:shadow-xl
rounded-lg
overflow-hidden">
<img
class="
lg:h-60
xl:h-56
md:h-64
sm:h-72
xs:h-72
h-72
rounded
w-full
object-cover object-center
mb-4
"
src="https://images.unsplash.com/photo-1626585825223-ac4a58afb411?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=435&q=80"
alt="Image Size 720x400"
/>
<div class="p-4">
<h3
class="tracking-widest text-indigo-500 text-xs font-medium title-font"
>
Forest Spot
</h3>
<h2
class="
text-lg text-gray-900
font-medium
title-font
mb-4
my-1
whitespace-nowrap
truncate
...
"
>
Wonderful Forest in Yogyakarta
</h2>
<p
class="
text-gray-600
font-light
text-md
whitespace-nowrap
truncate
...
"
>
Cool Forest with Beautiful View in Yogyakarta.
<br />
<button id="buttonmodal" class="focus:outline-none my-8 font-medium text-blue-700" type="button">Explore</button>
</p>
<div id="modal"
class="fixed top-0 left-0 w-screen h-screen flex items-center justify-center bg-blue-500 bg-opacity-50 transform scale-0 transition-transform duration-300">
<!-- Modal content -->
<div class="bg-white w-1/2 h-1/2 p-12">
<!--Close modal button-->
<button id="closebutton" type="button" class="focus:outline-none">
<!-- Hero icon - close button -->
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</button>
<!-- Test content -->
<img class="
lg:h-60
xl:h-56
md:h-64
sm:h-72
xs:h-72
h-72
rounded
w-full
object-cover object-center
mb-4" src="https://images.unsplash.com/photo-1578494688088-8260d62a79c1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=387&q=80"</img>
<p>
This place is one of wonderful place in Bali, natural waterfall with beautiful view.
</p>
</div>
</div>
<script>
const button = document.getElementById('buttonmodal')
const closebutton = document.getElementById('closebutton')
const modal = document.getElementById('modal')
button.addEventListener('click',()=>modal.classList.add('scale-100'))
closebutton.addEventListener('click',()=>modal.classList.remove('scale-100'))
</script>
<div class="flex items-center mt-2">
<img
class="w-10 h-10 object-cover rounded-full"
alt="User avatar"
src="https://i.pravatar.cc/200"
/>
<div class="pl-3">
<div class="font-medium">Michael Matt</div>
<div class="text-gray-600 text-sm">Travel Blogger</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>