-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
395 lines (347 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<!-- dasisy ui -->
<link href="https://cdn.jsdelivr.net/npm/daisyui@4.7.2/dist/full.min.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
<!-- font style -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<!-- font-awsam -->
<script src="https://kit.fontawesome.com/3d14535f80.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- css file -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="container mx-auto">
<nav class="container mx-auto lg:mt-11 raleway">
<div class="navbar bg-base-100">
<div class="navbar-start">
<div class="dropdown">
<div tabindex="0" role="button" class="btn btn-ghost lg:hidden">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h8m-8 6h16" /></svg>
</div>
<ul tabindex="0" class="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-100 rounded-box w-52">
<li class="text-red-500"><a>Home</a></li>
<li><a>About</a></li>
<li><a>Pages</a></li>
<li><a>Blog</a></li>
<li><a>Contact</a></li>
</ul>
</div>
<a class="lg:text-4xl text-2xl font-extrabold">P-Ticket</a>
</div>
<div class="navbar-center hidden lg:flex">
<ul class="menu menu-horizontal px-1">
<li ><a>Home</a></li>
<li><a>About</a></li>
<li><a>Destination</a></li>
<li><a>Contact</a></li>
</ul>
</div>
<div class="navbar-end">
<p class="pr-9 hidden lg:flex"><i class="fa-solid fa-magnifying-glass"></i></p>
<a class="btn py-3 px-6 bg-[#1DD1001A] text-[#1DD100]">Bus <img src="B9A5-smart-ticketing-main/images/bus-icon.png" ></a>
</div>
</div>
</nav>
<!-- Banner section -->
<section class="container mx-auto h-[60vh] mt-6 ">
<div class=" bg-[linear-gradient(45deg,rgba(0,0,0,0.0),rgba(0,0,0,0.0)),url('B9A5-smart-ticketing-main/images/banner.png')] bg-no-repeat lg:px-10 lg:pt-24 lg:pb-12 p-6 bg-cover bg-center rounded-[38px] ">
<div class="flex flex-col items-center text-center lg:gap-7 gap-4 lg:py-16">
<h1 class="lg:text-7xl text-3xl text-white font-extrabold raleway">End-to-End Travel with</h1>
<h1 class="lg:text-7xl text-3xl text-[#1DD100] font-extrabold raleway">P Paribahan</h1>
<p class="lg:w-2/4 text-white">Experience seamless journeys with us. Reliable services, comfortable rides, and unforgettable adventures await. Your voyage, our commitment to excellence.</p>
<button onclick="scrollToSection('Paribahan')" class="btn bg-[#1DD100] text-black border-none font-bold btn-active btn-secondary mb-10 raleway">Buy Tickets</button>
</div>
</div>
<div class="lg:relative bottom-[60px]">
<div class="flex justify-around lg:flex-row flex-col">
<div class="flex justify-center gap-1 lg:w-1/4 py-6 rounded-2xl border-2 border-b-[#1DD100] bg-white ">
<div><img src="B9A5-smart-ticketing-main/images/people.png" alt="" srcset=""></div>
<div>
<h1 class="text-3xl font-bold ">500K+</h1>
<p>Registered users</p>
</div>
</div>
<div class="flex justify-center gap-1 lg:w-1/4 py-6 rounded-2xl border-2 border-b-[#1DD100] bg-white ">
<div><img src="B9A5-smart-ticketing-main/images/ticket-cupon.png" alt="" srcset=""></div>
<div>
<h1 class="text-3xl font-bold ">1.7 lacks</h1>
<p>Tickets sold</p>
</div>
</div>
<div class="flex justify-center gap-1 lg:w-1/4 py-6 rounded-2xl border-2 border-b-[#1DD100] bg-white ">
<div><img src="B9A5-smart-ticketing-main/images/stoppage.png" alt="" srcset=""></div>
<div>
<h1 class="text-3xl font-bold ">80K+</h1>
<p>Rental partners</p>
</div>
</div>
</div>
</section>
<!-- Best offers for you -->
<section class="flex flex-col items-center gap-y-12 lg:mt-[400px] mt-[400px] inter">
<h1 class="text-black font-bold text-4xl raleway">Best offers for you</h1>
<div class="flex lg:flex-row flex-col gap-6">
<div class="flex items-center justify-around bg-[#FFBF0F] lg:w-[60vh] w-[60vh] rounded-2xl">
<div class=" ">
<h1 class="text-3xl font-extrabold text-[#030712CC]">15% OFF</h1>
<p class="lg:text-xl text-xs">on your next purchase</p>
<p>use by January 2024</p>
</div>
<div class="flex items-center">
<img src="B9A5-smart-ticketing-main/images/cupon-devider.png" alt="" srcset="">
<div class="text-center">
<h1 class="text-3xl font-semibold raleway">NEW15</h1>
<p>Coupon Code</p>
</div>
</div>
</div>
<div class="flex items-center justify-around bg-[#F78C9C] lg:w-[60vh] w-[60vh] rounded-2xl">
<div class=" ">
<h1 class="text-3xl font-extrabold text-[#030712CC]">20% OFF</h1>
<p class="lg:text-xl text-xs">on your next purchase </p>
<p> use by January 2024</p>
</div>
<div class="flex items-center">
<img src="B9A5-smart-ticketing-main/images/cupon-devider.png" alt="" srcset="">
<div class="text-center">
<h1 class="text-3xl font-semibold raleway">Couple 20</h1>
<p>Coupon Code</p>
</div>
</div>
</div>
</div>
<button class=" btn border-2 border-[#1DD100] border-solid">See All Offers</button>
</section>
</header>
<main class="border-2 border-solid border-t-[#1DD100] lg:mt-[90px] rounded-[60px] bg-[#F7F8F8]">
<!-- P.H Paribahan section -->
<section id="Paribahan" class="container mx-auto lg:mt-[60px] mt-7">
<div class="text-center flex flex-col items-center gap-y-5">
<h1 class="text-[40px] font-bold raleway">P.H Paribahan</h1>
<p class="text-[#03071299] w-2/4">Experience seamless journeys with us. Reliable services, comfortable rides, and unforgettable adventures await. Your voyage, our commitment to excellence.</p>
</div>
<div class="grid lg:grid-cols-3 grid-cols-1 gap-4 items-start bg-white ">
<div class="col-span-2 p-5">
<div class=" lg:flex justify-between items-center mb-4 ">
<div class="flex items-center gap-2">
<div>
<img src="B9A5-smart-ticketing-main/images/bus-logo.png" alt="">
</div>
<div>
<h1 class="text-[32px] font-bold raleway">Greenline Paribahan</h1>
<p class="text-xl inter">Coach-009-WEB ! AC_Business</p>
</div>
</div>
<button class="btn btn-outline btn-secondary text-[18px] bg-[#1DD10026] border-none"><img src="B9A5-smart-ticketing-main/images/seat-green.png"><span id="seats-left" class="text-[#1DD100]">40</span><span class="text-[#1DD100]">Seats left</span></button>
</div>
<div class=" bg-[#F7F8F8] p-6 mt-3 flex flex-col gap-9">
<div class="flex justify-between">
<p class="text-[18px] font-semibold text-[#03071299] raleway">Route</p>
<p class="text-[18px] font-semibold text-[#03071299] raleway">Dhaka - Sylhe</p>
</div>
<hr class="border-dashed">
<div class="flex justify-between">
<p class="text-[18px] font-semibold text-[#03071299] raleway">Departure Time</p>
<p class="text-[18px] font-semibold text-[#03071299] raleway">9:00 PM</p>
</div>
<hr class="border-dashed">
<div class="flex lg:flex-row flex-col justify-between">
<button class="btn btn-active bg-[#0307120d] border-none">Boarding Point - Laxmipur</button>
<button class="btn btn-active bg-[#0307120d] border-none">Dropping Point - Bogura</button>
<button class="btn btn-active bg-[#0307120d] border-none">Est. Time - 11 Hour</button>
</div>
</div>
</div>
<div class="col-span-1">
<div class=" flex items-center">
<img src="B9A5-smart-ticketing-main/images/info-devider.png" alt="" srcset="">
<div class="text-center flex flex-col gap-4 ">
<div class="flex justify-center"><img src="B9A5-smart-ticketing-main/images/fare.png" alt="" srcset=""></div>
<h1 class="text-3xl font-semibold raleway">550 Taka</h1>
<p class="text-2xl">Per Seat</p>
</div>
</div>
</div>
</div>
</section>
<section class="container mx-auto lg:mt-[60px] mt-7">
<div class="main-div grid grid-cols-1 lg:grid-cols-5 p-7 bg-[#FFFFFF] rounded-2xl">
<div class="div-1 lg:col-span-3 p-6">
<div class="lg:flex lg:flex-col gap-7">
<h1 class="text-2xl font-semibold text-black">Select Your Seat</h1>
<hr class="border-dashed ">
<div class="flex justify-between">
<div class="flex gap-3">
<img src="B9A5-smart-ticketing-main/images/seat-gray.png" >
<span class="text-[18px] text-[#03071280] ">Available</span>
</div>
<div class="flex gap-3">
<img src="B9A5-smart-ticketing-main/images/seat-green-filled.png" >
<span class="text-[18px] text-[#1DD100] ">Selected</span>
</div>
</div>
<div class="flex justify-end">
<div class="bg-[#0307121A] w-[110px] py-6 flex justify-center rounded-lg"><img class="w-6" src="B9A5-smart-ticketing-main/images/steering-wheel.svg" alt="" srcset=""></div>
</div>
</div>
<div class="grid grid-cols-2 gap-3 mt-4">
<div class="grid grid-cols-5 gap-2">
<div id="A" >A</div>
<div onclick="findId(this)" id="A1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">A1</div>
<div onclick="findId(this)" id="A2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">A2</div>
<div id="B" >B</div>
<div onclick="findId(this)" id="B1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">B1</div>
<div onclick="findId(this)" id="B2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">B2</div>
<div id="C" >C</div>
<div onclick="findId(this)" id="C1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">C1</div>
<div onclick="findId(this)" id="C2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">C2</div>
<div id="D" >D</div>
<div onclick="findId(this)" id="D1"class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">D1</div>
<div onclick="findId(this)" id="D2"class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">D2</div>
<div id="E" >E</div>
<div onclick="findId(this)" id="E1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">E1</div>
<div onclick="findId(this)" id="E2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">E2</div>
<div id="F" >F</div>
<div onclick="findId(this)" id="F1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">F1</div>
<div onclick="findId(this)" id="F2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">F2</div>
<div id="G" >G</div>
<div onclick="findId(this)" id="G1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">G1</div>
<div onclick="findId(this)" id="G2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">G2</div>
<div id="H" >H</div>
<div onclick="findId(this)" id="H1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">H1</div>
<div onclick="findId(this)" id="H2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">H2</div>
<div id="I" >I</div>
<div onclick="findId(this)" id="I1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">I1</div>
<div onclick="findId(this)" id="I2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">I2</div>
<div id="J" >J</div>
<div onclick="findId(this)" id="J1" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">J1</div>
<div onclick="findId(this)" id="J2" class="seat-class col-span-2 w-full py-6 flex justify-center rounded-lg">J2</div>
</div>
<div class="grid grid-cols-2 gap-2">
<div onclick="findId(this)" id="A3" class="seat-class w-full py-6 flex justify-center rounded-lg">A3</div>
<div onclick="findId(this)" id="A4" class="seat-class w-full py-6 flex justify-center rounded-lg">A4</div>
<div onclick="findId(this)" id="B3" class="seat-class w-full py-6 flex justify-center rounded-lg">B3</div>
<div onclick="findId(this)" id="B4" class="seat-class w-full py-6 flex justify-center rounded-lg">B4</div>
<div onclick="findId(this)" id="C3" class="seat-class w-full py-6 flex justify-center rounded-lg">C3</div>
<div onclick="findId(this)" id="C4" class="seat-class w-full py-6 flex justify-center rounded-lg">C4</div>
<div onclick="findId(this)" id="D3" class="seat-class w-full py-6 flex justify-center rounded-lg">D3</div>
<div onclick="findId(this)" id="D4" class="seat-class w-full py-6 flex justify-center rounded-lg">D4</div>
<div onclick="findId(this)" id="E3" class="seat-class w-full py-6 flex justify-center rounded-lg">E3</div>
<div onclick="findId(this)" id="E4" class="seat-class w-full py-6 flex justify-center rounded-lg">E4</div>
<div onclick="findId(this)" id="F3" class="seat-class w-full py-6 flex justify-center rounded-lg">F3</div>
<div onclick="findId(this)" id="F4" class="seat-class w-full py-6 flex justify-center rounded-lg">F4</div>
<div onclick="findId(this)" id="G3" class="seat-class w-full py-6 flex justify-center rounded-lg">G3</div>
<div onclick="findId(this)" id="G4" class="seat-class w-full py-6 flex justify-center rounded-lg">G4</div>
<div onclick="findId(this)" id="H3" class="seat-class w-full py-6 flex justify-center rounded-lg">H3</div>
<div onclick="findId(this)" id="H4" class="seat-class w-full py-6 flex justify-center rounded-lg">H4</div>
<div onclick="findId(this)" id="I3" class="seat-class w-full py-6 flex justify-center rounded-lg">I3</div>
<div onclick="findId(this)" id="I4" class="seat-class w-full py-6 flex justify-center rounded-lg">I4</div>
<div onclick="findId(this)" id="J3" class="seat-class w-full py-6 flex justify-center rounded-lg">J3</div>
<div onclick="findId(this)" id="J4" class="seat-class w-full py-6 flex justify-center rounded-lg">J4</div>
</div>
</div>
</div>
<div class="div-2 col-span-2 border-l-4 border-dashed p-6">
<h1 class="text-2xl font-semibold text-black pb-7">Select Your Seat</h1>
<hr class="border-dashed ">
<div class="bg-[#F7F8F8] mt-5 p-6 rounded-2xl">
<div class="overflow-x-auto">
<table class="table">
<!-- head -->
<thead>
<tr class="text-xl font-medium inter text-black">
<th >Seat <span id="seat-number" class="bg-[#1dd100] px-2 rounded-md text-white">0</span></th>
<th>Class</th>
<th>Price</th>
</tr>
</thead>
<tbody id="table-body">
<!-- row 1 -->
<!-- row 2 -->
</tbody>
</table>
</div>
<hr>
<div class="mt-5 text-black font-medium inter flex justify-between ">
<h1>Total Price</h1>
<p>BDT <span id="total-price">0</span></p>
</div>
<label id="lebel-input" class="input input-bordered flex lg:flex-row flex-col items-center gap-4 lg:gap-2 mt-6 p-3">
<input id="input-field" type="text" class="grow" placeholder="Have any copupon?" />
<span id="apply-btn" class="badge badge-info bg-[#1DD100] py-5 px-6 rounded-xl text-white text-xl">Apply</span>
</label>
<div class="lg:mt-5 mt-14 text-black font-medium inter flex justify-between ">
<h1>Grand Total</h1>
<p>BDT <span id="grend-total">0</span></p>
</div>
</div>
<div class="w-full mt-7">
<h1 class="text-black font-semibold text-[18px] pb-5 ">Passenger Name*</h1>
<input type="text" placeholder="Enter your name" class=" w-full h-fit p-5 border-gray-200 border-2"/>
<h1 class="text-black font-semibold text-[18px] py-5 ">Phone Number*</h1>
<input type="number" placeholder="Enter your phone numbe" class=" w-full h-fit p-5 border-gray-200 border-2" />
<h1 class="text-black font-semibold text-[18px] py-5 ">Email ID</h1>
<input type="email" placeholder="Enter your email id" class=" w-full h-fit p-5 border-gray-200 border-2" />
<button onclick="my_modal_5.showModal()" type="button" disabled id="next-btn" class="btn w-full mt-6 bg-[#1DD100] text-white font-extrabold text-[20px]">Next</button>
<div class="lg:flex justify-between mt-6 ">
<p class="underline"><a>Terms and Conditions</a></p>
<p class="underline"><a>Cancellation Policy</a></p>
</div>
</div>
</div>
</div>
</section>
</main>
<section>
<!-- Open the modal using ID.showModal() method -->
<dialog id="my_modal_5" class="modal modal-bottom sm:modal-middle">
<div class="modal-box flex flex-col justify-center items-center">
<div class="flex flex-col justify-center items-center text-center">
<img src="B9A5-smart-ticketing-main/images/success.png" alt="" srcset="">
<p class="py-4 text-black">Thank you for Booking Our Bus Seats.
We are working hard to find the best service and deals for you. </p>
<p class="text-black">Shortly you will find a confirmation in your email.</p>
</div>
<div class="modal-action">
<form method="dialog">
<!-- if there is a button in form, it will close the modal -->
<button class="btn bg-[#1DD100] px-11">Close</button>
</form>
</div>
</div>
</dialog>
</section>
<footer class="footer p-10 bg-black text-neutral-content lg:pt-20 px-12">
<aside class="lg:pl-[50px] lg:flex flex-col gap-10 raleway">
<h1 class="text-[40px] font-extrabold text-white">P-Ticket</h1>
<p class="text-[18px]">P-Ticket is a digital platform to make your <br>daily commuting better.</p>
<p>@all rights reserved, P-Ticket services limited.2024</p>
</aside>
<nav class="lg:flex flex-col gap-7">
<h6 class="footer-title text-white text-[20px] font-semibold">Download our app</h6>
<div class="flex gap-1 border-2 border-white p-3 bg-black rounded-xl" >
<img src="B9A5-smart-ticketing-main/images/playstore.png" alt="" srcset="">
<div >
<p class="text-white text-xs">Get It On</p>
<h2 class="text-white text-2xl">Goole Play</h2>
</div>
</div>
<div class="grid grid-flow-col gap-4 text-white font-medium">
<p>Terms & condition</p>
<p>Return & refund policy</p>
<p>Privacy policy</p>
</div>
</nav>
</footer>
<script src="utility.js"></script>
<script src="script.js"></script>
</body>
</html>