-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
181 lines (177 loc) · 6.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Frontend Mentor | Time tracking dashboard</title>
<meta
name="title"
content="Frontend Mentor | Time tracking dashboard"
/>
<meta
name="description"
content="This is Alberto Raúl José's solution to the Time tracking dashboard challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects."
/>
<meta name="author" content="Alberto Raúl José">
<meta name="favicon" content="./assets/images/favicon-32x32.png">
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/images/favicon-32x32.png"
/>
<!-- styles -->
<link rel="stylesheet" href="./style.css">
<!-- scripts -->
<script src="./main.js" defer></script>
</head>
<body>
<main class="container centered py-2">
<div class="content">
<div class="card dashboard">
<div class="profile p-2">
<img
src="./assets/images/image-jeremy.png"
alt="A picture of Jeremy Robson smiling"
width="84"
height="84"
/>
<h1 class="heading">
<span aria-hidden="true" class="d-block fw-500 heading-small">Report for</span>
<span aria-hidden="true" class="d-block fw-300 text-white heading-big">Jeremy Robson</span>
<span class="sr-only">Report for Jeremy Robson</span>
</h1>
</div>
<nav class="menu px-2 py-1">
<button
class="focusable"
aria-label="Show daily report"
data-type="daily">
Daily
</button>
<button
class="focusable active"
aria-label="Show weekly report"
data-type="weekly"
class="active">
Weekly
</button>
<button
class="focusable"
aria-label="Show monthly report"
data-type="monthly">Monthly
</button>
</nav>
</div>
<div class="card work zoom">
<div class="card-header"></div>
<div class="card-body p-2">
<div class="row-1">
<h2 class="card-title fw-500 text-white">Work</h2>
<span class="more">
<svg width="21" height="5" xmlns="http://www.w3.org/2000/svg">
<path d="M2.5 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z" fill="#BBC0FF" fill-rule="evenodd"/>
</svg>
</span>
</div>
<div class="row-2">
<p class="current fw-300 text-white">32hrs</p>
<p class="previous">Last Week - 36hrs</p>
</div>
</div>
</div>
<div class="card play zoom">
<div class="card-header"></div>
<div class="card-body p-2">
<div class="row-1">
<h2 class="card-title fw-500 text-white">Play</h2>
<span class="more">
<svg width="21" height="5" xmlns="http://www.w3.org/2000/svg">
<path d="M2.5 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z" fill="#BBC0FF" fill-rule="evenodd"/>
</svg>
</span>
</div>
<div class="row-2">
<p class="current fw-300 text-white">10hrs</p>
<p class="previous">Last Week - 8hrs</p>
</div>
</div>
</div>
<div class="card study zoom">
<div class="card-header"></div>
<div class="card-body p-2">
<div class="row-1">
<h2 class="card-title fw-500 text-white">Study</h2>
<span class="more">
<svg width="21" height="5" xmlns="http://www.w3.org/2000/svg">
<path d="M2.5 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z" fill="#BBC0FF" fill-rule="evenodd"/>
</svg>
</span>
</div>
<div class="row-2">
<p class="current fw-300 text-white">4hrs</p>
<p class="previous">Last Week - 7hrs</p>
</div>
</div>
</div>
<div class="card exercise zoom">
<div class="card-header"></div>
<div class="card-body p-2">
<div class="row-1">
<h2 class="card-title fw-500 text-white">Exercise</h2>
<span class="more">
<svg width="21" height="5" xmlns="http://www.w3.org/2000/svg">
<path d="M2.5 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z" fill="#BBC0FF" fill-rule="evenodd"/>
</svg>
</span>
</div>
<div class="row-2">
<p class="current fw-300 text-white">4hrs</p>
<p class="previous">Last Week - 5hrs</p>
</div>
</div>
</div>
<div class="card social zoom">
<div class="card-header"></div>
<div class="card-body p-2">
<div class="row-1">
<h2 class="card-title fw-500 text-white">Social</h2>
<span class="more">
<svg width="21" height="5" xmlns="http://www.w3.org/2000/svg">
<path d="M2.5 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z" fill="#BBC0FF" fill-rule="evenodd"/>
</svg>
</span>
</div>
<div class="row-2">
<p class="current fw-300 text-white">5hrs</p>
<p class="previous">Last Week - 10hrs</p>
</div>
</div>
</div>
<div class="card self-care zoom">
<div class="card-header"></div>
<div class="card-body p-2">
<div class="row-1">
<h2 class="card-title fw-500 text-white">Self Care</h2>
<span class="more">
<svg width="21" height="5" xmlns="http://www.w3.org/2000/svg">
<path d="M2.5 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Zm8 0a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5Z" fill="#BBC0FF" fill-rule="evenodd"/>
</svg>
</span>
</div>
<div class="row-2">
<p class="current fw-300 text-white">2hrs</p>
<p class="previous">Last Week - 2hrs</p>
</div>
</div>
</div>
</div>
</main>
<footer class="attribution p-1">
<p>
Challenge by <a class="fw-500 text-white focusable" href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a class="fw-500 text-white focusable" href="https://github.com/alberto-rj" target="_blank">Alberto Raúl José</a>.
</p>
</footer>
</body>
</html>