-
Notifications
You must be signed in to change notification settings - Fork 0
/
dock.html
297 lines (245 loc) · 11.6 KB
/
dock.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
288
289
290
291
292
293
294
295
296
297
<!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>
<!-- 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>
<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">
initApp = function () {
var currentUid = null;
firebase.auth().onAuthStateChanged(function (user) {
if (user && user.uid != currentUid) {
// User is signed in.
var displayName = user.displayName;
var email = user.email;
var emailVerified = user.emailVerified;
var uid = user.uid;
var providerData = user.providerData;
user.getIdToken().then(function (accessToken) {
document.getElementById('sign-in-status').textContent = 'Welcome, ' + user.displayName + '!';
document.getElementById('sign-in').textContent = 'Sign out';
document.getElementById('account-details').textContent = JSON.stringify({
displayName: displayName,
email: email,
emailVerified: emailVerified,
photoURL: photoURL,
uid: uid,
accessToken: accessToken,
providerData: providerData
}, null, ' ');
});
} else {
currentUid = null;
// User is signed out.
document.getElementById('sign-in-status').textContent = 'Signed out';
document.getElementById('sign-in').textContent = 'Sign in';
}
}, function (error) {
console.log(error);
});
};
window.addEventListener('load', function () {
initApp();
});
</script>
<!-- Bootstrap CSS -->
<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">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/custom.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 --->
<script src="https://kit.fontawesome.com/bf44c917aa.js"></script>
<!---Slidebars CSS --->
<link rel="stylesheet" href="css/slidebars.min.css">
<title>Aloft: A Sailor's Resource Guide</title>
</head>
<body>
<div class="ml-0 d-flex flex-column justify-content-center align-items-center side-shadow" canvas="container"
id="index-slide-bg">
<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 class="text-white" id="sign-in-status"></div>
<div id="account-details"></div>
</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>
</div>
<!--- 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="#" class="btm-nb-i sign-out"><i class="fas fa-sign-out-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-between 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" href="settings.html"><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 active ">
<a class="nav-link" href="profile.html"><i
class="fas fa-user-circle"></i> <span
class="font-weight-light">Profile</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-100 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="font-white logo">ALOFT</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="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-100 nav-item text-uppercase">
<a href="#" class="nav-link sign-out"><i
class="fas fa-sign-out-alt pl-2"></i> <span
class="font-weight-light">Sign Out</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>
</section>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" 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>
<!-- Plug-ins -->
<script src="js/slidebars.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lazyload.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>