|
3 | 3 | <head>
|
4 | 4 | <meta charset="UTF-8">
|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
| - <title>Member Testimonials</title> |
7 |
| - <!-- Swiper.js CSS --> |
8 | 6 | <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">
|
9 |
| - <!-- Custom Styles --> |
10 | 7 | <style>
|
11 |
| - /* Swiper Container */ |
12 | 8 | .swiper-container {
|
13 |
| - width: 95%; |
| 9 | + width: 98%; |
14 | 10 | height: 100%;
|
15 |
| - margin: 20px auto; |
| 11 | + margin: 0px auto; |
16 | 12 | position: relative;
|
17 |
| - overflow: hidden; /* Ensure that the overflow is hidden */ |
| 13 | + overflow: hidden; |
18 | 14 | }
|
19 | 15 |
|
20 |
| - /* Testimonial Box */ |
21 | 16 | .testimonial-box {
|
22 | 17 | background-color: #202E4E;
|
23 | 18 | color: white;
|
24 | 19 | border-radius: 15px;
|
25 |
| - padding: 20px; |
| 20 | + padding: 25px; |
26 | 21 | text-align: center;
|
27 | 22 | }
|
28 | 23 |
|
29 |
| - /* Swiper Navigation Arrows */ |
30 | 24 | .swiper-button-next, .swiper-button-prev {
|
31 | 25 | color: white;
|
32 | 26 | }
|
33 | 27 |
|
34 |
| - /* Swiper Pagination Dots */ |
35 | 28 | .swiper-pagination {
|
36 | 29 | position: relative;
|
37 |
| - margin-top: -15px; |
| 30 | + margin-top: -22px; |
38 | 31 | width: 100%;
|
39 | 32 | text-align: center;
|
40 | 33 | }
|
41 | 34 |
|
42 | 35 | .swiper-pagination-bullet {
|
43 |
| - background: rgba(255, 255, 255, 0.8); /* Lighter color for better contrast */ |
44 |
| - width: 12px; /* Slightly larger dots */ |
45 |
| - height: 12px; /* Slightly larger dots */ |
| 36 | + background: rgba(255, 255, 255, 0.8); |
| 37 | + width: 10px; |
| 38 | + height: 10px; |
46 | 39 | border-radius: 50%;
|
47 |
| - margin: 0 4px; /* Spacing between dots */ |
48 |
| - opacity: 0.7; /* Slightly transparent */ |
| 40 | + margin: 0 4px; |
| 41 | + opacity: 0.7; |
49 | 42 | }
|
50 | 43 |
|
51 | 44 | .swiper-pagination-bullet-active {
|
52 |
| - background: white; /* White color for active dot */ |
53 |
| - opacity: 1; /* Fully opaque */ |
| 45 | + background: white; |
| 46 | + opacity: 1; |
54 | 47 | }
|
55 | 48 | </style>
|
56 | 49 | </head>
|
57 | 50 | <body>
|
58 | 51 | <div class="container">
|
59 | 52 | <h1>What Our Members Say</h1>
|
60 | 53 | <h5><i>Read why they love MPS so much!</i></h5>
|
| 54 | + <div class="row justify-content-center" style="padding: 20px;"> |
61 | 55 | <div class="col-md-12 custom-box shadow-lg bg-body">
|
62 | 56 | <div class="swiper-container">
|
63 | 57 | <div class="swiper-wrapper">
|
64 |
| - <!-- Slide 1 --> |
65 | 58 | <div class="swiper-slide">
|
66 | 59 | <div class="testimonial-box">
|
67 | 60 | <p>"MPS is love, MPS is life"</p>
|
68 | 61 | <h5>- Jake Farrell</h5>
|
69 |
| - <small>2nd Year Computer Science</small> |
| 62 | + <small>3rd Year Computer Science</small> |
70 | 63 | </div>
|
71 | 64 | </div>
|
72 | 65 | <div class="swiper-slide">
|
73 | 66 | <div class="testimonial-box">
|
74 | 67 | <p>"MPS is love, MPS is life"</p>
|
75 | 68 | <h5>- Jake Farrell</h5>
|
76 |
| - <small>2nd Year Computer Science</small> |
| 69 | + <small>3rd Year Computer Science</small> |
77 | 70 | </div>
|
78 | 71 | </div>
|
79 | 72 | <div class="swiper-slide">
|
80 | 73 | <div class="testimonial-box">
|
81 | 74 | <p>"MPS is love, MPS is life"</p>
|
82 | 75 | <h5>- Jake Farrell</h5>
|
83 |
| - <small>2nd Year Computer Science</small> |
| 76 | + <small>3rd Year Computer Science</small> |
84 | 77 | </div>
|
85 | 78 | </div>
|
86 | 79 | </div>
|
87 |
| - <!-- Add Pagination --> |
88 | 80 | <div class="swiper-pagination"></div>
|
89 |
| - <!-- Add Navigation --> |
90 | 81 | <div class="swiper-button-next"></div>
|
91 | 82 | <div class="swiper-button-prev"></div>
|
92 | 83 | </div>
|
93 | 84 | </div>
|
| 85 | + </div> |
94 | 86 | </div>
|
95 | 87 |
|
96 |
| - <!-- Swiper.js JS --> |
97 | 88 | <script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>
|
98 | 89 | <script>
|
99 | 90 | var swiper = new Swiper('.swiper-container', {
|
|
0 commit comments