-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
228 lines (210 loc) · 9.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>evntbindr. | The world's party planner</title>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css">
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
<link href="css/mdb.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<style rel="stylesheet">
/* TEMPLATE STYLES */
.login_overlay {
z-index: 1000;
width: 320px;
display: block;
margin: 0 auto;
}
</style>
</head>
<body>
<!--Navigation & Intro-->
<header>
<!--Navbar-->
<nav class="navbar navbar-toggleable-md navbar-dark ">
<div class="container">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNav1" aria-controls="navbarNav1" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="#">
<strong>evntbindr.</strong>
</a>
<ul class="nav navbar-nav ml-auto nav-flex-icons">
<li class="nav-item">
<a class="nav-link" href="#story">Our Story</a>
</li>
<li class="nav-item log_in">
<a class="nav-link" href="#!" id="login_with_google">Log in / Sign up <i class="fa fa-google"></i></a></a>
</li>
<li class="nav-item dropdown btn-group">
<a id="user_name" class="nav-link dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">user</a>
<div class="dropdown-menu dropdown" aria-labelledby="dropdownMenu1">
<a class="dropdown-item" href="dashboard.html"><i class="fa fa-dashboard" aria-hidden="true"></i> Dashboard</a>
<a class="dropdown-item" id="logout"><i class="fa fa-sign-out" aria-hidden="true"></i> Log Out</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
<!--/.Navbar-->
</header>
<!--/Navigation & Intro-->
<!--Mask-->
<div class="view hm-black-light">
<div class="full-bg-img flex-center pattern-4">
<ul>
<li>
<h1 class="h1-responsive wow fadeInUp title"><strong>Hey, wanna throw a party?</strong></h1></li>
<li>
<div class="row wow fadeIn" data-wow-delay="0.4s">
<div class="col-md-6">
<div class="md-form">
<input type="text" id="form1" class="form-control">
<label for="form1">Where's your party?</label>
</div>
</div>
<div class="col-md-3">
<div class="md-form">
<input type="text" id="form3" class="form-control validate">
<label for="form3">Guests</label>
</div>
</div>
<div class="col-md-3">
<div class="md-form">
<a class="btn btn-lg papaya" href="search.html">Search</a>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
<!--/.Mask-->
<div class="container" style="min-height: 100vh;">
<div id="story" class="divider-new">
<h2 class="h2-responsive wow fadeIn" data-wow-delay="0.2s">Our Story</h2>
</div>
<!--Section: About-->
<section id="about" class="text-center wow fadeIn" data-wow-delay="0.2s">
<p>We became who we are today because of a major problem and a bright idea. All anybody wants is their special day to be unique and magical, as we dug deeper into the industry of event planning we realized that not many people were getting the unparalleled event they had wished for. After a few interviews and opinions we concluded to two simple facts:<br></p>
<p align="left">
#1. People do not like the <b>outrageous prices</b>, which are provided by event planners.<br>
#2. People were <b>unsatisfied</b> with their event because it was either a <b>replica</b> of someone else’s special day or it was not as they expected it to be.<br></p>
<p>
To fix these blemishes we came up with <b>evntbindr.</b>
evntbindr. is an event organizing platform, in which people can customize their exceptional days. Our mission is to enable event organization by connecting hosts, service providers, and physical spaces. Despite the several rocks that will be thrown at our heads, we hope to become the <em>world’s largest online event organizers.</em></p>
</section>
<!-- End of About Section -->
</div>
<!--/ Main container-->
<!--Footer-->
<footer class="page-footer center-on-small-only nopadding">
<!--Footer Links-->
<div class="container-fluid">
<div class="row">
<!--First column-->
<div class="col-lg-3 offset-lg-1 hidden-lg-down">
<h5 class="title">About evntbindr.</h5>
<p>EVNTBINDR is an online platform meant to make event planning easy. </p>
</div>
<!--/.First column-->
<hr class="hidden-md-up">
<!--Second column-->
<div class="col-lg-6 col-md-9">
<h5 class="title">CONNECT WITH US</h5>
<ul>
<li><a href="https://www.facebook.com/evntbindr/"><i class="fa fa-facebook" aria-hidden="true"></i> Facebook </li> </a>
<li><a href="https://www.instagram.com/evntbindr/"><i class="fa fa-instagram" aria-hidden="true"></i> Instagram </li></a>
</div>
</div>
</div>
<!--/.Footer Links-->
<!--Copyright-->
<div class="footer-copyright">
<div class="container-fluid">
© 2017 Copyright: <a href="http://www.github.com/sathp/evntbindr_fleming"> evntbindr.</a> Developed with <span class="glyphicon glyphicon-heart">love</span> by <a href="http://www.ahamlearning.com">Team Fleming at Techpreneurship Bootcamp, Aham Learning Hub</a>.
</div>
</div>
<!--/.Copyright-->
</footer>
<!--/.Footer-->
<!-- SCRIPTS -->
<!-- JQuery -->
<script type="text/javascript" src="js/jquery-2.2.3.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="js/tether.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<script>
new WOW().init();
</script>
<script src="https://www.gstatic.com/firebasejs/4.1.3/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyAnTgoI54Z-LiR94TUDmu3ejDyrP0M_u-k",
authDomain: "evntbindr-a5d5e.firebaseapp.com",
databaseURL: "https://evntbindr-a5d5e.firebaseio.com",
projectId: "evntbindr-a5d5e",
storageBucket: "evntbindr-a5d5e.appspot.com",
messagingSenderId: "111766807795"
};
firebase.initializeApp(config);
var database = firebase.database();
var provider = new firebase.auth.GoogleAuthProvider();
$('#login_with_google').click(function() {
firebase.auth().signInWithPopup(provider).then(function(result) {
// This gives you a Google Access Token. You can use it to access the Google API.
var token = result.credential.accessToken;
// The signed-in user info.
var user = result.user;
// ...
}).catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
// The email of the user's account used.
var email = error.email;
// The firebase.auth.AuthCredential type that was used.
var credential = error.credential;
// ...
});
});
$('#logout').click(function() {
firebase.auth().signOut().then(function() {
// Sign-out successful.
}).catch(function(error) {
// An error happened.
});
});
firebase.auth().onAuthStateChanged(function(user) {
if (user) {
// User is signed in.
// 1. Logged In - Show Logout
console.log("User is Logged In");
console.log(user);
console.log("Email:", user.email, user.displayName, user.photoURL);
$('#user_name').show();
$('#user_name').html(user.displayName);
$('#login_with_google').hide();
// ...
} else {
// User is signed out.
// 2. Logged Out/ Not Logged In - Show "Login with Google"
console.log("User is not logged in");
$('#user_name').hide();
$('#login_with_google').show();
// ...
}
});
</script>
</body>
</html>