-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
330 lines (262 loc) · 14.9 KB
/
index.html
File metadata and controls
330 lines (262 loc) · 14.9 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
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="//unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
</head>
<body>
<div class="py-2 bg-gray-100">
<div class="w-full max-w-6xl px-4 mx-auto sm:px-6 md:px-8">
<!-- Desktop navbar -->
<header
class="sticky top-0 z-10 w-full bg-white shadow bg-opacity-80 backdrop-filter backdrop-blur-xl backdrop-saturate-150 rounded-2xl"
x-data="{ open: false }">
<nav class="flex items-center justify-between px-4 h-14">
<a class="text-lg font-semibold tracking-tight"
href="#">
Analytics
</a>
<ul class="items-center hidden space-x-6 text-sm font-medium text-gray-600 md:flex">
<li>
<a class="py-2 transition rounded-lg hover:text-gray-500 focus:text-gray-800 focus:outline-none"
href="#">Dashboard</a>
</li>
<li>
<a class="px-3 py-2 text-blue-600 transition rounded-lg bg-blue-50 hover:bg-gray-50 focus:outline-none"
href="#">
Sites
</a>
</li>
<li>
<a class="py-2 transition rounded-lg hover:text-gray-500 focus:text-gray-800 focus:outline-none"
href="#">Teams</a>
</li>
<li>
<a class="block transition rounded-full focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 focus:outline-none"
href="#">
<div class="relative w-8 h-8">
<div class="absolute inset-0 bg-gray-200 rounded-full animate-pulse"></div>
<img class="absolute inset-0 object-cover rounded-full"
src="https://thispersondoesnotexist.com/image"
alt="">
</div>
</a>
</li>
</ul>
<!-- Hamburger -->
<div class="md:hidden">
<button
class="flex items-center justify-center w-10 h-10 -mr-2 text-blue-500 transition rounded-full hover:bg-gray-50 focus:bg-blue-50 focus:outline-none"
x-on:click="open = !open"
type="button">
<svg class="w-7 h-7" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.75 5.75H19.25"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.75 18.25H19.25"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.75 12H19.25"/>
</svg> </button>
</div>
</nav>
<!-- Mobile menu -->
<nav class="px-2 md:hidden"
x-show="open"
x-cloak>
<div class="border-t"></div>
<ul class="flex flex-col py-2 space-y-1 text-sm font-medium text-gray-600">
<li>
<a class="block p-2 transition rounded-lg hover:bg-gray-50 focus:text-gray-800 focus:bg-gray-100 focus:outline-none"
href="#">Dashboard</a>
</li>
<li>
<a class="block p-2 text-blue-600 transition rounded-lg bg-blue-50 focus:outline-none"
href="#">
Sites
</a>
</li>
<li>
<a class="block p-2 transition rounded-lg hover:bg-gray-50 focus:text-gray-800 focus:bg-gray-100 focus:outline-none"
href="#">Teams</a>
</li>
<li>
<a class="block p-2 transition rounded-lg hover:bg-gray-50 focus:text-gray-800 focus:bg-gray-100 focus:outline-none"
href="#">Settings</a>
</li>
</ul>
</nav>
</header>
<div class="grid gap-2 my-12 md:gap-6 md:grid-cols-2">
<aside class="space-y-2">
<h1 class="text-2xl font-semibold tracking-tight md:text-3xl">Personal Site</h1>
<a class="inline-flex items-center space-x-1 font-medium"
href="#">
<svg class="text-green-500 w-7 h-7" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M5.75 11.75C5.75 11.1977 6.19772 10.75 6.75 10.75H17.25C17.8023 10.75 18.25 11.1977 18.25 11.75V17.25C18.25 18.3546 17.3546 19.25 16.25 19.25H7.75C6.64543 19.25 5.75 18.3546 5.75 17.25V11.75Z"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.75 10.5V10.3427C7.75 8.78147 7.65607 7.04125 8.74646 5.9239C9.36829 5.2867 10.3745 4.75 12 4.75C13.6255 4.75 14.6317 5.2867 15.2535 5.9239C16.3439 7.04125 16.25 8.78147 16.25 10.3427V10.5"/>
</svg>
<span>mulai.dev</span>
</a>
</aside>
<aside class="space-y-2 md:justify-self-end">
<div>
<label class="sr-only"
for="date_range">Show statistics for</label>
<div class="relative group">
<select
class="block w-full text-sm font-medium leading-4 transition duration-75 border-white rounded-lg shadow h-9 pr-9 focus:border-blue-600 focus:ring-1 focus:ring-inset focus:ring-blue-600 bg-none"
id="date_range">
<option value="week">Last week</option>
<option value="month">Last month</option>
<option value="year">Last year</option>
</select>
<span
class="absolute inset-y-0 right-0 flex items-center justify-center text-gray-400 transition pointer-events-none w-9 h-9 group-focus-within:text-blue-500">
<svg class="w-7 h-7" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15.25 10.75L12 14.25L8.75 10.75"/>
</svg> </span>
</div>
</div>
</aside>
</div>
<section class="grid gap-6 my-6 md:grid-cols-3">
<div class="p-6 bg-white shadow rounded-2xl">
<dl class="space-y-2">
<dt class="text-sm font-medium text-gray-500">Unique views</dt>
<dd class="text-5xl font-light md:text-6xl">192.1k</dd>
<dd class="flex items-center space-x-1 text-sm font-medium text-green-500">
<span>32k increase</span>
<svg class="w-7 h-7" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17.25 15.25V6.75H8.75"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17 7L6.75 17.25"/>
</svg> </dd>
</dl>
</div>
<div class="p-6 bg-white shadow rounded-2xl">
<dl class="space-y-2">
<dt class="text-sm font-medium text-gray-500">Bounce rate</dt>
<dd class="text-5xl font-light md:text-6xl">21%</dd>
<dd class="flex items-center space-x-1 text-sm font-medium text-red-500">
<span>7% increase</span>
<svg class="w-7 h-7" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17.25 8.75V17.25H8.75"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17 17L6.75 6.75"/>
</svg> </dd>
</dl>
</div>
<div class="p-6 bg-white shadow rounded-2xl">
<dl class="space-y-2">
<dt class="text-sm font-medium text-gray-500">Average time on page</dt>
<dd class="text-5xl font-light md:text-6xl">03:12</dd>
<dd class="flex items-center space-x-1 text-sm font-medium text-green-500">
<span>3% increase</span>
<svg class="w-7 h-7" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17.25 15.25V6.75H8.75"/>
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M17 7L6.75 17.25"/>
</svg> </dd>
</dl>
</div>
</section>
<section class="grid gap-6 my-6 md:grid-cols-2">
<div class="p-2 space-y-2 bg-white shadow rounded-xl">
<header class="px-4 py-2">
<h2 class="text-xl font-semibold tracking-tight">Visits per page</h2>
</header>
<div class="border-t"></div>
<div class="p-4">
<dl class="-my-2 space-y-1">
<div class="grid grid-cols-[2fr,1fr,1fr] gap-4 text-sm font-medium text-gray-500 pb-2">
<dt>Content</dt>
<dt class="text-right">Views</dt>
<dt class="text-right">Unique</dt>
</div>
<div class="relative py-2 -mx-2">
<div class="absolute inset-0 w-4/5 h-full rounded-lg bg-blue-50"></div>
<div class="grid grid-cols-[2fr,1fr,1fr] gap-4 text-sm font-medium px-2 relative">
<dd>/</dd>
<dd class="text-right">963</dd>
<dd class="text-right">567</dd>
</div>
</div>
<div class="relative py-2 -mx-2">
<div class="absolute inset-0 w-1/2 h-full rounded-lg bg-blue-50"></div>
<div class="grid grid-cols-[2fr,1fr,1fr] gap-4 text-sm font-medium px-2 relative">
<dd>/blog</dd>
<dd class="text-right">414</dd>
<dd class="text-right">124</dd>
</div>
</div>
<div class="relative py-2 -mx-2">
<div class="absolute inset-0 w-1/4 h-full rounded-lg bg-blue-50"></div>
<div class="grid grid-cols-[2fr,1fr,1fr] gap-4 text-sm font-medium px-2 relative">
<dd>/about-me</dd>
<dd class="text-right">251</dd>
<dd class="text-right">203</dd>
</div>
</div>
</dl>
</div>
</div>
<div class="p-2 space-y-2 bg-white shadow rounded-xl">
<header class="px-4 py-2">
<h2 class="text-xl font-semibold tracking-tight">Visits per country</h2>
</header>
<div class="border-t"></div>
<div class="p-4">
<dl class="-my-2 space-y-1">
<div class="grid grid-cols-[2fr,1fr,1fr] gap-4 text-sm font-medium text-gray-500 pb-2">
<dt>Country</dt>
<dt class="text-right">Views</dt>
<dt class="text-right">Unique</dt>
</div>
<div class="relative py-2 -mx-2">
<div class="absolute inset-0 w-2/3 h-full rounded-lg bg-blue-50"></div>
<div class="grid grid-cols-[2fr,1fr,1fr] gap-4 text-sm font-medium px-2 relative">
<dd>Netherlands</dd>
<dd class="text-right">71k</dd>
<dd class="text-right">40k</dd>
</div>
</div>
<div class="relative py-2 -mx-2">
<div class="absolute inset-0 w-1/2 h-full rounded-lg bg-blue-50"></div>
<div class="grid grid-cols-[2fr,1fr,1fr] gap-4 text-sm font-medium px-2 relative">
<dd>United States</dd>
<dd class="text-right">41k</dd>
<dd class="text-right">32k</dd>
</div>
</div>
<div class="relative py-2 -mx-2">
<div class="absolute inset-0 w-1/6 h-full rounded-lg bg-blue-50"></div>
<div class="grid grid-cols-[2fr,1fr,1fr] gap-4 text-sm font-medium px-2 relative">
<dd>Germany</dd>
<dd class="text-right">36k</dd>
<dd class="text-right">27k</dd>
</div>
</div>
</dl>
</div>
</div>
</section>
<footer class="my-6">
<ul class="flex flex-wrap items-center justify-center gap-6 text-sm text-center text-gray-500">
<li>
<a class="transition hover:text-gray-800 focus:underline focus:outline-none"
href="#">Careers</a>
</li>
<li>
<a class="transition hover:text-gray-800 focus:underline focus:outline-none"
href="#">Privacy</a>
</li>
<li>
<a class="transition hover:text-gray-800 focus:underline focus:outline-none"
href="#">Terms of service</a>
</li>
<li>
<a class="transition hover:text-gray-800 focus:underline focus:outline-none"
href="#">Support</a>
</li>
</ul>
</footer>
</div>
</div>
<script src="//unpkg.com/alpinejs" defer></script>
</body>
</html>