-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (52 loc) · 2.21 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
<!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.0">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"
integrity="sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Tailwind CSS -->
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<!-- Main CSS -->
<link rel="stylesheet" href="index.css">
<!-- Lazy loading script -->
<script src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js"></script>
<title>Personal Dashboard</title>
</head>
<body class="m-0 bg-cover text-white font-sans w-full">
<main class="p-4 min-h-screen flex flex-col justify-between">
<div class="flex justify-between">
<div id="crypto-details" class="bg-gray-800 p-4 rounded-md">
<div class="flex items-center mb-1 text-lg uppercase font-bold" id="crypto-top"><!-- Crypto API --></div>
</div>
<div id="weather-details" class="flex flex-col items-end bg-gray-800 p-4 rounded-md"><!-- Weather API --></div>
</div>
<div class="flex flex-col items-center w-full justify-between">
<h1 id="time" class="text-6xl">TIME HERE</h1>
</div>
<div class="flex justify-between">
<table
class="table-auto border-separate border-spacing-2 border border-slate-500 bg-gray-900 text-gray-300 text-sm border rounded-lg mt-2 font-sans">
<thead class="table-header-group">
<tr class="table-row text-center">
<th class="table-cell px-2">Rank</th>
<th class="table-cell px-2">Team</th>
<th class="table-cell px-2">Points</th>
</tr>
</thead>
<tbody id="epl-table">
<!-- Sports API -->
</tbody>
</table>
<div class="self-end mb-6">
<h3 id="advice" class="mb-4"><!-- Advice API --></h3>
<h4 id="location"><!-- Unsplashphotos API --></h4>
</div>
</div>
</main>
<script src="index.js"></script>
</body>
</html>