-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
381 lines (326 loc) · 18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--=============== FAVICON ===============-->
<link rel="shortcut icon" href="/librar/Aec-Library-Website-1/favicon.ico" type="image/x-icon">
<!--=============== BOXICONS ===============-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css">
<!--=============== SWIPER CSS ===============-->
<link rel="stylesheet" href="assets/css/swiper-bundle.min.css">
<!--=============== CSS ===============-->
<link rel="stylesheet" href="assets/css/styles.css">
<title>LearnX</title>
</head>
<body>
<!--==================== HEADER ====================-->
<header class="header" id="header">
<nav class="nav container">
<a href="#" class="nav__logo">
<img src="/R.png" alt="" class="nav__logo-img">
BUDDHA INSTITUTE OF TECHNOLOGY
</a>
<div class="nav__menu" id="nav-menu">
<ul class="nav__list">
<li class="nav__item">
<a href="#home" class="nav__link active-link">Home</a>
</li>
<li class="nav__item">
<a href="https://www.bit.ac.in/" class="nav__link">About</a>
</li>
<li class="nav__item">
<a href="#trick" class="nav__link">Products</a>
</li>
<li class="nav__item">
<a href="#new" class="nav__link">New</a>
</li>
<a href="#" class="button button--ghost">Support</a>
</ul>
<div class="nav__close" id="nav-close">
<i class='bx bx-x'></i>
</div>
<img src="assets/img/nav-img.png" alt="" class="nav__img">
</div>
<div class="nav__toggle" id="nav-toggle">
<i class='bx bx-grid-alt'></i>
</div>
</nav>
</header>
<main class="main">
<!--==================== HOME ====================-->
<section class="home container" id="home">
<div class="swiper home-swiper">
<div class="swiper-wrapper">
<!-- HOME SLIDER 1 -->
<section class="swiper-slide">
<div class="home__content grid">
<div class="home__group">
<img src="bit.jpg" alt="" class="home__img">
</div>
<div class="home__data">
<h3 class="home__subtitle">Buddha Institute of Technology</h3>
<h1 class="home__title">ADMISSION OPEN </h1><h3>BTECH , BPHARMA AND <br> BBA</h3>
<p class="home__description">Buddha Institute of Technology is approved by A.I.C.T.E. and affiliated
to Dr. APJ A.K.T.U. The programs of the institute are recognized all over India and abroad.
It boasts of a strong Academic- Industrial interaction with high quality of research and
consultancy and has close collaborative links with industries in the field of Automobile,
Aerospace, Defense, Textile, Machine Tools, Software Development, Civil industry, Manufacturing
Sector etc.
</p>
<div class="home__buttons">
<a href="https://www.bit.ac.in/" class="button">Register now</a>
<a href="tel:+917897542896" class="button--link button--flex">Contact <i class='bx bx-right-arrow-alt button__icon'></i></a>
</div>
</div>
</div>
</section>
<!-- HOME SLIDER 2 -->
<section class="swiper-slide">
<div class="home__content grid">
<div class="home__group">
<img src="assets/img/home2-img.png" alt="" class="home__img">
<div class="home__indicator"></div>
<div class="home__details-img">
<h4 class="home__details-title">Adino & Grahami</h4>
<span class="home__details-subtitle">No words can describe them</span>
</div>
</div>
<div class="home__data">
<h3 class="home__subtitle">#2 top two duo</h3>
<h1 class="home__title">BRING BACK <br> MY COTTON <br> CANDY</h1>
<p class="home__description">Adino steals cotton candy from his brother and eats them all in one bite,
a hungry beast. Grahami can no longer contain his anger towards Adino.
</p>
<div class="home__buttons">
<a href="#" class="button">Book Now</a>
<a href="#" class="button--link button--flex">Track Record <i class='bx bx-right-arrow-alt button__icon'></i></a>
</div>
</div>
</div>
</section>
<!-- HOME SLIDER 3 -->
<section class="swiper-slide">
<div class="home__content grid">
<div class="home__group">
<img src="assets/img/home3-img.png" alt="" class="home__img">
<div class="home__indicator"></div>
<div class="home__details-img">
<h4 class="home__details-title">Captain Sem</h4>
<span class="home__details-subtitle">Veteran Spooky Ghost</span>
</div>
</div>
<div class="home__data">
<h3 class="home__subtitle">#3 Top Scariest Ghost</h3>
<h1 class="home__title">RESPAWN <br> THE SPOOKY <br> SKULL</h1>
<p class="home__description">In search for cute little puppy, Captain Sem has come back from his tragic death.
With his hogwarts certified power he promise to be a hero for all of ghostkind.
</p>
<div class="home__buttons">
<a href="#" class="button">Book Now</a>
<a href="#" class="button--link button--flex">Track Record <i class='bx bx-right-arrow-alt button__icon'></i></a>
</div>
</div>
</div>
</section>
</div>
<div class="swiper-pagination"></div>
</div>
</section>
<!--==================== ABOUT ====================-->
<section class="section about" id="about">
<div class="about__container container grid">
<div class="about__data">
<h2 class="section__title about__title">About BIT <br>LIBRARY</h2>
<p class="about__description">"BIT Library offers comprehensive resources for all BTech, BPharma, and BBA programs.
Access textbooks, research papers, journals, and study materials. Stay ahead with cutting-edge academic content
tailored for your field of study!"
</p>
<a href="/librar/Aec-Library-Website-1/index.html" class="button">Know more</a>
</div>
<img src="book2.jpg" alt="" class="about__img">
</div>
</section>
<!--==================== PRODUCTS ====================-->
<section class="section trick" id="trick">
<h2 class="section__title">PRODUCTS</h2>
<div class="trick__container container grid">
<!-- Product 1 -->
<div class="trick__content">
<img src="dress2.jpg" alt="" class="trick__img">
<h3 class="trick__title">DRESS</h3>
<span class="trick__subtitle">Bit, Bdc, Bpharma</span>
<span class="trick__price">Rs 3000</span>
<button class="button trick__button" onclick="addToCart('DRESS')">
<i class='bx bx-cart-alt trick__icon'></i> Add to Cart
</button>
</div>
<!-- Product 2 -->
<div class="trick__content">
<img src="bookit.jpg" alt="" class="trick__img">
<h3 class="trick__title">BOOKIT</h3>
<span class="trick__subtitle">Tutorials & Lab Files</span>
<span class="trick__price">Rs 1300.00</span>
<button class="button trick__button" onclick="addToCart('BOOKIT')">
<i class='bx bx-cart-alt trick__icon'></i> Add to Cart
</button>
</div>
<!-- Product 3 -->
<div class="trick__content">
<img src="/acessories.jpg" alt="" class="trick__img">
<h3 class="trick__title">Acessories</h3>
<span class="trick__subtitle">Accessory</span>
<span class="trick__price">Rs 99.99</span>
<button class="button trick__button" onclick="addToCart('Scarecrow')">
<i class='bx bx-cart-alt trick__icon'></i> Add to Cart
</button>
</div>
</div>
</section>
<!-- Success message -->
<div id="cartMessage" style="display:none; background-color: lightgreen; padding: 10px; margin-top: 10px;">
<span id="messageText"></span>
</div>
<!-- Razorpay Script -->
<script src="https://checkout.razorpay.com/v1/checkout.js"></script>
<script>
let totalAmount = 0; // Variable to store total amount
function addToCart(product) {
let price;
if (product === 'DRESS') {
price = 3000;
} else if (product === 'BOOKIT') {
price = 1300;
} else if (product === 'Acessories') {
price = 1599;
}
// Update the total amount
totalAmount += price;
// Display a message that the item has been added to the cart
const messageBox = document.getElementById('cartMessage');
const messageText = document.getElementById('messageText');
messageText.textContent = product + ' has been added to your cart!';
messageBox.style.display = 'block';
// Enable the payment button if there is any item in the cart
document.getElementById("rzp-button1").disabled = totalAmount === 0;
// Hide the message after 3 seconds
setTimeout(function() {
messageBox.style.display = 'none';
}, 3000);
}
// Razorpay payment integration
var options = {
key: "rzp_test_aIfnpuWEudWnID", // Enter the Key ID generated from the Dashboard
amount: totalAmount * 100, // Amount in currency subunits (e.g., 50000 refers to 50000 paise)
currency: "INR",
name: "Buddha Institute of Technology",
description: "Your products",
handler: function (response) {
if (typeof response.razorpay_payment_id == "undefined" || response.razorpay_payment_id < 1) {
alert("Please try again later!");
} else {
alert("Thank You for your purchase!");
}
},
theme: {
color: "#3399cc",
},
};
var rzp1 = new Razorpay(options);
document.getElementById("rzp-button1").onclick = function (e) {
options.amount = totalAmount * 100; // Update the amount before opening the Razorpay modal
rzp1.open();
e.preventDefault();
};
</script>
<div class="cart-notification-container cart-dismiss">
<div class="cart-container">
<img src="" alt="">
</div>
<div class="cart-login_form">
<div class="cart-form_header">
<h2>Order Summary</h2>
<p class="close" id="closeFilePanelCart">50</p>
</div>
<div class="offer_if"><p>YOUR PAYMENT SECTION IS HERE</p></div>
<div class="cart_item_append">
<div class="cart_item">
<div id="cart_item_upper">
<!-- <h4 id="cart_item_name">Chicken Curry Cut - Small Pieces (Large Pack)</h4> -->
<!-- <span><p>X</p></span> -->
</div>
<div id="cart_item_lower">
<!-- <p id="cart_item_quantity">1000gms</p> -->
<!-- <p id="cart_item_price">Rs.345</p> -->
</div>
<!-- <div id="cart_item_upper">
<h4 id="cart_item_name">Chicken Curry Cut - Small Pieces (Large Pack)</h4>
<span><p>X</p></span>
</div>
<div id="cart_item_lower">
<p id="cart_item_quantity">1000gms</p>
<p id="cart_item_price">Rs.345</p>
</div> -->
</div>
<!-- Bill Update -->
</div>
<div id="final_bill">
<div><h2 id="checkout_cost"></h2></div>
<div>
<form>
<button id="rzp-button1">
<i class="fas fa-donate"></i> Proceed for payment
</button>
<script src="https://checkout.razorpay.com/v1/checkout.js"></script>
<script>
var options = {
key: "rzp_test_aIfnpuWEudWnID", // Enter the Key ID generated from the Dashboard
amount: "100", // Amount is in currency subunits. Default currency is INR. Hence, 50000 refers to 50000 paise
currency: "INR",
name: "Buddha institute of technology",
description: "Your products",
handler: function (response) {
if (
typeof response.razorpay_payment_id == "undefined" ||
response.razorpay_payment_id < 1
) {
swal({
title: "Please try again later!",
icon: "error",
button: "Close",
});
} else {
swal({
title: "Thank You!",
icon: "success",
button: "Close",
});
}
},
theme: {
color: "#3399cc",
},
};
var rzp1 = new Razorpay(options);
document.getElementById("rzp-button1").onclick = function (
e
) {
rzp1.open();
e.preventDefault();
};
</script>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!--=============== MAIN JS ===============-->
<script src="assets/js/main.js"></script>
<script src="https://cdn.botpress.cloud/webchat/v2.2/inject.js"></script>
<script src="https://files.bpcontent.cloud/2024/10/03/12/20241003121018-G9HC2GOM.js"></script>
</body>
</html>