forked from ruffcorn33/TravelBuddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
182 lines (166 loc) · 8.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>TravelBuddy - Welcome!</title>
<link rel="stylesheet" href="assets/css/reset.css">
<!-- jquery reference -->
<script src="https://code.jquery.com/jquery-3.3.1.js" integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60=" crossorigin="anonymous"></script>
<!-- Bootstrap reference -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!-- Axios, a promise based HTTP client for the browser and node.js -->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<!-- Firebase reference -->
<script src="https://www.gstatic.com/firebasejs/4.8.2/firebase.js"></script>
<!-- Gijgo library - for datepicker widget -->
<script src="https://cdn.jsdelivr.net/gh/atatanasov/[email protected]/dist/combined/js/gijgo.min.js" type="text/javascript"></script>
<link href="https://cdn.jsdelivr.net/gh/atatanasov/[email protected]/dist/combined/css/gijgo.min.css" rel="stylesheet" type="text/css" />
<!-- custom css -->
<link rel="stylesheet" href="assets/css/style.css">
<!-- icons-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!--fonts-->
<link href="https://fonts.googleapis.com/css?family=PT+Sans|Raleway" rel="stylesheet">
</head>
<body>
<div class="content">
<!--NAVBAR-->
<nav class="my-nav navbar navbar-expand-lg">
<a class="buddy navbar-brand ml-5">TravelBuddy</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto ml-2">
<li class="nav-item active">
<a class="nav-link shift" style="text-shadow: 1px 1px black;" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" style="text-shadow: 1px 1px black;" href="contact.html">Contact</a>
</li>
<!-- replace this list item with the commented code below after saved trip functionality is added-->
<li id="guest-trips" class="nav-item d-block">
<a class="nav-link" style="text-shadow: 1px 1px black;" href="main.html">My Trips</a>
</li>
<li id="user-trips" class="nav-item dropdown d-none" display="none">
<a class="nav-link dropdown-toggle" href="main.html" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
My Trips
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<ul id="tripList">
<!-- dynamically append links to saved trips here -->
</ul>
</div>
</li>
</ul>
<!-- righthand nav buttons -->
<ul class="nav justify-content-end">
<!-- log-in, Bootstrap -->
<li class="nav-item">
<div class="btn-group">
<button class="btn btn-secondary" id="google_sign_in" type="button">Sign in with Google</button>
</div> <!-- end login -->
</li>
</ul> <!-- end righthand nav buttons -->
</div>
</nav> <!-- end navbar -->
<!--......................................................................................................................-->
<!--Carousel-->
<div class="row">
<div id="carouselExampleControls" class="col-md-12 my-carousel carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img class="img-fluid" src="assets/images/europe.JPG" alt="Europe" width="100%">
<div class="absolute-div">
<div class="carousel-caption trickcenter">
<h1 class="text-center">Welcome to TravelBuddy!</h1>
</div>
</div>
</div>
<!-- slide 1 -->
<div class="carousel-item">
<img class="d-block img-fluid" src="assets/images/wdc.JPG" alt="Washington D.C." width="100%">
<div class="absolute-div">
<div class="carousel-caption trickcenter">
<h2 class="text-center">Explore the World</h2>
</div>
</div>
</div>
<!--slide 3 -->
<div class="carousel-item">
<img class="d-block img-fluid" src="assets/images/chicago.JPG" alt="Chicago" width="100%">
<div class="absolute-div">
<div class="carousel-caption trickcenter">
<h2 class="text-center">Get Out of Your Comfort Zone</h2>
</div>
</div>
</div>
<!--Controlling the carousel-->
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div> <!-- end of.carousel-inner -->
</div> <!-- end of #carouselExampleControls -->
<!-- Welcome and trip input -->
<div class="content-inside">
<div class="container where">
<form>
<div class="form-row">
<div class="col-md-1"></div>
<div class="form-group col-md-4">
<label for="inputDestination" class="text-white">Where you are going...</label>
<input type="text" class="form-control" id="inputDestination" placeholder="Enter an address">
</div>
<div class="form-group col-md-3">
<label for="inputFromDate" class="text-white">Arrival</label>
<input class="form-control" id="inputFromDate" placeholder="MM/DD/YYYY">
</div>
<div class="form-group col-md-3">
<label for="inputToDate" class="text-white">Returning (optional)</label>
<input class="form-control" id="inputToDate" placeholder="MM/DD/YYYY">
</div>
<div class="col-md-1">
<label for="button" class="text-white">Click</label>
<button id="addTrip" type="submit" class="btn btn-primary float-right">Go!</button>
</div>
</div> <!-- end of .form-row -->
</form>
</div> <!-- end of .container -->
</div> <!-- end of .content-inside -->
</div><!--end of col-->
<!--end of row-->
<!--......................................................................................................................-->
<!--FOOTER-->
<div class="row">
<footer class="col-md-12 footer">
<div class="container text-center">
<a href="#" target="_blank"><i class="fa fa-facebook-square" style="font-size:40px;"></i></a>
<a href="#" target="_blank"><i class="fa fa-twitter-square" style="font-size: 40px;"></i></a>
<p class="text-center">©2018 Team A/C</p>
</div>
</footer>
</div>
</div> <!-- end of .content -->
<!-- The Verification Modal -->
<div id="verificationModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<!-- <span class="close">OK</span> -->
<div id="verifyContent"></div>
</div>
</div>
<!-- JavaScript -->
<script src="assets/javascript/firebase_init.js"></script>
<script src="assets/javascript/google_auth.js"></script>
<script src="assets/javascript/firebase_main.js"></script>
<script src="assets/javascript/script.js"></script>
</body>
</html>