-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
207 lines (194 loc) · 7.54 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
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
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Zadan Fairuz Socmed Report</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/dist/style.css">
<script defer src="/dist/script.js"></script>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<style>
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
</style>
</head>
<body>
<header class="header container">
<div class="header__title">
<h1>Social Media Dashboard</h1>
<span class="header__subtitle">Total Followers: 1,201</span>
</div>
<fieldset class="header__toggle toggle" aria-label="theme toggle" role="radiogroup">
<label for="dark">Dark Mode <span class="visually-hidden">On</span></label>
<div class="toggle__wrapper">
<input type="radio" name="theme" id="dark">
<input type="radio" name="theme" id="light">
<span aria-hidden="true" class="toggle__background"></span>
<span aria-hidden="true" class="toggle__button"></span>
</div>
<label for="light" class="visually-hidden">Dark Mode Off</label>
</fieldset>
</header>
<main>
<section class="container cards">
<div class="card card--facebook">
<div class="card__platform">
<img
class="card__icon"
src="images/icon-facebook.svg"
alt="Facebook"
>
<div class="card__username">@zadanfai</div>
</div>
<div class="card__followers">
<div class="card__count card__count--big">357</div>
<div class="card__label">Followers</div>
</div>
<div class="card__change card__change--up">
<img src="images/icon-up.svg" alt="up arrow">
12 Today
</div>
</div>
<div class="card card--twitter">
<div class="card__platform">
<img
class="card__icon"
src="images/icon-twitter.svg"
alt="Twitter"
>
<div class="card__username">@zadanfai</div>
</div>
<div class="card__followers">
<div class="card__count card__count--big">104</div>
<div class="card__label">Followers</div>
</div>
<div class="card__change card__change--up">
<img src="images/icon-up.svg" alt="up arrow">
9 Today
</div>
</div>
<div class="card card--instagram">
<div class="card__platform">
<img
class="card__icon"
src="images/icon-instagram.svg"
alt="Instagram"
>
<div class="card__username">@zadanfai</div>
</div>
<div class="card__followers">
<div class="card__count card__count--big">719</div>
<div class="card__label">Followers</div>
</div>
<div class="card__change card__change--up">
<img src="images/icon-up.svg" alt="up arrow">
14 Today
</div>
</div>
<div class="card card--youtube">
<div class="card__platform">
<img
class="card__icon"
src="images/icon-youtube.svg"
alt="Youtube"
>
<div class="card__username">@zadanfai</div>
</div>
<div class="card__followers">
<div class="card__count card__count--big">21</div>
<div class="card__label">Followers</div>
</div>
<div class="card__change card__change--down">
<img src="images/icon-down.svg" alt="down arrow">
2 Today
</div>
</div>
</section>
<section class="container">
<h2>Overview - Today</h2>
<div class="cards">
<div class="card card-grid">
<div class="card__subtitle">Page Views</div>
<img src="images/icon-facebook.svg" alt="Facebook">
<div class="card__count card__count--small">87</div>
<div class="card__change card__change--up">
<img src="images/icon-up.svg" alt="up arrow">
<div class="card__number">3%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Likes</div>
<img src="images/icon-facebook.svg" alt="Facebook">
<div class="card__count card__count--small">177</div>
<div class="card__change card__change--down">
<img src="images/icon-down.svg" alt="down arrow">
<div class="card__number">2%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Likes</div>
<img src="images/icon-instagram.svg" alt="Instagram">
<div class="card__count card__count--small">421</div>
<div class="card__change card__change--up">
<img src="images/icon-up.svg" alt="up arrow">
<div class="card__number">59%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Profile Views</div>
<img src="images/icon-instagram.svg" alt="Instagram">
<div class="card__count card__count--small">78</div>
<div class="card__change card__change--up">
<img src="images/icon-up.svg" alt="up arrow">
<div class="card__number">17%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Retweets</div>
<img src="images/icon-twitter.svg" alt="Twitter">
<div class="card__count card__count--small">37</div>
<div class="card__change card__change--up">
<img src="images/icon-up.svg" alt="up arrow">
<div class="card__number">86%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Likes</div>
<img src="images/icon-twitter.svg" alt="Twitter">
<div class="card__count card__count--small">507</div>
<div class="card__change card__change--up">
<img src="images/icon-up.svg" alt="up arrow">
<div class="card__number">553%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Likes</div>
<img src="images/icon-youtube.svg" alt="Youtube">
<div class="card__count card__count--small">107</div>
<div class="card__change card__change--down">
<img src="images/icon-down.svg" alt="down arrow">
<div class="card__number">19%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Total Views</div>
<img src="images/icon-youtube.svg" alt="Youtube">
<div class="card__count card__count--small">1047</div>
<div class="card__change card__change--down">
<img src="images/icon-down.svg" alt="down arrow">
<div class="card__number">12%</div>
</div>
</div>
</div>
</section>
</main>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>.
Coded by <a href="#">Zadan Fairuz</a>.
</div>
</body>
</html>