-
Notifications
You must be signed in to change notification settings - Fork 0
/
landing.php
220 lines (190 loc) · 3.67 KB
/
landing.php
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
<?php
require 'connect.php';
$pageTitle = "Fast, local delivery in St. John's";
$pageDesc = 'Local delivery from your favorite restaurants straight to your doorstep.';
?>
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<?php require 'include.php'; ?>
<script type="text/javascript" src="js/order.js"></script>
</head>
<body>
<style>
#landing_carosel {
background: #000;
position: absolute;
width: 100%;
height: 100%;
}
#landing_carosel_wrap {
position: relative;
width: 100%;
height: 100%;
}
#landing_carosel_logo {
background: #fff;
position: absolute;
z-index: 9999;
top: 50%;
left: 0;
right: 0;
width: 600px;
height: 80px;
margin: -75px auto 0 auto;
padding: 30px;
text-align: center;
}
#landing_carosel_logo img {
max-height: 80px;
margin: auto;
}
.caro_panel {
position: absolute;
width: 50%;
height: 50%;
overflow: hidden;
border: 1px solid #000;
}
.caro_panel:hover .caro_img {
opacity: 0.1;
}
.caro_panel:hover .caro_desc {
opacity: 1;
}
.caro_desc {
position: absolute;
top: 50%;
opacity: 0;
width: 100%;
height: 80px;
margin-top: -40px;
font-size: 48px;
font-weight: 300;
color: #fff;
text-align: center;
-webkit-transition-duration: .2s;
-moz-transition-duration: .2s;
-o-transition-duration: .2s;
-ms-transition-duration: .2s;
transition-duration: .2s;
}
.caro_img {
-webkit-transition-duration: .2s;
-moz-transition-duration: .2s;
-o-transition-duration: .2s;
-ms-transition-duration: .2s;
transition-duration: .2s;
}
#caro_panel_1 {
position: absolute;
top: 0;
left: 0;
border-top: 0;
border-left: 0;
}
#caro_panel_1 .caro_img {
top: 0;
left: 0;
background: #000 url(images/caro_1.jpg) center center no-repeat;
width: 100%;
height: 100%;
}
#caro_panel_2 {
position: absolute;
top: 0;
right: 0;
border-top: 0;
border-right: 0;
}
#caro_panel_2 .caro_img {
position: absolute;
top: 0;
right: 0;
background: #000 url(images/caro_2.jpg) center center no-repeat;
width: 100%;
height: 100%;
}
#caro_panel_3 {
bottom: 0;
left: 0;
border-bottom: 0;
border-left: 0;
}
#caro_panel_3 .caro_img {
bottom: 0;
left: 0;
background: #000 url(images/caro_3.jpg) center center no-repeat;
width: 100%;
height: 100%;
}
#caro_panel_4 {
position: absolute;
bottom: 0;
right: 0;
border-bottom: 0;
border-right: 0;
}
#caro_panel_4 .caro_img {
bottom: 0;
right: 0;
background: #000 url(images/caro_1.jpg) center center no-repeat;
width: 100%;
height: 100%;
}
.caro_panel img {
margin-top: -100px;
}
</style>
<script>
$(document).ready(function() {
});
</script>
<div id="landing_carosel">
<div id="landing_carosel_wrap">
<div id="landing_carosel_logo">
<img src="images/logo.png" alt="DashAll" />
</div>
<div id="caro_panel_1" class="caro_panel">
<div class="caro_desc">
Sushi Island
</div>
<div class="caro_img">
</div>
</div>
<div id="caro_panel_2" class="caro_panel">
<div class="caro_desc">
Mcdonalds
</div>
<div class="caro_img">
</div>
</div>
<div id="caro_panel_3" class="caro_panel">
<div class="caro_desc">
Mcdonalds
</div>
<div class="caro_img">
</div>
</div>
<div id="caro_panel_4" class="caro_panel">
<div class="caro_desc">
Sushi
</div>
<div class="caro_img">
</div>
</div>
</div>
</div>
<?php include "footer.php" ?>
</div>
<!-- end overview -->
<script type="text/javascript">
var _mfq = _mfq || [];
(function () {
var mf = document.createElement("script"); mf.type = "text/javascript"; mf.async = true;
mf.src = "//cdn.mouseflow.com/projects/be2ea7ec-b374-4f79-8d05-2b56c9509e60.js";
document.getElementsByTagName("head")[0].appendChild(mf);
})();
</script>
</body>
</html>