-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
98 lines (90 loc) · 2.54 KB
/
home.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
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>Home Page</title>
<style>
* {
font-family: "Poppins", sans-serif;
box-sizing: border-box;
}
body {
margin: 0;
}
.row{
align-items:stretch;
padding:10px;
margin: auto;
width: 20%;
}
.button{
width: 100%;
padding: 20px;
font-size: 30px;
text-align: center;
color: #ffffff;
background-color: #70b8ce;
border-radius: 5px;
border: none;
}
body{
background-image:url('https://images.unsplash.com/photo-1606427366671-da76f3edd083?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
background-repeat:no-repeat;
background-position:left top;
background-attachment:scroll;
background-size:cover;
}
.textJS{
color:#ffffff;
font-size:80px;
text-align:center;
}
.signout{
position: absolute;
top: 0;
right: 0;
margin-top: 10px;
margin-right: 10px;
height: 60px;
width: 60px;
}
.signout:hover{
transform: scale(1.2);
}
</style>
</head>
<body>
<div id="iv3w" class="textJS">
</div>
<div id="lookButton" class="row">
<a href="choose-city.html" style="text-decoration:none;" class="button">Find Available Cars</a>
</div>
<div id="signout">
<a href="registration/logout.php">
<img src="images/logout.png" class="signout" alt="signout">
</a>
</div>
<script>
//typed.js https://mattboldt.com/demos/typed-js/
var items = document.querySelectorAll('#iv3w');
for (var i = 0, len = items.length; i < len; i++) {
(function(){
var e=this,t=JSON.parse('["Welcome","Ready to rent a car?"]'),r=function(e){
return parseInt(e,10)||0}
,n=function(e){
return!!e}
,o=function(){
var o=e;
o.innerHTML='<span></span>';
var c=parseInt('Infinity',10),s={
typeSpeed:r('40'),startDelay:r(''),backDelay:r('700'),backSpeed:r(''),smartBackspace:n('true'),fadeOut:n(''),fadeOutClass:'typed-fade-out',fadeOutDelay:r('500'),shuffle:n(''),loop:n(''),loopCount:isNaN(c)?1/0:c,showCursor:n('true'),cursorChar:'|',autoInsertCss:n('true'),bindInputFocusEvents:n(''),attr:'',contentType:'html'};
t&&t.length&&(s.strings=t),new Typed(o.children[0],s)};
if(window.Typed)o();
else{
var c=document.createElement('script');
c.src='https://cdn.jsdelivr.net/npm/[email protected]',c.onload=o,document.head.appendChild(c)}
}
.bind(items[i]))();
}
</script>
</body>
</html>