-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
264 lines (206 loc) · 9.48 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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="turbolinks-visit-control" content="reload">
<!--- Manifest --->
<link rel="manifest" href="manifest.webmanifest">
<!-- include PWACompat _after_ your manifest -->
<script async src="js/pwacompat.min.js"></script>
<!-- Turbolinks -->
<script src="js/turbolinks.js"></script>
<script>
//var Turbolinks = require("turbolinks")
Turbolinks.start()
</script>
<title>Aloft: A Sailor's Resource Guide</title>
<!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-app.js"></script>
<!-- If you enabled Analytics in your project, add the Firebase SDK for Analytics -->
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-analytics.js"></script>
<!-- Add Firebase products that you want to use -->
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.2/firebase-firestore.js"></script>
<!---- Initialize Firebase ---->
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyCLypp0qg95yL-ur4fCtwVfx7iXIt-GIH4",
authDomain: "aloft-f0fc7.firebaseapp.com",
databaseURL: "https://aloft-f0fc7.firebaseio.com",
projectId: "aloft-f0fc7",
storageBucket: "aloft-f0fc7.appspot.com",
messagingSenderId: "540530902321",
appId: "1:540530902321:web:e9446aea3a4e7791bfdc10",
measurementId: "G-Y3628X4HLC"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
<script src="https://cdn.firebase.com/libs/firebaseui/4.2.0/firebaseui.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.firebase.com/libs/firebaseui/4.2.0/firebaseui.css" />
<script type="text/javascript">
// FirebaseUI config.
var uiConfig = {
signInSuccessUrl: 'dock.html',
signInOptions: [
// Leave the lines as is for the providers you want to offer your users.
firebase.auth.GoogleAuthProvider.PROVIDER_ID,
firebase.auth.FacebookAuthProvider.PROVIDER_ID,
firebase.auth.EmailAuthProvider.PROVIDER_ID
],
// tosUrl and privacyPolicyUrl accept either url string or a callback
// function.
// Terms of service url/callback.
tosUrl: '<your-tos-url>',
// Privacy policy url/callback.
privacyPolicyUrl: function () {
window.location.assign('<your-privacy-policy-url>');
}
};
// Initialize the FirebaseUI Widget using Firebase.
var ui = new firebaseui.auth.AuthUI(firebase.auth());
// The start method will wait until the DOM is loaded.
// The start method will wait until the DOM is loaded.
ui.start('#firebaseui-auth-container', uiConfig);
</script>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/custom.min.css">
<!--- Google Fonts --->
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,700|Roboto:300,500&display=swap"
rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=PT+Sans:700i&display=swap" rel="stylesheet">
<!--- Font Awesome --->
<link rel="stylesheet" href="css/all.min.css">
<!---Slidebars CSS --->
<link rel="stylesheet" href="css/slidebars.min.css">
</head>
<body class="bg-blue">
<div class="ml-0 bg-blue d-flex flex-column justify-content-center align-items-center side-shadow"
canvas="container" id="sign-in-slide-bg">
<div class="" id="index-main-box">
<!---Main Logo & Tagline--->
<div class="col-12 text-center mb-5">
<img class="" src="img/aloft-logo.png" width="75" height="auto" />
<h1 class="display-4"><span class="font-weight-light font-lt-white mr-n2">go</span><span
class="text-white logo">ALOFT</span></h1>
</div>
<!---Home Screen Navigation Buttons--->
<div class="p-2">
<div id="firebaseui-auth-container"></div>
</div>
</div>
</div>
<!---- End of Canvas Container ---->
<!--- Start of Footer Navigation --->
<footer class="navbar fixed-bottom navbar-dark bg-blue top-shadow" id="menu" canvas="">
<!--- Bottom Hamburger Toggle Icon --->
<button type="button" class="toggle-button btn btn-lg text-white" data-toggle="button" aria-pressed="false"
autocomplete="off">☰</button>
<!--- Bottom Navbar Icons --->
<a href="dock.html" class="navlink"><i class="fas fa-home fa-2x"></i></a>
<div class=""><span class="font-weight-light font-lt-white mr-n1">go</span><span
class="text-white logo">ALOFT</span></div>
<a href="index.html" class="btm-nb-i"><i class="fas fa-sign-in-alt fa-2x"></i></a>
</footer>
<nav class="" id="navbar-main" off-canvas="left-nav left reveal">
<!--- Navbar Collapse Items --->
<div class="p-0" style="height: 100vh;">
<div class="h-100 navbar-nav d-flex flex-column justify-content-end navbar-padding" id="">
<!-- <div class="pl-3 border-bottom nav-item d-flex align-items-center h-100 text-uppercase active ">
<a class="nav-link disabled " href="#"><i class="fas fa-cog"></i> <span class="font-weight-light">Settings</span><span class="sr-only">(current)</span></a>
</div> -->
<!-- <div class="pl-3 border-bottom nav-item d-flex align-items-center h-100 text-uppercase">
<a class="nav-link disabled" href="#"><i class="fas fa-life-ring"></i> <span
class="font-weight-light">Help</span></a>
</div> -->
<div class="pl-3 border-bottom d-flex align-items-center h-50 nav-item">
<a class="nav-link disabled" href="#"><span
class="font-weight-light mr-2 text-uppercase">About</span><span
class="font-weight-light font-lt-white mr-n1">go</span><span
class="text-white logo">ALOFT</span></a>
</div>
<!--- ///// COMMENT OUT THE FOLLOWING SECTION FOR SIGN IN SCREEN - USERS MUST BE LOGGED IN IN ORDER TO ACCESS /////-->
<!-- <div class="nav-hover pl-3 border-bottom d-flex align-items-center h-100 nav-item text-uppercase">
<a class="nav-link" href="resources.html"><i
class="fas fa-book pl-2"></i> <span class="font-weight-light">Sailing
Resources</span></a>
</div>
<div class="nav-hover pl-3 border-bottom d-flex align-items-center h-100 nav-item text-uppercase">
<a class="nav-link" href="directory.html"><i
class="fas fa-binoculars pl-2"></i> <span
class="font-weight-light">Discover Tall Ships</span></a>
</div>
<div class="nav-hover pl-3 border-bottom d-flex align-items-center h-100 nav-item text-uppercase">
<a class="nav-link" href=" map.html"><i
class="fas fa-map-marked pl-2"></i> <span
class="font-weight-light">Explore Map</span></a>
</div>
<div class="nav-hover pl-3 border-bottom d-flex align-items-center h-100 nav-item text-uppercase">
<a class="nav-link" href="listings.html"><i
class="fas fa-search pl-2"></i> <span class="font-weight-light">Job
Listings</span></a>
</div> -->
<div class="nav-hover pl-3 d-flex align-items-center h-50 nav-item text-uppercase">
<a class="nav-link" href="index.html"><i
class="fas fa-sign-in-alt pl-2"></i> <span
class="font-weight-light">Sign In</span></a>
</div>
</div>
</div>
</nav>
<!---- Sign In Slide Bar-->
<section class="ml-0 bg-blue d-flex flex-column justify-content-center align-items-center side-shadow"
canvas="container">
<div class="" id="index-main-box">
<!---Main Logo & Tagline--->
<div class="col-12 text-center pb-5">
<img class="" src="img/aloft-logo.png" width="75" height="auto" />
<h1 class="display-4"><span class="font-weight-light font-lt-white mr-n2">go</span><span
class="text-white logo">ALOFT</span></h1>
</div>
<!---Home Screen Navigation Buttons--->
<div class="d-flex flex-row pb-3">
<div class="col-6 pr-2 "><a href="listings.html"
class="btn btn-md btn-secondary btn-block py-2 h-100"><i class="fas fa-search"></i><br><span
class="font-weight-light">Job Listings</span></a></div>
<div class="col-6 pl-2"><a href=" map.html"
class="btn btn-md btn-secondary btn-block py-2 h-100"><i
class="fas fa-map-marked-alt"></i><br /><span class="font-weight-light">Explore
Map</span></a></div>
</div>
<div class="pb-3">
<div class="col-12"><a href="directory.html"
class="btn btn-md btn-outline-secondary btn-block py-2 h-100"><i
class="fas fa-binoculars py-2"></i> <span
class="font-weight-light">Discover Tall Ships</span></a></div>
</div>
<div class="">
<div class="col-12"><a href="resources.html" class="btn btn-md btn-outline-secondary btn-block py-2"><i
class="fas fa-book py-2"></i> <span
class="font-weight-light">Resources for Sailors</span></a></div>
</div>
</div>
</sectio>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js">
</script>
<script src="js/bootstrap.min.js">
</script>
<!-- Plug-ins -->
<script src="js/slidebars.min.js"></script>
<script src="js/lazyload.min.js"></script>
<script src="js/jquery.nicescroll.min.js"></script>
<!-- Custom JS-->
<script src="js/custom.js"></script>
<!--- Service Workder --->
<script src="sw.js"></script>
</body>
</html>