-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
202 lines (162 loc) · 7.01 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
<!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="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<title>Frontend Mentor | Shortly URL shortening API Challenge</title>
<!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="container ">
<div class="row my-5">
<nav class="col-md-6 d-flex justify-content-between">
<li><img src="./images/logo.svg" alt=""></li>
<li> Features </li>
<li> Princing </li>
<li> Resources </li>
</nav>
<div class="col-md-6 d-flex justify-content-end">
<a href="" class="btn mr-1 rounded-pill w-25" > Login</a>
<a href="" class="btn btn-info rounded-pill w-25">sign Up</a>
</div>
</div>
<section class="row pt-5">
<div class="col-md-6 pt-5">
<h1 class="font-weight-bold"> More than just shorter links </h1>
<p> Build your bra,d's recognition and get detailed insights on how your links are performing.</p>
<a href="" class="btn btn-info rounded-pill">Get started</a>
</div>
<div class="col-md-6"><img src="./images/illustration-working.svg" alt=""> </div>
</section>
<div class=' div' style="background-color:#222242 ; border-radius: 15px; ">
<div class="div-row mt-5">
<div class=" div-input d-flex justify-content-center ">
<input id="linkInput" type="text" class=' col-10 input h-50 ' placeholder="Shoten a link here...">
<div class=" col-md-2">
<button id="testBtn" class='w-100 shorten-btn btn btn-info'> Shorten it!</button>
</div>
</div>
</div>
</div>
</header>
<main class="main">
<section class="w-100 section1">
<div class="links">
<!-- <div class="showLinks d-flex justify-content-between align-items-baseline">
<p>https://www.youtube.com/watch?v=azwzZIZHXzk&lis..</p>
<div>
<a href="https://rel.ink/kzq0vg">https://rel.ink/kzq0vg</a>
<button class="btn ml-3">Copy</button>
</div>
</div> -->
</div>
<div class="text-center" style="padding-top: 8%;">
<h2>
Advanced Statistics
</h2>
<p> Build your bra,d's recognition and get detailed insights on how your links are performing.</p>
</div>
<div class="row d-flex justify-content-center" style="padding: 7%;">
<div class="bg-light col-md-3" style=" transform: translateY(-20%);">
<div class="div-img "> <img class="w-75" src="./images/icon-brand-recognition.svg" alt=""> </div>
<h2> Brand Recognition</h2>
<p> 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 class="align-self-center">
<div class="bg-light col-md-3">
<div class="div-img p-2"> <img class="w-75" src="./images/icon-detailed-records.svg" alt=""> </div>
<h2>Detailed Records</h2>
<p> 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 class="align-self-center">
<div class="bg-light col-md-3 " style=" transform: translateY(20%);">
<div class="div-img"><img class="w-75" src="./images/icon-fully-customizable.svg" class='' alt=""> </div>
<h2>Fully Customizable</h2>
<p> Boost your brand recognition with each click Generic links don't mean a thing Branded links help instil
confidence in your content. </p>
</div>
</div>
</section>
<section style="background-color:#222242 ;" class="w-100">
<div class="section2 p-5 text-light text-center w-100 ">
<h2> Boosts your links today</h2>
<a href="" class="btn btn-info rounded-pill">Get started</a>
</div>
</section>
</main>
<footer class="footer">
<div class="row text-light pt-5">
<div class="col-md-3">
<img class = 'ml-5' src="./images/logowhite.svg" alt="">
</div>
<div class=" row col-md-6">
<ul >
<li> <strong>Features </strong></li>
<li> <a href="#"> Link Shortening </a></li>
<li> <a href="#"> Branded Links</a></li>
<li> <a href="#"> Analytics</a></li>
</ul>
<ul >
<li><strong> Resources</strong></li>
<li> <a href="#">Blog</a></li>
<li> <a href="#">Developers</a></li>
<li> <a href="#">Support</a></li>
</ul>
<ul>
<li><strong> Company</strong></li>
<li> <a href="#">About</a></li>
<li> <a href="#"> Our Team</a></li>
<li> <a href="#"> Careers</a></li>
<li> <a href="#"> Contact</a></li>
</ul>
</div>
<ul class="col-md-3 row">
<li><img src="./images/icon-facebook.svg" alt=""></li>
<li><img src="./images/icon-twitter.svg" alt=""></li>
<li><img src="./images/icon-pinterest.svg" alt=""></li>
<li> <img src="./images/icon-instagram.svg" alt=""></li>
</ul>
</div>
<div class="row">
<div class="col-md-12 text-center text-light">
<p>
<span class="block">
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
<script>
document.write(new Date().getFullYear());
</script> Challenge by Frontend Mentor.<i class="icon-heart2"
aria-hidden="true"></i> Coded by <a href="https://github.com/IkramELMAACHI/ShortLink"
target="_blank">EL MAACHI Ikram </a>
</p>
</div>
</div>
</footer>
<script src="main.js"></script>
<script>
// function CopyFunction() {
// console.log('function copy')
// var copyText = document.getElementById("myinput");
// copyText.select();
// copyText.setSelectionRange(0, 99999)
// document.execCommand("copy");
// alert("Copied the text: " + copyText.value);
// }
</script>
</body>
</html>