-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
287 lines (212 loc) · 16.6 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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Tags For Seo + Page Optimization -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="images/logo2.png" >
<!-- Page Title(Name)-->
<title>LinkC</title>
<!-- Bootstrap CSS File -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- Font-Awesome CSS File -->
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/footer-distributed-with-address-and-phones.css">
<link href="http://fonts.googleapis.com/css?family=Cookie" rel="stylesheet" type="text/css">
<!-- Custom Style CSS File -->
<link rel="stylesheet" href="css/style.css">
</head>
<body data-spy="scroll" data-target=".navbar" data-offset="50" >
<div class=" parallax-window" id="home" data-parallax="scroll" data-image-src="images/demo_slider_bg.jpg" style="height: 100vh;">
<div class="overlay_gradient"></div>
<canvas class="background_3" style="position: absolute"></canvas>
<header>
<nav class="navbar navbar-expand fixed-top web-nav" >
<div class="container topnav" style="z-index: 10; " >
<!-- Collect the nav links, forms, and other content for toggling -->
<a class="navbar-brand raleway" href="#">
<div class="logo-div-white" style="margin-bottom: 35px;">
LinkC
<img src="images/logo2.png" alt="logo">
</div>
</a>
<ul class="nav navbar-nav navbar-left">
<li class="active"><a href="#home" class="link">Home</a></li>
<li><a href="#about" class="link">About</a></li>
<li><a href="Blog/blog.html" class="link">Blog</a></li>
<li><a href="Pricing/pricing.html" class="link">Pricing</a></li>
<li><a href="#contact" class="link">Contact Us</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="Login/index.html" class="link" id="log-btn">Login</a></li>
<li id="highlight-link"><a href="Register/index.html" class="link" id="sign-btn">Sign Up</a></li>
</ul>
</div><!-- /Top-nav closed div -->
</nav> <!-- /web-nav closed div -->
</header>
<div class="header-detail-inner text-center" style="position: relative;z-index: 9;">
<div class="container">
<p class="white_color open_sans small_heading" style="font-weight: 100; margin-bottom: 25px;">Make All Your Link Together</p>
<h2 id="type_it_slider" class="typer montserrat" style="margin-bottom: 60px;"></h2>
<div class="button_div text-center">
<a href="Login/index.html" target="_blank" class="button button_default_style open_sans bg_before_white " style="border: 2px solid #fff; padding: 13px 0;">LOGIN</a>
<a href="Register/index.html" target="_blank" class="sc bg_blue button button_default_style open_sans bg_before_white">SIGN UP</a>
</div>
</div>
</div>
</div>
<!------------------------------------------------------ HEADING Section --------------------------------------------------------------->
<br><div class="container">
<h1 style="text-align: center">Use it anywhere. Link to everywhere.</h1>
</div>
<!------------------------------------------------------ PROMO Section --------------------------------------------------------------->
<br><br><div class="container" id="about">
<div class="row">
<div class="col-md-6 col-sm-12">
<img src="images/divphone.jpg" alt="phoneview" style="max-width: 100%;height: auto;">
</div>
<div class="col-md-6 col-sm-12">
<h3>How it works</h3>
<p>LinkC is a free tool for optimising your internet presence, whether you’re a blogger, an artist or run a content
platform.</p>
<p> You get one link to house all the content you’re driving followers to. Share that link anywhere, like your
Instagram bio, Facebook posts or Twitch profile.</p>
<p>Let your content live longer than the feed.</p>
<a class="btn btn-success" href="/Register/index.html">SIGN UP FREE</a>
</div>
</div>
</div>
<!------------------------------------------------------ FEATURES Section --------------------------------------------------------------->
<br><br><div class="container mt-3">
<!--<div class="d-flex justify-content-around bg-secondary mb-3 bx">-->
<div class="row grid bx">
<div class="col-md-4 col-sm-12">
<div class="p-2"><svg xmlns="http://www.w3.org/2000/svg" width="69" height="82"><g fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"><path stroke="#39E09B" d="M29.81 26.708c.704-1.518 3.711-7.24 3.711-7.24.725-1.408 1.638-2.283 1.638-2.283l7.657-7.178c2.812-2.523.945-4.687.945-4.687-2.02-1.688-3.837-.275-3.837-.275s-8.66 5.414-10.593 6.636c0 0-1.077.462-2.465 2.087-1.388 1.626-13.498 18.558-13.498 18.558"></path><path stroke="#39E09B" d="M1.116 81l8.415-43.526.34-1.758c.314-1.623 1.302-2.274 1.302-2.274l12.858-6.539v-.001c1.053-.535 2.365-.362 2.365-.362s8.109.296 10.021.565c1.091-.016 2.249 1.075 2.249 1.075l10.619 8.957s1.994 1.147 1.197 3.654c0 0-1.237 2.523-4.791.782l-8.842-5.497c-1.646-.547-4.982.046-4.982.046s-2.049-.139-3.302 1.409c0 0-2.677 2.653-.352 11.714 0 0 1.293 5.584 12.02 3.858 1.125-.182 8.912-1.996 9.943.373 0 0 1.149 2.703-2.246 4.562-2.348 1.285-24.778 10.359-24.778 10.359s-1.358.619-1.997 2.692C20.516 73.165 20.56 81 20.56 81"></path><path stroke="#39E09B" d="M9.265 38.843c-1.369-3.558-2.535-6.64-2.753-7.376-.581-1.959-.391-3.063-.391-3.063.027-2.186.194-11.946.194-11.946s-.187-2.191 2.216-2.932c0 0 2.707-.37 3.267 3.196l.554 6.321"></path><path stroke="#39E09B" d="M9.871 35.715c1.083-5.607 3.541-18.242 3.991-19.836.581-2.057 1.366-2.927 1.366-2.927 1.246-1.918 6.849-10.457 6.849-10.457s1.06-2.042 3.599-1.353c0 0 2.601 1.185 1.103 4.652l-5.747 11.144s-.464 1.176-.533 2.759l-.164 2.939"></path><path stroke="#ADADAD" d="M61.794 45.486l6.09-.655m-10.556-6.972l3.981-5.27m-2.257 21.3l5.01 4.302M43.908 48.82a3.331 3.331 0 01-.295-.67 3.29 3.29 0 012.174-4.111 3.273 3.273 0 012.164.082h.003c.575.169 1.269-.081 1.269-.081s.711-.183 1.092-.646l.002-.002a3.286 3.286 0 015.988 1.606c.291 2.459-2.013 4.266-5.171 5.241-3.161.972-6.081.777-7.226-1.419z"></path></g></svg><h3>One Bio Link</h3><p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Dolorem dolores, ut quaerat blanditiis iusto suscipit distinctio, labore cumque accusamus recusandae rem ullam perferendis quos eveniet tenetur id expedita nemo quisquam.</p></div>
</div>
<div class="col-md-4 col-sm-12">
<div class="p-2"><svg xmlns="http://www.w3.org/2000/svg" width="55" height="82"><g fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"><path stroke="#ADADAD" d="M27.808 22.326V81"></path><path stroke="#39E09B" d="M27.808 1c-.707 0-5.965 7.081-5.965 13.419 0 3.899 2.396 7.097 5.443 7.424h1.044c3.132-.327 5.443-3.525 5.443-7.424C33.771 8.081 28.591 1 27.808 1z"></path><path stroke="#ADADAD" d="M38.156 33.252s-10.349 7.812-10.349 15.549"></path><path stroke="#39E09B" d="M53.264 18.386c-.5-.5-9.226.79-13.707 5.271-2.757 2.757-3.324 6.712-1.399 9.098l.737.738c2.444 1.983 6.342 1.356 9.099-1.4 4.479-4.482 5.82-13.154 5.27-13.707z"></path><path stroke="#ADADAD" d="M17.459 43.253s10.348 7.812 10.348 15.549"></path><path stroke="#39E09B" d="M7.623 42.093c2.756 2.757 6.653 3.384 9.098 1.4l.738-.738c1.924-2.385 1.356-6.341-1.401-9.097-4.481-4.482-13.206-5.772-13.706-5.272-.554.554.789 9.225 5.271 13.707z"></path></g></svg><h3>Multiple Destinations</h3><p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Saepe vitae maiores temporibus blanditiis, impedit atque, consequatur porro ad rerum dignissimos et veniam ullam perspiciatis a non ratione laborum eaque! Id?</p></div>
</div>
<div class="col-md-4 col-sm-12">
<div class="p-2"><svg xmlns="http://www.w3.org/2000/svg" width="73" height="82"><g fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"><path stroke="#ADADAD" d="M24.372 23.72L2.136 45.956c-1.29 1.29-1.318 3.353-.064 4.606l.003.004.004.004c1.254 1.255 3.317 1.226 4.607-.064L28.922 28.27"></path><path stroke="#39E09B" d="M39.398 13.243L27.449 25.192m23.514-6.557c.736-3.033 1.807-10.037-2.559-14.4C44.041-.129 37.038.94 34.004 1.677a5.163 5.163 0 00-2.431 1.37l-11.69 11.69c-.81.81-.81 2.122 0 2.932l7.544 7.544 7.543 7.544c.81.809 2.123.809 2.932 0l11.689-11.691a5.133 5.133 0 001.372-2.431z"></path><path stroke="#ADADAD" d="M48.627 53.602l22.236-22.236c1.289-1.29 1.318-3.353.062-4.608l-.003-.003-.002-.005c-1.254-1.255-3.316-1.226-4.605.064L44.078 49.051"></path><path stroke="#39E09B" d="M17.452 65.941l.003.004a2.645 2.645 0 003.739-.002l8.856-8.855a2.403 2.403 0 113.4 3.398l-8.856 8.856a2.644 2.644 0 00-.001 3.74l.003.003a2.646 2.646 0 003.739-.002l8.856-8.855a2.403 2.403 0 113.398 3.399l-8.856 8.854a2.645 2.645 0 00-.002 3.74l.003.002a2.644 2.644 0 003.739-.002L50.898 64.8c.314-.315.441-.807.363-1.427-.261-2.035-1.326-6.902-5.689-11.268-4.364-4.362-9.232-5.43-11.268-5.69-.619-.078-1.109.049-1.425.364L17.454 62.203a2.64 2.64 0 00-.002 3.738z"></path></g></svg><h3>Easily Managed</h3><p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptas officia aut laboriosam temporibus illum, deserunt quo veniam, quaerat expedita quibusdam nam nobis molestiae delectus, iusto rem omnis vel maxime sed!</p></div>
</div>
</div>
<!--</div>-->
</div>
<!------------------------------------------------------ FOOTER Section --------------------------------------------------------------->
<footer class="footer-distributed" id="contact">
<div class="footer-left">
<h3>Company<span>logo</span></h3>
<p class="footer-links">
<a href="#Home">Home</a>
|
<a href="Blog/blog.html">Blog</a>
|
<a href="Pricing/pricing.html">Pricing</a>
|
<a href="Login/index.html">Login</a>
|
<a href="Register/index.html">Sign Up</a>
|
<a href="#contact">Contact</a>
</p>
<p class="footer-company-name">LinkC © 2019</p>
<p style="color: whitesmoke">Developed by:<br>
Pritam Kar<br>
Madhaba Patra
</p>
</div>
<div class="footer-center">
<div>
<i class="fa fa-map-marker"></i>
<p><span>14B,Baker Street</span> Birmingham, London</p>
</div>
<div>
<i class="fa fa-phone"></i>
<p>+1 555 123456</p>
</div>
<div>
<i class="fa fa-envelope"></i>
<p><a href="mailto:[email protected]">[email protected]</a></p>
</div>
</div>
<div class="footer-right">
<p class="footer-company-about">
<span>About the company</span>
You only get one chance to link.Make it do more.
</p>
<div class="footer-icons">
<a href="https://www.facebook.com/pritam.kar.714"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="https://www.linkedin.com/in/pritam-kar-06b515176"><i class="fa fa-linkedin"></i></a>
<a href="https://github.com/MadhabaPatra/Link-Aggregator"><i class="fa fa-github"></i></a>
</div>
</div>
</footer>
<!-------------------------------------------------------- JAVASCRIPTS ----------------------------------------------------------------- >
<!------------------------------------------------------ Jquery JavaScript --------------------------------------------------------------->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<!------------------------------------------------------ Bootstrap JavaScript --------------------------------------------------------------->
<script src="js/bootstrap.min.js"></script>
<!------------------------------------------------------ Typer JavaScript --------------------------------------------------------------->
<script src="https://cdn.jsdelivr.net/jquery.typeit/4.4.0/typeit.min.js"></script>
<!------------------------------------------------------ Particle JavaScript --------------------------------------------------------------->
<script src="js/particles.min.js"></script>
<!------------------------------------------------------ Parallex JavaScript --------------------------------------------------------------->
<script src="js/parallax.min.js"></script>
<!------------------------------------------------------ Custom JavaScript --------------------------------------------------------------->
<script src="js/script.js"></script>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/6.4.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.4.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.4.2/firebase-firestore.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#config-web-app -->
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyBv6yIMLAPO2AsrQDSMCuNSzWQKeGgUq5A",
authDomain: "test-18579.firebaseapp.com",
databaseURL: "https://test-18579.firebaseio.com",
projectId: "test-18579",
storageBucket: "test-18579.appspot.com",
messagingSenderId: "119631748247",
appId: "1:119631748247:web:79ba28cac84bdc4a"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
var auth=firebase.auth();
const db=firebase.firestore();
</script>
<script>
firebase.auth().onAuthStateChanged(user=>{
if(user){
//Logout Button After Login
document.getElementById('log-btn').innerHTML="Logout";
document.getElementById("log-btn").href = "#";
document.getElementById("sign-btn").href = "admin/index.html";
//Admin Dropdown After Login
const user_mail= user.email;
//serch username
db.collection("users").where("Email", "==", user_mail)
.get()
.then(function(querySnapshot) {
querySnapshot.forEach(function(doc) {
// doc.data() is never undefined for query doc snapshots
const user_name=doc.id;
document.getElementById('sign-btn').innerHTML=user_name;
console.log(doc.data());
})
}) //end:search the user name
//Logout Click
document.getElementById("log-btn").addEventListener('click', e=>{
firebase.auth().signOut().then(function(querySnapshot) {
window.location="index.html";
console.log("signed out");
})
})// btn event end
}// end of if user
})
</script>
</body>
</html>