-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (81 loc) · 5.76 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
<!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" />
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<title>Workout Tracker</title>
</head>
<body>
<div class="h-screen bg-emerald-900 flex items-center justify-center">
<div id="phone-container" class="border-4 border-zinc-900 w-[370px] h-[730px] rounded-[40px] relative bg-[url('assets/img/map.jpg')] bg-right bg-no-repeat bg-cover">
<div class="absolute top-10 w-full h-fit flex justify-end pr-4">
<div class="flex w-fit">
<button class="bg-white h-12 w-12 rounded-full absolute right-14">
<i class="ph-bold ph-sun-dim text-2xl"></i>
</button>
<button class="relative bg-white h-12 w-12 rounded-full bg-[url('assets/img/img3.jpg')] bg-cover bg-no-repeat bg-center"> </button>
</div>
</div>
<div id="content-container" class=" w-full absolute bottom-36 px-4">
<div class=" w-fit relative cursor-pointer">
<svg class="fill-green-900 h-[222px] w-fit drop-shadow-xl" width="288" height="270" viewBox="0 0 288 270" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 47.0957C0 18.3077 26.6878 -3.22136 55.095 1.44565C83.2917 6.07807 117.221 10.5 144 10.5C170.779 10.5 204.708 6.07807 232.905 1.44565C261.312 -3.22135 288 18.3077 288 47.0957L288 223.216C288 251.903 261.491 273.405 233.165 268.864C204.917 264.335 170.862 260 144 260C117.138 260 83.0828 264.335 54.8348 268.864C26.5088 273.405 0 251.903 0 223.216L0 47.0957Z" />
</svg>
<div class="absolute z-20 top-0 h-full w-full p-6 flex flex-col justify-between text-white">
<div>
<div class="text-xs text-green-100 font-light">Last training</div>
<h2 class="text-6xl font-bold tracking-tight">7.5<span class="text-3xl ml-px font-medium">km</span></h2>
</div>
<div class="flex flex-col gap-1">
<h2 class="text-2xl font-semibold tracking-tight">Outdoor Run</h2>
<div class="text-xs text-green-100 font-light">Tuesday, 1 Oct 2024, 7:11pm</div>
</div>
</div>
</div>
<div class="absolute left-56 rotate-6 bottom-0 cursor-pointer">
<div class=" w-fit relative">
<svg class="fill-white/95 h-[222px] w-fit drop-shadow-xl" width="288" height="270" viewBox="0 0 288 270" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 47.0957C0 18.3077 26.6878 -3.22136 55.095 1.44565C83.2917 6.07807 117.221 10.5 144 10.5C170.779 10.5 204.708 6.07807 232.905 1.44565C261.312 -3.22135 288 18.3077 288 47.0957L288 223.216C288 251.903 261.491 273.405 233.165 268.864C204.917 264.335 170.862 260 144 260C117.138 260 83.0828 264.335 54.8348 268.864C26.5088 273.405 0 251.903 0 223.216L0 47.0957Z" />
</svg>
<div class="absolute z-20 top-0 h-full w-full p-6 flex flex-col justify-between text-black">
<div>
<div class="text-xs text-zinc-700 font-light">Last training</div>
<h2 class="text-6xl font-bold tracking-tight">32.5<span class="text-3xl ml-px font-medium">m</span></h2>
</div>
<div class="flex flex-col gap-1">
<h2 class="text-2xl font-semibold tracking-tight">Swim</h2>
<div class="text-xs text-zinc-700 font-light">Tuesday, 1 Oct 2024, 7:11pm</div>
</div>
</div>
</div>
</div>
</div>
<div id="navbar-container" class="w-full absolute bottom-12 gap-6 flex flex-col items-center justify-between">
<div class="flex gap-3 bg-zinc-500/40 w-fit rounded-full p-px">
<button class="bg-white h-16 w-16 rounded-full">
<i class="ph-fill ph-person-simple-run text-2xl"></i>
</button>
<button class="bg-green-900 text-white h-16 w-16 rounded-full">
<i class="ph-fill ph-play text-2xl"></i>
</button>
<button class="bg-white h-16 w-16 rounded-full">
<i class="ph ph-waveform text-2xl font-bold"></i>
</button>
</div>
</div>
<hr class="border-2 border-zinc-100 w-24 rounded-full absolute bottom-3 left-1/2 -translate-x-1/2">
</div>
</div>
<div class="h-screen bg-zinc-900 flex flex-col items-center justify-center gap-6">
<div class="text-9xl tracking-tighter font-extrabold">
<span class="text-green-500">Os</span><span class="text-white">gi</span><span class="text-green-500">lb</span>
</div>
<div class="text-zinc-500 text-xl font-medium">
October 1, 2024
</div>
</div>
</body>
</html>