-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
230 lines (191 loc) · 7.35 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
230
<!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">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<script defer src="javascript/script.js"></script>
<title>Frontend Mentor | Shortly URL shortening API Challenge</title>
</head>
<body>
<div class="navbar">
<div class="site-name">
Shortly
</div>
<input type="checkbox" class="menu" name="menu" id="menu">
<!-- <div class="menu-box"> -->
<label for="menu"></label>
<!-- </div> -->
<nav class="nav">
<ul class="nav__items">
<li class="nav__item">
<a href="#" class="nav-link">Features</a>
</li>
<li class="nav__item">
<a href="#" class="nav-link">Pricing</a>
</li>
<li class="nav__item">
<a href="#" class="nav-link">Resources</a>
</li>
</ul>
<ul class="nav__buttons">
<li class="nav__item">
<a href="#" class="nav-link">Login</a>
</li>
<li class="nav__item">
<a href="#"class="btn--round btn">Sign Up</a>
</li>
</ul>
</nav>
</div>
<header class="header">
<div class="header__text-box">
<h1 class="heading-primary">
More than just shorter links
</h1>
<p class="header__text">
Build your brand’s recognition and get detailed insights on how your links are performing.
</p>
<a href="#" class="header__cta btn--round btn ">Get Started</a>
</div>
<img src="images/illustration-working.svg" alt="Girl working on laptop" class="header__image">
</header>
<main class="main">
<section class="links">
<form action="#" class="link__input-box" id="user-form">
<input type="text" class="user__link" id="user__link" placeholder="Shorten a link here..." />
<label class="user__link-label" for="user__link">Please add a link</label>
<button class="btn--rect btn submit__btn">Shorten it!</button>
</form>
<div class="link__output-boxes">
<!-- <div class="link__output-box data-box--1">
<p class="input__link">https://www.frontendmentor.io</p>
<p class="output__link">https://reLink/kbudcb</p>
<button class="btn--rect btn data-btn--1 copy-btn">Copy</button>
</div>
<div class="link__output-box data-box--2">
<p class="input__link">https://twitter.com/frontendmentor</p>
<p class="output__link">https://reLink/bc4299</p>
<button class="btn--rect btn data-btn--2 copy-btn">Copied!</button>
</div>
<div class="link__output-box data-box--3">
<p class="input__link">https://linkedin.com/company/frontend-mentor</p>
<p class="output__link">https://reLink/bxhiqh</p>
<button class="btn--rect btn data-btn--3 copy-btn">Copy</a>
</div> -->
</div>
</section>
<section class="statistics">
<div class="statistics__text-box">
<h2 class="heading-secondary">
Advanced Statistics
</h2>
<p class="statistics__text">
Track how your links are performing across the web with our advanced statistics dashboard.
</p>
</div>
<div class="statistics__info">
<hr class="statistics__line">
<figure class="statistic__box statistic__box--1">
<div class="statistic__image">
<img src="images/icon-brand-recognition.svg" alt="icon-brand-recognition" class="statistic__img">
</div>
<figcaption>Brand Recognition</figcaption>
<p class="statistic__info-1">
Boost your brand recognition with each click. Generic links don’t
mean a thing. Branded links help instil confidence in your content.
</p>
</figure>
<figure class="statistic__box statistic__box--2">
<div class="statistic__image">
<img src="images/icon-detailed-records.svg" alt="icon-detailed-records" class="statistic__img">
</div>
<figcaption>Detailed Records</figcaption>
<p class="statistic__info-2">
Gain insights into who is clicking your links. Knowing when and where
people engage with your content helps inform better decisions.
</p>
</figure>
<figure class="statistic__box statistic__box--3">
<div class="statistic__image">
<img src="images/icon-fully-customizable.svg" alt="icon-fully-customizable" class="statistic__img">
</div>
<figcaption>Fully Customizable</figcaption>
<p class="statistic__info-3">
Improve brand awareness and content discoverability through customizable
links, supercharging audience engagement.
</p>
</figure>
</div>
</section>
<section class="boost">
<h2 class="heading-secondary">
Boost your links today
</h2>
<a href="section.links" class="btn--round btn">Get Started</a>
</section>
</main>
<footer class="footer">
<div class="site__name">
Shortly
</div>
<div class="site__features">
<p class="headers">Features</p>
<ul class="features__list">
<li class="features__item">
<a href="" class="features__link">Link Shortening</a>
</li>
<li class="features__item">
<a href="" class="features__link">Branded Links</a>
</li>
<li class="features__item">
<a href="" class="features__link">Analytics</a>
</li>
</ul>
</div>
<div class="site__resources">
<p class="headers">Resources</p>
<ul class="resources__list">
<li class="resources__item">
<a href="" class="resources__link">Blog</a>
</li>
<li class="resources__item">
<a href="" class="resources__link">Developers</a>
</li>
<li class="resources__item">
<a href="" class="resources__link">Support</a>
</li>
</ul>
</div>
<div class="site__pages">
<p class="headers">Company</p>
<ul class="pages__list">
<li class="pages__item">
<a href="#" class="pages__link">About</a>
</li>
<li class="pages__item">
<a href="#" class="pages__link">Our Team</a>
</li>
<li class="pages__item">
<a href="#" class="pages__link">Carers</a>
</li>
<li class="pages__item">
<a href="#" class="pages__link">Contact</a>
</li>
</ul>
</div>
<div class="site__socials">
<img src="images/icon-facebook.svg" alt="Facebook" class="site__social-media">
<img src="images/icon-twitter.svg" alt="Twitter" class="site__social-media">
<img src="images/icon-pinterest.svg" alt="Pinterest" class="site__social-media">
<img src="images/icon-instagram.svg" alt="Instagram" class="site__social-media">
</div>
<div class="attribution">
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. Coded by <a href="#">Riya Kushwaha</a>.
</div>
</footer>
</body>
</html>