-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
511 lines (442 loc) · 24.1 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
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
<!DOCTYPE html>
<html lang="en">
<link rel="icon" type="image/png" href="img/logo2.png">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>LoanCru</title>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="css/landing-page.css" rel="stylesheet">
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:rgba(0, 255, 0, 0); clear:left; font:14px ;}/*Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<!--End mc_embed_signup-->
<!-- Custom Fonts -->
<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Michroma' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Prosto+One' rel='stylesheet' type='text/css'>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<!-- jQuery -->
<script src="js/jquery.js"></script>
<script src="js/jquery.ajaxchimp.js"></script>
<body>
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
<div class="container topnav">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand topnav" href="#">LoanCru</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="#about">About</a>
</li>
<li>
<a href="#services">Services</a>
</li>
<li>
<a href="#contact">Contact</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<!-- Header -->
<a name="about"></a>
<div class="intro-header">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="intro-message">
<h1>LoanCru</h1>
<h3 id="testing">Fund Your Future</h3>
<hr class="intro-divider">
<ul class="list-inline intro-social-buttons" id="introbuttons">
<li>
<button type="button" id="quote_button" class="btn btn-success btn-lg" data-toggle="modal" data-target="#quote-modal">Instant Quote</button>
</li> <!-- This is the quote modal button-->
<!--
<li>
<a href="https://twitter.com/danilyonaire" class="btn btn-default btn-lg" target="_blank"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">Twitter</span></a>
</li>
<li>
<a href="https://github.com/ADanilychevJr" class="btn btn-default btn-lg" target="_blank"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
</li>
<li>
<a href="https://www.facebook.com/loancru3" class="btn btn-default btn-lg" target="_blank"><i class="fa fa-facebook fa-fw"></i> <span class="network-name">Facebook</span></a>
</li>
<li>
<a href="https://www.linkedin.com/profile/public-profile-settings?trk=prof-edit-edit-public_profile" class="btn btn-default btn-lg" target="_blank"><i class="fa fa-linkedin fa-fw"></i> <span class="network-name">Linkedin</span></a>
</li> -->
</ul>
<!--Start mailchimp embed-->
<!-- Large modal -->
<h3 id="rateShow">This should never show</h3>
<form action="//loancru.us10.list-manage.com/subscribe/post?u=211065a925692b50b72800a2a&id=922a103aca" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="form-inline" target="_blank" novalidate>
<!--<div id="form-group"> -->
<input type="email" value="" name="EMAIL" class="form-control input-lg" id="mce-EMAIL" placeholder="email address" required>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;"><input type="text" name="b_2aeb43099b226685c9d71af22_3dbed009c6" tabindex="-1" value=""></div>
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-default btn-lg">
<!--</div>-->
</form>
<!--
<form action="signup.php" method="post" id="aj-form">
<input type="text" name="user"><br>
Email:
<input type="text" name="mail"><br>
Experience:
<input type="text" name="exp"><br>
<input type="submit" name="Submit" value="Sign Up">
</form> This was an email submit without using mailchimp (Need to hammer out the ajax call)-->
<!--<form name="form1" method="post" action="signup.php"> Username: <input type="text" name="user"><br>Email: <input type="text" name="mail"><br>Experience: <select name="exp"> <option value="beginner">Beginner</option> <option value="intermediate">Intermediate</option> <option value="advanced">Advanced</option> </select><br> <input type="submit" name="Submit" value="Sign Up"> </form> -->
<!--End mc_embed_signup-->
</div>
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.intro-header -->
<script>
$(document).ready(function(){
$("#rateShow").hide();
$("#mc-embedded-subscribe-form").hide();
var lst = universityParse();
console.log(lst);
smoothScroll();
$("#quote-submit-button").click(function() {
//$("#testing").show();
//var rate = calcRate($("#credit-score").val());
$("#mc-embedded-subscribe-form").toggle();
$("#quote_button").hide();
$("#introbuttons").hide();
$("#rateShow").text("Please subscribe to see your potential interest rate!");
$("#rateShow").toggle(500);
});
var $form = $("#mc-embedded-subscribe");
//$("#mc-embedded-subscribe").ajaxChimp();
$("#mc-embedded-subscribe").click(function(){
console.log("hello");
var rate = calcRate($("#credit-score").val());
$("#rateShow").text(rate);
$("#mc-embedded-subscribe-form").hide();
//$("#rateShow").toggle();
//$("#rateShow").toggle(500);
});
})
function register($form) {
$.ajax({
type: $form.attr('method'),
url: $form.attr('action'),
data: $form.serialize(),
cache : false,
dataType : 'json',
contentType: "application/json; charset=utf-8",
error : function(err) { alert("Could not connect to the registration server. Please try again later."); },
success : function(data) {
if (data.result != "success") {
// Something went wrong, do something to notify the user. maybe alert(data.msg);
alert("Panic and freakout")
} else {
// It worked, carry on...
}
}
});
}
function smoothScroll(){
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
|| location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) { $('html,body').animate({
scrollTop: target.offset().top }, 1000);
return false;
}
}
});
}
function calcRate(txt){
var score = parseInt(txt);
console.log(score);
var rateString = "Your rate can be as low as "
if (score < 550){
return "Your rate could be 4.0%+, please subscribe for more info";
}else if (score < 600){
return rateString + "3.5%";
}else if (score < 650){
return rateString + "2.75%";
}else {
return rateString + "2.5%";
}
}
function universityParse(){
var pageExecute = {
fileContents:"Null",
pagePrefix:"Null",
slides:"Null",
init: function () {
$.ajax({
url: "./uni-list.txt",
async: false,
success: function (data){
pageExecute.fileContents = data;
}
});
}
};
return pageExecute.fileContents;
}
</script>
<!-- Large modal -->
<div class="modal fade" id="quote-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-md">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="gridSystemModalLabel">Enter your information for a quick LoanCru quote!</h4>
</div>
<!--<div class="modal-body" id="modal-body">-->
<div class="container-fluid">
<br>
<form class="form-horizontal" id="quote_form">
<div class="form-group">
<label for="Name" class="col-sm-2 control-label">Name:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="name-input" placeholder="Enter Name">
</div>
</div>
<div class="form-group">
<label for="CreditScore" class="col-sm-2 control-label">Credit Score:</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="credit-score" placeholder="Enter Credit Score">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">University</label>
<div class="col-sm-10 selectContainer">
<select name="language" class="form-control placeholder" >
<option value="" disabled selected>Pick Your School</option>
<option value="arabic">UC Berkeley</option>
<option value="english">UCLA</option>
<option value="french">UC Davis</option>
<option value="german">UC Santa Barbara</option>
<option value="other">Other</option>
</select>
</div>
</div>
<!--<div class="form-group">
<label for="University" class="col-sm-2 control-label">University:</label>
<div class="form-group col-sm-10">
<select class="form-control">
<option>1</option>
</select>
</div>
</div> -->
<!--
<div class="form-group">
<label for="University" class="col-sm-2 control-label">University:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="college-input" placeholder="Enter University">
</div>
</div> -->
<div class="form-group">
<label for="Age" class="col-sm-2 control-label">Age:</label>
<div class="col-sm-10">
<input type="number" class="form-control" id="age-input" placeholder="Age">
</div>
</div>
<div class="form-group">
<label for="Borrow-Amt" class="col-sm-6 control-label">Amount looking to borrow or refinance:</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="state_input" placeholder="$00,0000">
</div>
</div>
<div class="form-group">
<label for="Curr-Rate" class="col-sm-6 control-label">Current Interest Rate</label>
<div class="col-sm-6">
<input type="text" class="form-control" id="state_input" placeholder="0.0%">
</div>
</div>
</div>
<!--</div>-->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" >Close</button>
<button type="button" class="btn btn-success" data-dismiss="modal" id="quote-submit-button">Submit</button>
</div>
</div> <!-- End of fluid container-->
</div>
</div> <!--End Modal -->
<!-- Large modal2 -->
<div class="modal fade" id="quote-modal2" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-md">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="gridSystemModalLabel">Enter your information for a quick LoanCru quote!</h4>
</div>
<!--<div class="modal-body" id="modal-body">-->
<div class="modal-body">
<div class="container-fluid">
<br>
<form class="form-horizontal" id="quote_form">
<center>
<h1>Hello World</h1> </center>
<div class="form-group">
<form action="//loancru.us10.list-manage.com/subscribe/post?u=211065a925692b50b72800a2a&id=922a103aca" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="form-inline" target="_blank" novalidate>
<!--<div id="form-group"> -->
<input type="email" value="" name="EMAIL" class="form-control input-lg" id="mce-EMAIL" placeholder="email address" required>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;"><input type="text" name="b_2aeb43099b226685c9d71af22_3dbed009c6" tabindex="-1" value=""></div>
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-default btn-lg">
<!--</div>-->
</form> </div>
</div>
</div>
<!--</div>-->
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-success" data-dismiss="modal" id="quote-submit-button">Submit</button>
</div>
</div> <!-- End of fluid container-->
</div>
</div> <!--End Modal -->
<!-- Page Content -->
<a name="services"></a> <!-- This is how you can link (use href) -->
<div class="content-section-a">
<div class="container">
<div class="row">
<div class="col-lg-5 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Fund Your Future</h2>
<p class="lead">Don't let money hold you back from your higher educational goals. Whether you are just starting school or looking to refinance, LoanCru is the easy and fast solution for you. Rates start as low as 2.75%</p>
</div>
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
<img class="img-responsive" src="img/greenbolt.png" alt="">
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.content-section-a -->
<div class="content-section-b">
<div class="container">
<div class="row">
<div class="col-lg-5 col-lg-offset-1 col-sm-push-6 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Trusted Partners</h2>
<p class="lead">Credit unions are not for profit institutions that serve 40% of consumers on a local and personal level. Let us find the right one that fits your need and price point.</p>
</div>
<div class="col-lg-5 col-sm-pull-6 col-sm-6">
<img class="img-responsive" src="img/whitechain.png" alt="">
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.content-section-b -->
<div class="content-section-a">
<div class="container">
<div class="row">
<div class="col-lg-5 col-sm-6">
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Instant Rates</h2>
<p class="lead">Input your basic information now to receive an instant rate!</p>
</div>
<div class="col-lg-5 col-lg-offset-2 col-sm-6">
<img class="img-responsive" src="img/greencap.png" alt="">
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.content-section-a -->
<a name="contact"></a>
<div class="banner">
<div class="container">
<div class="row">
<div class="col-lg-6">
<!--<h2>Connect to Start Bootstrap:</h2>-->
</div>
<div class="col-lg-6">
<ul class="list-inline banner-social-buttons">
<li>
<a href="https://twitter.com/SBootstrap" class="btn btn-default btn-lg"><i class="fa fa-twitter fa-fw"></i> <span class="network-name">Twitter</span></a>
</li><!--
<li>
<a href="https://github.com/IronSummitMedia/startbootstrap" class="btn btn-default btn-lg"><i class="fa fa-github fa-fw"></i> <span class="network-name">Github</span></a>
</li> Originally Github related-->
<li>
<a href="https://www.facebook.com/loancru3" class="btn btn-default btn-lg" target="_blank"><i class="fa fa-facebook fa-fw"></i> <span class="network-name">Facebook</span></a>
</li>
<li>
<a href="#" class="btn btn-default btn-lg"><i class="fa fa-linkedin fa-fw"></i> <span class="network-name">Linkedin</span></a>
</li>
</ul>
</div>
</div>
</div>
<!-- /.container -->
</div>
<!-- /.banner -->
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-12">
<ul class="list-inline">
<li>
<a href="#">Home</a>
</li>
<li class="footer-menu-divider">⋅</li>
<li>
<a href="#about">About</a>
</li>
<li class="footer-menu-divider">⋅</li>
<li>
<a href="#services">Services</a>
</li>
<li class="footer-menu-divider">⋅</li>
<li>
<a href="#contact">Contact</a>
</li>
</ul>
<p class="copyright text-muted small">Copyright © LoanCru 2015. All Rights Reserved</p>
</div>
</div>
</div>
</footer>
<!-- Bootstrap Core JavaScript -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>