-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
252 lines (205 loc) · 7.25 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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- displays site properly based on user's device -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="URL Shortening API Landing Page built by Karishma Garg for a Frontend Mentor Challenge">
<meta name="theme-color" content="#000000">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<script src="https://kit.fontawesome.com/5731f6d037.js" crossorigin="anonymous"></script>
<title>Shortly URL shortening API Landing Page</title>
</head>
<body>
<!-- Navigation Bar -->
<nav class="grid-container">
<!-- Logo -->
<a href="#" class="col-2"><img src="images/logo.svg" alt="Shortly Logo" width="140px" height="40px"></a>
<!-- Navigation Menu -->
<ul class="nav-menu col-3">
<li class="nav-item">
<a href="#">Features</a>
</li>
<li class="nav-item">
<a href="#">Pricing</a>
</li>
<li class="nav-item" id="resources">
<a href="#">Resources</a>
</li>
<!-- Buttons for mobile nav -->
<li class="nav-item">
<div id="nav-menu-btns">
<a href="#">Login</a>
<a href="#" class="main-btns">Sign Up</a>
</div>
</li>
</ul>
<!-- Navigation Buttons -->
<div class="nav-btns">
<a href="#">Login</a>
<a href="#" class="main-btns">Sign Up</a>
</div>
<!-- Hamburger -->
<span class="hamburger"></span>
</nav>
<!-- Header -->
<header class="grid-container">
<!-- Header Image -->
<div class="header-image col-6"></div>
<!-- Header text -->
<div class="header-text col-6">
<h2>
More than just shorter links
</h2>
<p class="header-desc">
Build your brand’s recognition and get detailed insights
on how your links are performing.
</p>
<a href="#" class="main-btns">Get Started</a>
</div>
</header>
<!-- Main -->
<main>
<div class="stats-bg">
<!-- Shorten Link input -->
<div class="grid-container form-result">
<!-- Form Container -->
<div class="form-container col-12">
<form class="col-12" name="url_form" id="form" action="submit">
<input type="url" name="url" id="url-input" placeholder="Shorten a link here..." class="">
<div id="error"></div>
<button class="main-btns" id="submit-url">Shorten It!</button>
</form>
</div>
</div>
<!-- Result Container -->
<div class="result grid-container"></div>
<!-- Stats-Container -->
<div class="stats-container grid-container">
<!-- Stats Heading -->
<div class="stats-head col-12">
<h2 class="stat-head">
Advanced Statistics
</h2>
<p class="stat-head-desc">
Track how your links are performing across the web with our
advanced statistics dashboard.
</p>
</div>
<!-- Statistics Columns Container -->
<div class="stat-col-container col-12">
<!-- Statistic Column: Brand Recognition -->
<div class="stat-col">
<div class="stat-col-img">
<img src="images/icon-brand-recognition.svg" alt="" width="40px" height="40px">
</div>
<h3 class="stat-col-head">
Brand Recognition
</h3>
<p class="stat-col-desc">
Boost your brand recognition with each click. Generic links don’t
mean a thing. Branded links help instil confidence in your content.
</p>
</div>
<hr>
<!-- Statistic Column: Detailed Records -->
<div class="stat-col" id="detailed-records">
<div class="stat-col-img">
<img src="images/icon-detailed-records.svg" alt="" width="40px" height="40px">
</div>
<h3 class="stat-col-head">
Detailed Records
</h3>
<p class="stat-col-desc">
Gain insights into who is clicking your links. Knowing when and where
people engage with your content helps inform better decisions.
</p>
</div>
<hr>
<!-- Statistic Column: Fully Customizable -->
<div class="stat-col" id="customizable">
<div class="stat-col-img">
<img src="images/icon-fully-customizable.svg" alt="" width="40px" height="40px">
</div>
<h3 class="stat-col-head">
Fully Customizable
</h3>
<p class="stat-col-desc">
Improve brand awareness and content discoverability through customizable
links, supercharging audience engagement.
</p>
</div>
</div>
</div>
</div>
</main>
<!-- Boost Container Background -->
<div class="boost-bg">
<section class="grid-container">
<h2 class="col-12">Boost your links today</h2>
<a href="#" class="main-btns col-12">Get Started</a>
</section>
</div>
<!-- Footer -->
<footer class="footer-bg">
<div class="grid-container">
<!-- Logo -->
<a href="#" class="col-2">
<img src="images/logo.svg" alt="Shortly logo" id="logo" width="140px" height="40px">
</a>
<!-- Footer Navigation Links -->
<div class="footer-nav-container col-6 grid-container">
<!-- Footer Nav Column: Features -->
<div class="footer-nav-col col-4">
<h3 class="footer-nav-head">
Features
</h3>
<a href="#">Link Shortening</a>
<a href="#">Branded Links</a>
<a href="#">Analytics</a>
</div>
<!-- Footer Nav Column: Resources -->
<div class="footer-nav-col col-4">
<h3 class="footer-nav-head">
Resources
</h3>
<a href="#">Blog</a>
<a href="#">Developers</a>
<a href="#">Support</a>
</div>
<!-- Footer Nav Column: Company -->
<div class="footer-nav-col col-4">
<h3 class="footer-nav-head">
Features
</h3>
<a href="#">About</a>
<a href="#">Our Team</a>
<a href="#">Careers</a>
<a href="#">Contact</a>
</div>
</div>
<!-- Social Links -->
<div class="social-links col-3">
<a href="#"><img src="images/icon-facebook.svg" alt="Facebook Icon" width="30px" height="30px"></a>
<a href="#"><img src="images/icon-twitter.svg" alt= "Twitter Icon" width="30px" height="30px"></a>
<a href="#"><img src="images/icon-pinterest.svg" alt= "Pinterest Icon" width="30px" height="30px"></a>
<a href="#"><img src="images/icon-instagram.svg" alt= "Instagram Icon" width="30px" height="30px"></a>
</div>
</div>
</footer>
<!-- Attribution -->
<div class="attribution" role="doc-credits">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank">
Frontend Mentor
</a>.
Coded by
<a href="https://github.com/Krrish105">
Karishma Garg
</a>.
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>