-
Notifications
You must be signed in to change notification settings - Fork 113
/
index.html
229 lines (217 loc) · 8.38 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="en">
<head>
<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>Frontend Mentor | [Challenge Name Here]</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: 23,004</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">@nathanf</div>
</div>
<div class="card__followers">
<div class="card__count card__count--big">1987</div>
<div class="card__label">Followers</div>
</div>
<div class="card__change card__change--up">
<img src="/images/icon-up.svg" alt="up arrow" />
<div class="card__number">12 Today</div>
</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">@nathanf</div>
</div>
<div class="card__followers">
<div class="card__count card__count--big">1044</div>
<div class="card__label">Followers</div>
</div>
<div class="card__change card__change--up">
<img src="/images/icon-up.svg" alt="up arrow" />
<div class="card__number">99 Today</div>
</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">@nathanf</div>
</div>
<div class="card__followers">
<div class="card__count card__count--big">11k</div>
<div class="card__label">Followers</div>
</div>
<div class="card__change card__change--up">
<img src="/images/icon-up.svg" alt="up arrow" />
<div class="card__number">1099 Today</div>
</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">@nathanf</div>
</div>
<div class="card__followers">
<div class="card__count card__count--big">8239</div>
<div class="card__label">Followers</div>
</div>
<div class="card__change card__change--down">
<img src="/images/icon-down.svg" alt="down arrow" />
<div class="card__number">144 Today</div>
</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 class="" 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 class="" src="/images/icon-facebook.svg" alt="Facebook" />
<div class="card__count card__count--small">52</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 class="" src="/images/icon-instagram.svg" alt="Instagram" />
<div class="card__count card__count--small">5462</div>
<div class="card__change card__change--up">
<img src="/images/icon-up.svg" alt="up arrow" />
<div class="card__number">2257%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Profile Views</div>
<img class="" src="/images/icon-instagram.svg" alt="Instagram" />
<div class="card__count card__count--small">52k</div>
<div class="card__change card__change--up">
<img src="/images/icon-up.svg" alt="up arrow" />
<div class="card__number">1375%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Retweets</div>
<img class="" src="/images/icon-twitter.svg" alt="Twitter" />
<div class="card__count card__count--small">117</div>
<div class="card__change card__change--up">
<img src="/images/icon-up.svg" alt="up arrow" />
<div class="card__number">303%</div>
</div>
</div>
<div class="card card-grid">
<div class="card__subtitle">Likes</div>
<img class="" 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 class="" 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 class="" src="/images/icon-youtube.svg" alt="YouTube" />
<div class="card__count card__count--small">1407</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="#">Your Name Here</a>.
</div>
</body>
</html>