forked from Anushkabh/krishiconnect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sharmi.html
698 lines (637 loc) · 25.8 KB
/
sharmi.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
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>KrishiConnect</title>
<link rel="icon" type="image/png" href="/assets/img/logo/log.png">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link href="assets/fonts/sb-bistro/sb-bistro.css" rel="stylesheet" type="text/css">
<link href="assets/fonts/font-awesome/font-awesome.css" rel="stylesheet" type="text/css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="all" href="assets/packages/bootstrap/bootstrap.css">
<link rel="stylesheet" type="text/css" media="all" href="assets/packages/o2system-ui/o2system-ui.css">
<link rel="stylesheet" type="text/css" media="all" href="assets/packages/owl-carousel/owl-carousel.css">
<link rel="stylesheet" type="text/css" media="all" href="assets/packages/cloudzoom/cloudzoom.css">
<link rel="stylesheet" type="text/css" media="all" href="assets/packages/thumbelina/thumbelina.css">
<link rel="stylesheet" type="text/css" media="all" href="assets/packages/bootstrap-touchspin/bootstrap-touchspin.css">
<link rel="stylesheet" type="text/css" media="all" href="assets/css/theme.css">
<!-- Favicon -->
<link rel="shortcut icon" href="assets/img/logo/krishiconnect-high-resolution-logo_black.png" type="image/x-icon">
<!-- BoxIcons v2.1.2 -->
<link href="https://unpkg.com/[email protected]/css/boxicons.min.css" rel="stylesheet">
<link rel="stylesheet" href="darkmode.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/css/splide.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<style>
html {
scroll-behavior: smooth;
}
body {
color: #333333;
font-size: 14px;
font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
background: #fff;
}
h1, h2, h3, h4, h5, h6 {
text-transform: uppercase !important;
font-weight: 700 !important;
}
.page-header .navbar{
color: white;
}
.page-header .navbar .navbar-brand img {
height: 60px;
margin-left: -160px;
object-fit: cover;
border-radius: 50%;
}
.page-header .navbar .navbar-nav .nav-link {
color: #FFF;
font-size: 1rem;
padding-right: 1rem;
padding-left: 1rem;
}
.page-header .navbar .navbar-nav .nav-link:focus, .page-header .navbar .navbar-nav .nav-link:hover, .page-header .navbar .navbar-nav .nav-link.active {
color: #E91E63;
}
.page-header .navbar.bg-white {
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
}
.page-header .navbar.bg-white .navbar-nav .nav-link {
color: #333333;
}
.page-header .navbar.bg-white .navbar-nav .nav-link:focus, .page-header .navbar.bg-white .navbar-nav .nav-link:hover, .page-header .navbar.bg-white .navbar-nav .nav-link.active {
color: #E91E63;
}
.navbar-brand img{
margin-left: 30%;
}
.banner .jumbotron {
margin-bottom: 0;
padding: 0;
position: relative;
overflow: hidden;
height: auto;
}
.banner .jumbotron video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 1;
}
.banner .jumbotron .overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 2;
}
.banner .jumbotron .container {
position: relative;
z-index: 3;
padding-top: 200px; /* Adjust padding as needed to position the text correctly */
text-align: center;
}
.banner .jumbotron .container h1,
.banner .jumbotron .container p {
color: #FFF;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.card-icon {
font-size: 2rem;
color: #FFF;
}
.banner .jumbotron .container .card {
margin-top: 2.3rem;
background-color: transparent;
border: none;
}
.banner .jumbotron .container .card .card-icon {
border: none;
color: #FFF;
}
.banner .jumbotron .container .card .card-body .card-title {
color: #FFF;
text-transform: uppercase;
}
.card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.gray-bg {
background-color: #f8f9fa;
}
.card {
padding: 20px;
margin: 10px;
overflow: hidden;
box-sizing: border-box;
height: 100%;
}
.card-body {
padding: 15px;
box-sizing: border-box;
}
.card-title {
font-size: 1.5rem;
margin-bottom: 15px;
}
.card-text {
font-size: 1rem;
word-wrap: break-word;
}
.cart-icon {
margin-bottom: 20px;
}
.card-icon-i {
font-size: 2rem;
}
.text-success {
color: #28a745;
}
@media (max-width: 1200px) and (min-width:995px){
.card-title {
font-size: 1.25rem;
}
.card-text {
font-size: 0.875rem;
}
}
@media (max-width: 995px) and (min-width:760px) {
.card-title {
font-size: 1rem;
}
.card-text {
font-size: 0.6rem;
}
}
#products .container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 0;
}
#products .card {
flex: 1 0 30%; /* Adjust the value as needed to fit your design */
margin: 10px;
box-sizing: border-box;
}
#products .card img {
width: 100%;
height: 200px; /* Set a fixed height */
object-fit: cover;
}
#products .card-body {
padding: 15px;
box-sizing: border-box;
}
#products .card-title {
font-size: 1.5rem;
margin-bottom: 15px;
}
#products .card-text {
font-size: 1rem;
}
@media (max-width: 767px) {
#products .card {
flex: 1 0 48%; /* Two cards per row on smaller screens */
}
}
@media (max-width: 480px) {
#products .card {
flex: 1 0 100%; /* One card per row on very small screens */
}
}
.footer-logo img {
max-height: 50px; /* Limit the height of the logo */
}
/* Scroll to Top Button */
.scroll-to-top {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
display: none; /* Initially hide the button */
background-color: #198754;
color: #fff;
width: 40px;
height: 40px;
text-align: center;
line-height: 40px;
border-radius: 50%;
font-size: 20px;
cursor: pointer;
transition: opacity 0.3s ease;
}
.scroll-to-top:hover {
opacity: 0.8;
}
</style>
<!-- Swiper CSS -->
<link rel="stylesheet" href="swiper-bundle.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="test-style.css">
<body>
</head>
<body>
<div class="page-header">
<!--=============== Navbar ===============-->
<nav class="navbar fixed-top navbar-expand-md navbar-dark bg-dark" id="page-navigation">
<div class="container">
<!-- Navbar Brand -->
<a href="index.html" class="navbar-brand mr-auto">
<img src="assets/img/logo/logo3.png" width="70px" style="display: inline-block; vertical-align: middle;margin-left: 0px; " >
</a>
<!-- Toggle Button -->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarcollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarcollapse">
<!-- Navbar Menu -->
<ul class="navbar-nav">
<li class="nav-item" style="border: 2px solid white" id="nav-link1">
<a href="login.html" class="nav-link"><i class="ri-user-3-fill"></i> Are You A Seller?</a>
</li>
<li class="nav-item" id="nav-link2">
<a href="shop(1).html" class="nav-link"><i class="ri-shopping-bag-fill"></i> Shop</a>
</li>
<li class="nav-item" id="nav-link3">
<a href="transaction.html" class="nav-link"><i class="ri-bank-card-fill"></i> Transactions</a>
</li>
<li class="nav-item" id="nav-link4">
<a href="shop(1).html" class="nav-link"><i class="ri-seedling-fill"></i> Wishlist</a>
</li>
<li class="nav-item" id="nav-link5">
<a href="cart(1).html" class="nav-link"><i class="ri-shopping-cart-2-fill"></i> My Cart</a>
</li>
<li class="nav-item">
<a href="Contact(1).html" class="nav-link"><i class="ri-user-star-fill"></i>Contact</a>
</li>
</ul>
<input type="checkbox" id="toggle">
<label class="toggle" for="toggle">
<i class="bx bxs-sun"></i>
<i class="bx bx-moon"></i>
<span class="ball"></span>
</label>
</div>
</div>
</nav>
</div>
<div id="page-content" class="page-content">
<div class="banner">
<div class="jumbotron jumbotron-video text-center bg-dark mb-0 rounded-0">
<video width="100%" preload="auto" loop autoplay muted>
<source src='assets/media/explore.mp4' type='video/mp4' />
<source src='assets/media/explore.webm' type='video/webm' />
</video>
<div class="overlay"></div>
<div class="container">
<h1 class="pt-5">FRESH FROM THE FARM TO YOUR DINING TABLE</h1>
<p class="lead">WE SERVE FRESH.</p>
<div class="row">
<div class="col-md-4">
<div class="card border-0 text-center bg-transparent">
<div class="card-icon">
<i class="fa fa-shopping-basket"></i>
</div>
<div class="card-body">
<h4 class="card-title">Buy</h4>
<p class="card-text">Simply click-to-buy on the product you want and submit your order when you're done.</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0 text-center bg-transparent">
<div class="card-icon">
<i class="fas fa-leaf"></i>
</div>
<div class="card-body">
<h4 class="card-title">Harvest</h4>
<p class="card-text">Our team ensures the produce quality is up to our standard and delivers to your door within 24 hours of harvest day.</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0 text-center bg-transparent">
<div class="card-icon">
<i class="fa fa-truck"></i>
</div>
<div class="card-body">
<h4 class="card-title">Delivery</h4>
<p class="card-text">Farmers receive your orders two days in advance so they can prepare for harvest exactly as your orders – no wasted produce.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<section id="why">
<h2 class="title">Why कृषिCONNECT</h2>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card border-0 text-center gray-bg">
<div class="cart-icon">
<div class="card-icon">
<div class="card-icon-i text-success">
<i class="fas fa-leaf"></i>
</div>
</div>
</div>
<div class="card-box">
<div class="card-body">
<h4 class="card-title">
Straight from the Farm
</h4>
<p class="card-text">
Our farm-to-table concept emphasizes on getting the fresh produce directly from local farms to your tables within one day, hence you know you get the freshest produce straight from harvest.
</p>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0 text-center gray-bg">
<div class="cart-icon">
<div class="card-icon">
<div class="card-icon-i text-success">
<i class="fa fa-question"></i>
</div>
</div>
</div>
<div class="card-box">
<div class="card-body">
<h4 class="card-title">
Stay Informed
</h4>
<p class="card-text">
We aim to keep information regarding all our produce and their cultivation open to our loyal buyers. Any piece of information regarding what you're putting on your dinner plates is available on our website.
</p>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card border-0 text-center gray-bg">
<div class="cart-icon">
<div class="card-icon">
<div class="card-icon-i text-success">
<i class="fas fa-smile"></i>
</div>
</div>
</div>
<div class="card-box">
<div class="card-body">
<h4 class="card-title">
Supporting Farmers
</h4>
<p class="card-text">
With a major cut down on logistics and middlemen costs, you help the farmers take home more than 50% of the final price you pay. You support local farmers and in return get the best product possible.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="products" class="products">
<h2 class="title">Products</h2>
<div class="container">
<div class="card text-center card1">
<img src="assets/img/spinach.jpg" class="card-img-top" alt="Spinach">
<div class="card-body">
<h5 class="card-title">Spinach</h5>
<p class="card-text">Healthy and fresh spinach leaves.</p>
<a href="#" class="btn btn-primary" id="toast-btn">Add to Cart</a>
</div>
</div>
<div class="card text-center card1">
<img src="assets/img/tomato.jpg" class="card-img-top" alt="Tomato">
<div class="card-body">
<h5 class="card-title">Tomato</h5>
<p class="card-text">Fresh organic tomatoes directly from our farms.</p>
<a href="#" class="btn btn-primary" id="toast-btn">Add to Cart</a>
</div>
</div>
<div class="card text-center card1">
<img src="https://t3.ftcdn.net/jpg/04/68/10/86/360_F_468108626_wpL1hcDkE4g12mPPnbVxx8rCnWpHYKmV.jpg" class="card-img-top" alt="Broccoli">
<div class="card-body">
<h5 class="card-title">Broccoli</h5>
<p class="card-text">Green and fresh broccoli heads.</p>
<a href="#" class="btn btn-primary" id="toast-btn">Add to Cart</a>
</div>
</div>
</div>
</section>
<!-- --Testimonials -->
<section id="test">
<h2 class="h2 section-title has-underline" style="margin-top: 15px;align-items: center; justify-content: center; display: flex;">
What Clients Say
</h2>
<p class="section-subtitle" style="align-items: center; justify-content: center; display: flex;color:#E91E63;font-size: 20px;">Explore on the world's best & largest Bidding marketplace with our beautiful
Bidding</p>
<div class="slide-container swiper" style="margin-bottom: 15px;">
<div class="slide-content">
<div class="card-wrapper swiper-wrapper">
<div class="card swiper-slide">
<div class="fronts" style="align-items: center; justify-content: center; display: flex; flex-direction: column; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="image-content" >
<div class="card-image">
<img src="assets/images/testimonials-1.jpg" alt="" class="card-img">
</div>
<h2 style="font-size: 20px;">B.Sharmila</h2>
</div>
<div class="rating" >
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;color:black;">
The Pacific Grove Chamber of Commerce would like to thank eLab Communications
and Mr. Will Elkadi for all the efforts that assisted me nicely manners. </div>
</div>
<div class="card swiper-slide">
<div class="fronts" style="align-items: center; justify-content: center; display: flex; flex-direction: column; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="image-content" >
<div class="card-image">
<img src="assets/images/testimonials-2.jpg" alt="" class="card-img">
</div>
<h2 style="font-size: 20px;">Prem Sampath</h2>
</div>
<div class="rating" >
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;color: black;">The Pacific Grove Chamber of Commerce would like to thank eLab Communications
and Mr. Will Elkadi for all the efforts that assisted me nicely manners. </div>
</div>
<div class="card swiper-slide">
<div class="fronts" style="align-items: center; justify-content: center; display: flex; flex-direction: column; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="image-content" >
<div class="card-image">
<img src="assets/images/testimonials-3.jpg" alt="" class="card-img">
</div>
<h2 style="font-size: 20px;">Aron Loes</h2>
</div>
<div class="rating" >
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;color:black">SwapReads is a bookworm's paradise! With its user-friendly interface, welcoming community, and vast variety of books for swapping, I've embarked on countless new literary adventures. It's like an ever-active book club where I've connected with fellow literature lovers. I'm completely hooked!</div>
</div>
<div class="card swiper-slide">
<div class="fronts" style="align-items: center; justify-content: center; display: flex; flex-direction: column; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
<div class="image-content" >
<div class="card-image">
<img src="assets/images/testimonials-4.jpg" alt="" class="card-img">
</div>
<h2 style="font-size: 20px;">Sonal K</h2>
</div>
<div class="rating" >
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
<div class="backs" style="align-items: center;justify-content: center;display: flex;padding: 10px 10px ;color: black;">The Pacific Grove Chamber of Commerce would like to thank eLab Communications
and Mr. Will Elkadi for all the efforts that assisted me nicely manners. </div>
</div>
</div>
</div>
<div class="swiper-button-next swiper-navBtn"></div>
<div class="swiper-button-prev swiper-navBtn"></div>
<div class="swiper-pagination"></div>
</div>
</section>
<!-- Testimonials -->
<footer class="footer">
<div class="container">
<div class="row">
<!-- Footer Brand Section -->
<div class="col-md-6 col-lg-3 mb-4 mb-md-0">
<div class="footer-logo">
<!-- Add img-fluid class for responsive image -->
<img src="assets/img/logo/krishiconnect-high-resolution-logo_black.png" alt="KrishiConnect Logo" class="img-fluid">
<p>कृषिCONNECT, WE SERVE FRESH!</p>
</div>
</div>
<!-- Footer Links Section -->
<div class="col-md-6 col-lg-3 mb-4 mb-md-0">
<h5 class="footer-title">Quick Links</h5>
<ul class="footer-links">
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Shop</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<!-- Footer Contact Section -->
<div class="col-md-6 col-lg-3 mb-4 mb-md-0">
<h5 class="footer-title">Contact Us</h5>
<ul class="footer-contact">
<li><i class="fas fa-phone"></i> +91 12345 67890</li>
<li><i class="fas fa-envelope"></i> [email protected]</li>
<li><i class="fas fa-map-marker-alt"></i> 123, Agriculture Street, Farmer City, India</li>
</ul>
</div>
<!-- Footer Social Section -->
<div class="col-md-6 col-lg-3">
<h5 class="footer-title">Follow Us</h5>
<div class="footer-social">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
</div>
</div>
</footer>
<!-- Scroll to Top Button -->
<a href="#" class="scroll-to-top" style="display: inline;">
<i class="fa fa-angle-up" aria-hidden="true"></i>
</a>
<!-- jQuery -->
<script src="assets/js/jquery-3.5.1.min.js"></script>
<!-- Bootstrap JS -->
<script src="assets/js/bootstrap.bundle.min.js"></script>
<!-- Custom Script -->
<script src="assets/js/scripts.js"></script>
<script src="./darkmode.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/js/splide.min.js"></script>
<script>
var splide = new Splide('#reviews', {
perPage: 3,
perMove: 1,
type:'loop',
pagination: false,
arrows: false,
autoplay: true,
breakpoints: {
640: {
perPage: 2,
gap: '.7rem',
},
480: {
perPage: 1,
gap: '.7rem',
},
},
});
splide.mount();
</script>
<script>
$(document).ready(function(){
// Show or hide the scroll to top button based on the scroll position
$(window).scroll(function(){
if ($(this).scrollTop() > 100) {
$('.scroll-to-top').fadeIn();
} else {
$('.scroll-to-top').fadeOut();
}
});
// Scroll to top when the button is clicked
$('.scroll-to-top').click(function(){
$('html, body').animate({scrollTop : 0},800);
return false;
});
});
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<!-- Swiper JS -->
<script src="swiper-bundle.min.js"></script>
<!-- Custom JavaScript -->
<script src="test-script.js"></script>
</body>
</html>