-
Notifications
You must be signed in to change notification settings - Fork 32
/
index.php
226 lines (208 loc) · 8.05 KB
/
index.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
221
222
223
224
225
226
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OG Tech PC - Landing Page</title>
<?php
require "header.php";
require_once "includes/class_autoloader.php";
// database initialization
$dbinit = new InitDB();
$dbinit->initDbExec();
?>
</head>
<body>
<div class="slider" style="width: 60%; margin: auto;">
<ul class="slides">
<li>
<img src="./static/images/carousel_1.gif">
<div class="caption center-align">
<h3></h3>
<h5 class="light grey-text text-lighten-3">Build your dream setup with Us.</h5>
</div>
</li>
<li>
<img src="./static/images/category_3.jpg">
<div class="caption center-align">
<h3 class="bold page-title">At OG Tech</h3>
<h5 class="bold page-title">From pc to peripherals, we got u covered.</h5>
</div>
</li>
<li>
<img src="static/images/Banner-Rebate-1.jfif">
</li>
<li>
<img src="./static/images/carousel_3.jpg">
<div class="caption center-align">
<h3 class="bold green-text page-title">RTX ON</h3>
</div>
</li>
<li>
<img src="./static/images/carousel_4.gif">
<div class="caption center-align">
</div>
</li>
</ul>
</div>
<div class="container" style="margin-top: 100px">
<div class="row">
<div class="row" style="margin-bottom: -20px">
<h4 class="underline white-text bold center">Categories</h4>
</div>
<div class="row hoverable">
<div class="col hoverable">
<a href="product_catalogue.php?category=0" class="hoverable">
<div class="selectable-card hoverable" style="width: 300px; margin: 50px;">
<img class="hoverable" src="static/images/category_1.gif"/>
<h5 class="white-text center bold hoverable">PC PACKAGES</h5>
</div>
</a>
</div>
<div class="col">
<a href="product_catalogue.php?category=1">
<div class="selectable-card" style="width: 300px; margin: 50px;">
<img src="./static/images/category_3.jpg"/>
<h5 class="white-text center bold" style="margin-top : 120px">MONITOR & AUDIO</h5>
</div>
</a>
</div>
<div class="col">
<a href="product_catalogue.php?category=2">
<div class="selectable-card" style="width: 300px; margin: 50px;">
<img src="./static/images/category_2.gif"/>
<h5 class="white-text center bold">PERIPHERALS</h5>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="section" style="margin-top: 100px;">
<div class="wide-container">
<h3 class="white-text center">BUILT BY ENTHUSIASTS FOR ENTHUSIASTS</h3>
<h5 class="white-text center">
At <b class="orange-text">OG Tech PC</b>, We are a team of serious gamers and overclockers with a passion towards customized and fast PCs.
</h5>
</div>
</div>
<div class="grid" style="margin-top: 20px; margin-bottom: 100px">
<div class="grid">
<h1 class="count red-text text-darken-4 bold center">15</h1>
<h5 class="white-text center">Years Of History</h5>
</div>
<div class="grid">
<h1 class="count red-text text-darken-4 bold center">10000</h1>
<h5 class="white-text center">PCs Built</h5>
</div>
<div class="grid">
<h1 class="count red-text text-darken-4 bold center">14</h1>
<h5 class="white-text center">States Covered</h5>
</div>
<div class="grid">
<h1 class="count red-text text-darken-4 bold center">100</h1>
<h5 class="white-text center">% Satisfaction guaranteed</h5>
</div>
</div>
<h3 class="white-text center">OG Tech PC - White PC Build</h3>
<div onclick="this.nextElementSibling.style.display='block'; this.style.display='none'" style="margin-bottom: 100px">
<img src="static/images/ice_pc.png" style="cursor:pointer; display:block; margin: 0 auto; " />
</div>
<div style="display:none">
<video style="display:block; margin: 0 auto;" class="responsive-video" width="1280" height="720" autoplay="autoplay" controls muted>
<source src="static/FROST Gaming PC.mp4" type="video/mp4">
</video>
</div>
<h3 class="white-text center">OUR DIFFERENCE</h3>
<h6 class="white-text center">Compared to other PC builder services</h6>
<div class="grid" style="margin-bottom: 0px;">
<div class="grid">
<div class="rounded-card-parent">
<div class="card rounded-card tint-glass-black" style="height: 300px; width: 250px;">
<img src="static/images/values_images/P.svg" height="200px">
<div class="row center">
<h5 class="orange-text bold center" style="display: inline;">O</h5>
<h5 class="white-text bold center" style="display: inline;">RI PARTS</h5>
</div>
</div>
</div>
</div>
<div class="grid">
<div class="rounded-card-parent">
<div class="card rounded-card tint-glass-black" style="height: 300px; width: 250px;">
<img src="static/images/values_images/T.svg" height="200px">
<div class="row center">
<h5 class="orange-text bold center" style="display: inline;">G</h5>
<h5 class="white-text bold center" style="display: inline;">uaranteed Return/Warranty</h5>
</div>
</div>
</div>
</div>
<div class="grid">
<div class="rounded-card-parent">
<div class="card rounded-card tint-glass-black" style="height: 300px; width: 250px;">
<img src="static/images/values_images/E.svg" height="200px">
<div class="row center">
<h5 class="orange-text bold center" style="display: inline;">T</h5>
<h5 class="white-text bold center" style="display: inline;">echnical Support</h5>
</div>
</div>
</div>
</div>
<div class="grid">
<div class="rounded-card-parent">
<div class="card rounded-card tint-glass-black" style="height: 300px; width: 250px;">
<img src="static/images/values_images/Rebate.png" height="200px">
<div class="row center">
<h5 class="orange-text bold center" style="display: inline;">E</h5>
<h5 class="white-text bold center" style="display: inline;">XTRA Rebate For Upgrades</h5>
</div>
</div>
</div>
</div>
<div class="grid">
<div class="rounded-card-parent">
<div class="card rounded-card tint-glass-black" style="height: 300px; width: 250px;">
<img src="static/images/values_images/S.svg" height="200px">
<div class="row center">
<h5 class="orange-text bold center" style="display: inline;">C</h5>
<h5 class="white-text bold center" style="display: inline;">onfirm tested b4 shipping</h5>
</div>
</div>
</div>
</div>
<div class="grid">
<div class="rounded-card-parent">
<div class="card rounded-card tint-glass-black" style="height: 300px; width: 250px;">
<img src="static/images/values_images/H.png" height="200px">
<div class="row center">
<h5 class="orange-text bold center" style="display: inline;">H</h5>
<h5 class="white-text bold center" style="display: inline;">ighly Professional</h5>
</div>
</div>
</div>
</div>
</div>
<script src="https://apps.elfsight.com/p/platform.js" defer></script>
<div class="elfsight-app-dcc4934e-3eb0-4e18-98af-67fd2f034df1"></div>
<?php require "footer.php"; ?>
</body>
<script>
$(document).ready(function(){
// carousel autoswipe
$('.slider').slider({full_width: true});
// counter
$('.count').each(function ()
{
$(this).prop('Counter',0).animate({
Counter: $(this).text()
}, {
duration: 4000,
easing: 'swing',
step: function (now) { $(this).text(Math.ceil(now)); }
});
});
});
</script>
</html>