-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestimonial-carousel-mobile.html
220 lines (205 loc) · 10.7 KB
/
testimonial-carousel-mobile.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link id="bootstrap-theme" rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.3.1/yeti/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<title>Bootstrap Carousel Example</title>
<style>
.carousel-control-next,
.carousel-control-prev {
filter: invert(100%);
}
.carousel-control-next,
.carousel-control-prev {
top: 50%;
width: auto;
height: fit-content;
margin-top: -25px;
font-size: 30px;
}
.carousel-inner {
margin-bottom: 3rem;
}
.carousel-item {
text-align: center;
}
.card {
display: inline-block;
margin: 10px!important;
min-height: 15rem;
}
.card img {
max-width: 3rem;
}
.card-text {
overflow: hidden;
text-overflow: ellipsis;
}
</style>
</head>
<body>
<div style="display: flex; flex-direction: row; justify-content: center;">
<div id="carouselExampleControls" class="carousel slide" data-ride="carousel" style="width: 80%;">
<div class="carousel-inner">
<div class="carousel-item active">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar01.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“Hearing everyone's projects gives me insights into my own project.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar02.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“This is my first PEER where I am developing a whole new project, which I am loving doing in this space. I’m getting tons of new ideas from others as it takes form.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar03.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“It was affirming to hear that my work is interesting and also great feedback on where to refine and define pieces. It was great to have time to think deeply on my project and its process.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar04.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“As a novice researcher, I made progress on my identity through PEER. I have a stronger sense of belonging and feel like I am able to contribute something of value too.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar05.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“I gained self-confidence. I have a sense of community and belonging. I feel included.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar06.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“I am excited about doing research again. I feel like this program has reminded my reasons for why I want to do research.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar07.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“This was definitely one of the highlights of attending PEER: Improving self sense of belonging as a researcher in education and connecting with people in other disciplines as well.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar08.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“It was cool to be able to help with other projects in a field outside my own. I was able to see how interdisciplinary and interconnected education research is.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar09.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“I definitely saw growth in my skills and knowledge. It was great to build a sense of community and feel like others have similar ‘blocks’ as you do. This validated that I can/do think like a researcher and have similar experiences as other researchers.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar10.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“This was a really good motivator as I was feeling stuck and unsupported. Thank you for this opportunity to build community of like-minded individuals”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar11.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“If you are interested in conducting research and don’t know where begin or feel overwhelmed, the PEER field school is perfect to give you the boost you need to help you continue heading in the right direction. Generative writing is such a powerful tool. It was especially helpful for me because I have not been very good at putting things down on paper in the past.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar12.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“This workshop was very helpful for me as I am thinking about expanding my research in education. I enjoyed the discussions, and I feel more confident about how to proceed with my research questions.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar13.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“In the PEER field school I learned what I will need to do to transform my math ed research question from an idea into an actual, realistic, legitimate project.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar14.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“Interviewing is actually easier than I thought it would be! I'm less scared to do it now.”</p>
</div>
</div>
</div>
<div class="carousel-item">
<div class="d-flex justify-content-around">
<div class="card border-primary mx-auto card-body text-left">
<img src="images/avatars/avatar15.png" class="img-fluid mx-auto" alt="...">
<p class="card-text">“It feels great to find others who feel my research questions are important to someone other than me.”</p>
</div>
</div>
</div>
</div>
</div>
<div>
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="false"></span>
<span class="sr-only">Previous</span>
</a>
</div>
<div>
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="false"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script>
$(document).ready(function () {
const maxLength = 170;
$('.card-text').each(function () {
if ($(this).text().length > maxLength) {
var truncatedText = $(this).text().substring(0, maxLength) + "...";
$(this).text(truncatedText);
var readMoreLink = document.createElement('a');
readMoreLink.textContent = ' Read More';
readMoreLink.classList.add('read-more');
readMoreLink.href = '#'; // Replace '#' with your desired link
$(this).append(readMoreLink);
}
});
$(document).on('click', '.read-more', function () {
var fullText = $(this).siblings('.card-text').data('full-text');
$(this).siblings('.card-text').text(fullText);
});
});
</script>
</body>
</html>