-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
176 lines (170 loc) · 13.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Shortly URL landing page for shortening URL">
<meta name="author" content="Ifeoluwa Oludare">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Frontend Mentor | Shortly URL shortening API Challenge</title>
</head>
<body>
<header class="header">
<div class="header__wrapper">
<div class="header__logo-container">
<a href="./index.html" title="Shortly Logo">
<svg xmlns="http://www.w3.org/2000/svg" width="121" height="33">
<path fill="#34313D"
d="M16.715 7.932c-.068-.09-.306-.26-.714-.51s-.918-.51-1.53-.782-1.281-.51-2.006-.714a8.005 8.005 0 00-2.176-.306c-1.995 0-2.992.669-2.992 2.006 0 .408.107.748.323 1.02.215.272.532.516.952.731.419.215.946.414 1.58.595l1.406.393.805.219c1.156.317 2.198.663 3.128 1.037.929.374 1.717.839 2.363 1.394a5.647 5.647 0 011.496 2.023c.35.793.527 1.745.527 2.856 0 1.36-.255 2.51-.765 3.451-.51.94-1.185 1.7-2.023 2.278-.84.578-1.802.997-2.89 1.258-1.088.26-2.21.391-3.366.391a19.68 19.68 0 01-5.44-.799c-.884-.26-1.74-.572-2.567-.935A14.358 14.358 0 01.53 22.28l2.448-4.862c.09.113.385.329.884.646.498.317 1.116.635 1.853.952.736.317 1.558.6 2.465.85.906.25 1.824.374 2.754.374 1.972 0 2.958-.6 2.958-1.802 0-.453-.148-.827-.442-1.122-.295-.295-.703-.561-1.224-.799a12.455 12.455 0 00-1.504-.56l-1.702-.495-.976-.288c-1.111-.34-2.074-.708-2.89-1.105-.816-.397-1.49-.856-2.023-1.377a5.003 5.003 0 01-1.19-1.802c-.261-.68-.391-1.473-.391-2.38 0-1.27.238-2.391.714-3.366a7.266 7.266 0 011.938-2.465 8.435 8.435 0 012.839-1.513c1.076-.34 2.215-.51 3.417-.51.838 0 1.666.08 2.482.238.816.159 1.598.363 2.346.612.748.25 1.445.533 2.09.85.647.317 1.242.635 1.786.952l-2.448 4.624zM40.139 25h-5.44V14.97c0-1.156-.227-2.006-.68-2.55-.454-.544-1.077-.816-1.87-.816-.318 0-.663.074-1.037.221a4.173 4.173 0 00-1.088.646 5.827 5.827 0 00-.97 1.003 4.4 4.4 0 00-.68 1.292V25h-5.44V.18h5.44v9.962a6.786 6.786 0 012.602-2.465c1.076-.578 2.26-.867 3.553-.867 1.201 0 2.17.21 2.907.629.736.42 1.303.952 1.7 1.598.396.646.663 1.371.799 2.176.136.805.204 1.592.204 2.363V25zm12.34.34c-1.519 0-2.873-.25-4.063-.748-1.19-.499-2.193-1.173-3.01-2.023a8.54 8.54 0 01-1.852-2.958 9.97 9.97 0 01-.63-3.519c0-1.224.21-2.397.63-3.519a8.54 8.54 0 011.853-2.958c.816-.85 1.819-1.53 3.009-2.04s2.544-.765 4.063-.765c1.519 0 2.867.255 4.046.765 1.179.51 2.176 1.19 2.992 2.04a8.754 8.754 0 011.87 2.958 9.736 9.736 0 01.646 3.519 9.97 9.97 0 01-.63 3.519 8.54 8.54 0 01-1.852 2.958c-.816.85-1.82 1.524-3.01 2.023-1.19.499-2.543.748-4.062.748zM48.5 16.092c0 1.405.374 2.533 1.122 3.383.748.85 1.7 1.275 2.856 1.275a3.59 3.59 0 001.564-.34c.476-.227.89-.544 1.24-.952a4.57 4.57 0 00.834-1.479 5.632 5.632 0 00.306-1.887c0-1.405-.374-2.533-1.122-3.383-.748-.85-1.689-1.275-2.822-1.275a3.702 3.702 0 00-2.84 1.292 4.57 4.57 0 00-.832 1.479 5.632 5.632 0 00-.306 1.887zm27.776-4.284c-1.315.023-2.505.238-3.57.646-1.065.408-1.836 1.02-2.312 1.836V25h-5.44V7.15h4.998v3.604c.612-1.201 1.4-2.142 2.363-2.822.963-.68 1.989-1.031 3.077-1.054h.544c.113 0 .227.011.34.034v4.896zm14.074 12.24a21.71 21.71 0 01-2.567.884c-.963.272-1.932.408-2.907.408-.68 0-1.32-.085-1.92-.255a4.286 4.286 0 01-1.582-.816c-.453-.374-.81-.867-1.07-1.479-.262-.612-.392-1.349-.392-2.21v-9.316h-2.278V7.15h2.278V1.472h5.44V7.15h3.638v4.114h-3.638v7.446c0 .59.147 1.014.442 1.275.295.26.669.391 1.122.391.408 0 .827-.068 1.258-.204.43-.136.805-.283 1.122-.442l1.054 4.318zM92.627.18h5.44v18.462c0 1.36.578 2.04 1.734 2.04.272 0 .572-.04.901-.119.329-.08.63-.198.901-.357l.714 4.08c-.68.317-1.462.567-2.346.748-.884.181-1.711.272-2.482.272-1.564 0-2.765-.408-3.604-1.224-.839-.816-1.258-1.995-1.258-3.536V.18zm11.456 27.506c.454.159.879.272 1.275.34a6.4 6.4 0 001.071.102c.658 0 1.168-.227 1.53-.68.363-.453.692-1.27.986-2.448l-6.8-17.85h5.61l4.148 13.192 3.57-13.192h5.1l-6.8 20.74a7.106 7.106 0 01-2.55 3.587c-1.224.918-2.674 1.377-4.352 1.377a8.17 8.17 0 01-1.377-.119 7.516 7.516 0 01-1.41-.391v-4.658z" />
</svg>
</a>
</div>
<nav aria-hidden="true" data-visible class="header__nav border-s-round">
<ul class="header__list-primary">
<li class="header__item"><a href="#">Features</a></li>
<li class="header__item"><a href="#">Pricing</a></li>
<li class="header__item"><a href="#">Resources</a></li>
</ul>
<ul class="header__list-secondary">
<li class="header__item"><a href="#">Login</a></li>
<li class="header__item"><button class="btn btn--cyan btn--rounded header__btn" type="button">Sign up</button>
</li>
</ul>
</nav>
<div tabindex="0" class="header__hamburger-btn">
<i class="fa-solid fa-bars"></i>
</div>
</div>
</header>
<main>
<section class="hero">
<div class="hero__illustration-container">
<img src="./images/illustration-working.svg" alt="illustration">
</div>
<div class="hero__info">
<h1 class="hero__title">
More than just shorter links
</h1>
<p class="hero__text">
Build your brand's recognition and get detailed insights on how your links are performing.
</p>
<button type="button" class="btn btn--rounded btn--cyan"><span>Get started</span></button>
</div>
</section>
<section class="links-section">
<div class="links-section__wrapper">
<form class="links-section__form form border-s-round" action="#">
<div class="form__input-wrapper">
<input class="form__input border-s-round" type="url" name="url" id="url"
placeholder="Shorten a link here...">
<p class="form__input-error-msg">Please add a link</p>
</div>
<button class="btn btn--cyan border-s-round form__btn" type="submit"><span>Shorten It!</span></button>
</form>
</div>
</section>
<section class="stats">
<div class="stats__info">
<h2 class="stats__title">Advanced Statistics</h2>
<p class="stats__text">Track how your links are performing across the web with our advanced statistics
dashboard.</p>
</div>
<div class="stats__attr-wrapper">
<article class="attr">
<div class="attr__avatar-container">
<img src="./images/icon-brand-recognition.svg" alt="icon-brand-recognition">
</div>
<div class="attr__info border-s-round">
<h3 class="attr__title">Brand Recognition</h3>
<p class="attr__text">Boost your brand recognition with each click.Generic links don't mean a thing. Branded
links help instil
confidence in your content.</p>
</div>
</article>
<article class="attr">
<div class="attr__avatar-container">
<img src="./images/icon-detailed-records.svg" alt="icon-brand-recognition">
</div>
<div class="attr__info border-s-round">
<h3 class="attr__title">Detailed Records</h3>
<p class="attr__text">Gain insights into who is clicking your links. Knowing when and where people engage
with your content
helps inform better decisions.</p>
</div>
</article>
<article class="attr">
<div class="attr__avatar-container">
<img src="./images/icon-fully-customizable.svg" alt="icon-fully-customizable">
</div>
<div class="attr__info border-s-round">
<h3 class="attr__title">Fully Customizable</h3>
<p class="attr__text">Improve brand awareness and content discoverability through customizable links,
supercharging audience
engagement.</p>
</div>
</article>
</div>
</section>
<section class="boost">
<div class="boost__info">
<h2 class="boost__title">
Boost your links today
</h2>
<button class="boost__btn btn btn--cyan btn--rounded" type="button"><span>Get started</span></button>
</div>
</section>
</main>
<footer class="footer">
<div class="footer__wrapper">
<div class="footer__logo-container">
<a href="./index.html" title="Shortly Logo">
<svg xmlns="http://www.w3.org/2000/svg" width="121" height="33">
<path fill="#ffffff"
d="M16.715 7.932c-.068-.09-.306-.26-.714-.51s-.918-.51-1.53-.782-1.281-.51-2.006-.714a8.005 8.005 0 00-2.176-.306c-1.995 0-2.992.669-2.992 2.006 0 .408.107.748.323 1.02.215.272.532.516.952.731.419.215.946.414 1.58.595l1.406.393.805.219c1.156.317 2.198.663 3.128 1.037.929.374 1.717.839 2.363 1.394a5.647 5.647 0 011.496 2.023c.35.793.527 1.745.527 2.856 0 1.36-.255 2.51-.765 3.451-.51.94-1.185 1.7-2.023 2.278-.84.578-1.802.997-2.89 1.258-1.088.26-2.21.391-3.366.391a19.68 19.68 0 01-5.44-.799c-.884-.26-1.74-.572-2.567-.935A14.358 14.358 0 01.53 22.28l2.448-4.862c.09.113.385.329.884.646.498.317 1.116.635 1.853.952.736.317 1.558.6 2.465.85.906.25 1.824.374 2.754.374 1.972 0 2.958-.6 2.958-1.802 0-.453-.148-.827-.442-1.122-.295-.295-.703-.561-1.224-.799a12.455 12.455 0 00-1.504-.56l-1.702-.495-.976-.288c-1.111-.34-2.074-.708-2.89-1.105-.816-.397-1.49-.856-2.023-1.377a5.003 5.003 0 01-1.19-1.802c-.261-.68-.391-1.473-.391-2.38 0-1.27.238-2.391.714-3.366a7.266 7.266 0 011.938-2.465 8.435 8.435 0 012.839-1.513c1.076-.34 2.215-.51 3.417-.51.838 0 1.666.08 2.482.238.816.159 1.598.363 2.346.612.748.25 1.445.533 2.09.85.647.317 1.242.635 1.786.952l-2.448 4.624zM40.139 25h-5.44V14.97c0-1.156-.227-2.006-.68-2.55-.454-.544-1.077-.816-1.87-.816-.318 0-.663.074-1.037.221a4.173 4.173 0 00-1.088.646 5.827 5.827 0 00-.97 1.003 4.4 4.4 0 00-.68 1.292V25h-5.44V.18h5.44v9.962a6.786 6.786 0 012.602-2.465c1.076-.578 2.26-.867 3.553-.867 1.201 0 2.17.21 2.907.629.736.42 1.303.952 1.7 1.598.396.646.663 1.371.799 2.176.136.805.204 1.592.204 2.363V25zm12.34.34c-1.519 0-2.873-.25-4.063-.748-1.19-.499-2.193-1.173-3.01-2.023a8.54 8.54 0 01-1.852-2.958 9.97 9.97 0 01-.63-3.519c0-1.224.21-2.397.63-3.519a8.54 8.54 0 011.853-2.958c.816-.85 1.819-1.53 3.009-2.04s2.544-.765 4.063-.765c1.519 0 2.867.255 4.046.765 1.179.51 2.176 1.19 2.992 2.04a8.754 8.754 0 011.87 2.958 9.736 9.736 0 01.646 3.519 9.97 9.97 0 01-.63 3.519 8.54 8.54 0 01-1.852 2.958c-.816.85-1.82 1.524-3.01 2.023-1.19.499-2.543.748-4.062.748zM48.5 16.092c0 1.405.374 2.533 1.122 3.383.748.85 1.7 1.275 2.856 1.275a3.59 3.59 0 001.564-.34c.476-.227.89-.544 1.24-.952a4.57 4.57 0 00.834-1.479 5.632 5.632 0 00.306-1.887c0-1.405-.374-2.533-1.122-3.383-.748-.85-1.689-1.275-2.822-1.275a3.702 3.702 0 00-2.84 1.292 4.57 4.57 0 00-.832 1.479 5.632 5.632 0 00-.306 1.887zm27.776-4.284c-1.315.023-2.505.238-3.57.646-1.065.408-1.836 1.02-2.312 1.836V25h-5.44V7.15h4.998v3.604c.612-1.201 1.4-2.142 2.363-2.822.963-.68 1.989-1.031 3.077-1.054h.544c.113 0 .227.011.34.034v4.896zm14.074 12.24a21.71 21.71 0 01-2.567.884c-.963.272-1.932.408-2.907.408-.68 0-1.32-.085-1.92-.255a4.286 4.286 0 01-1.582-.816c-.453-.374-.81-.867-1.07-1.479-.262-.612-.392-1.349-.392-2.21v-9.316h-2.278V7.15h2.278V1.472h5.44V7.15h3.638v4.114h-3.638v7.446c0 .59.147 1.014.442 1.275.295.26.669.391 1.122.391.408 0 .827-.068 1.258-.204.43-.136.805-.283 1.122-.442l1.054 4.318zM92.627.18h5.44v18.462c0 1.36.578 2.04 1.734 2.04.272 0 .572-.04.901-.119.329-.08.63-.198.901-.357l.714 4.08c-.68.317-1.462.567-2.346.748-.884.181-1.711.272-2.482.272-1.564 0-2.765-.408-3.604-1.224-.839-.816-1.258-1.995-1.258-3.536V.18zm11.456 27.506c.454.159.879.272 1.275.34a6.4 6.4 0 001.071.102c.658 0 1.168-.227 1.53-.68.363-.453.692-1.27.986-2.448l-6.8-17.85h5.61l4.148 13.192 3.57-13.192h5.1l-6.8 20.74a7.106 7.106 0 01-2.55 3.587c-1.224.918-2.674 1.377-4.352 1.377a8.17 8.17 0 01-1.377-.119 7.516 7.516 0 01-1.41-.391v-4.658z" />
</svg>
</a>
</div>
<nav class="footer__nav">
<ul class="footer__list">
<h4>Features</h4>
<li class="footer__item"><a href="#">Link shortening</a></li>
<li class="footer__item"><a href="#">Branded links</a></li>
<li class="footer__item"><a href="#">Analytics</a></li>
</ul>
<ul class="footer__list">
<h4>Resources</h4>
<li class="footer__item"><a href="#">Blog</a></li>
<li class="footer__item"><a href="#">Developers</a></li>
<li class="footer__item"><a href="#">Support</a></li>
</ul>
<ul class="footer__list">
<h4>Company</h4>
<li class="footer__item"><a href="#">About</a></li>
<li class="footer__item"><a href="#">Our team</a></li>
<li class="footer__item"><a href="#">Careers</a></li>
<li class="footer__item"><a href="#">Contact</a></li>
</ul>
</nav>
<nav class="footer__social-nav">
<ul class="footer__social-list">
<li class="footer__social-item"><a href="#" target="_blank" title="facebook"><i
class="fa-brands fa-square-facebook"></i></a>
</li>
<li class="footer__social-item"><a href="https://twitter.com/_ifeoluwaaa" target="_blank" title="twitter"><i
class="fa-brands fa-twitter"></i></a></li>
<li class="footer__social-item"><a href="#" target="_blank" title="pinterest"><i
class="fa-brands fa-pinterest"></i></a></li>
<li class="footer__social-item"><a href="#" target="_blank" title="instagram"><i
class="fa-brands fa-instagram"></i></a></li>
</ul>
</nav>
</div>
</footer>
<script src="./js/index.js" type="module"></script>
</body>
</html>