Raffales-LMS/resources/views/raffels/partials/testimonials.blade.php

166 lines
4.2 KiB
PHP
Raw Permalink Normal View History

2024-04-16 09:58:24 +00:00
<div id = "testimonials" class="section-full p-t120 p-b90 site-bg-white twm-testimonial-v-area">
2024-04-24 04:32:18 +00:00
<style>
2024-04-16 09:58:24 +00:00
.testimonials-container {
max-width: 900px;
margin: 10px auto;
line-height: 1.9;
font-family: "Roboto", sans-serif;
2024-04-24 04:32:18 +00:00
}
2024-04-16 09:58:24 +00:00
.testimonials-container section {
2024-04-24 04:32:18 +00:00
padding: 20px 0;
2024-04-16 09:58:24 +00:00
}
.testimonials-container h2 {
2024-04-24 04:32:18 +00:00
font-size: 40px;
line-height: 1.2;
font-family: "Poppins", sans-serif;
position: relative;
2024-04-16 09:58:24 +00:00
}
.testimonials-container h2::before {
2024-04-24 04:32:18 +00:00
content: "";
position: absolute;
height: 4px;
width: 60px;
background: red;
bottom: -8px;
left: 0;
2024-04-16 09:58:24 +00:00
}
section.dark h2::before {
2024-04-24 04:32:18 +00:00
height: 0;
2024-04-16 09:58:24 +00:00
}
.testimonials-container .logos-container {
2024-04-24 04:32:18 +00:00
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
place-items: center;
padding: 32px;
box-shadow: 0 4px 40px -8px rgba(0, 0, 0, 0.1);
2024-04-16 09:58:24 +00:00
}
.testimonials-container .logos-container img {
2024-04-24 04:32:18 +00:00
height: 10px;
2024-04-16 09:58:24 +00:00
}
.testimonials {
2024-04-24 04:32:18 +00:00
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
2024-04-16 09:58:24 +00:00
}
.testimonial video {
2024-04-24 04:32:18 +00:00
height: 600px;
2024-04-16 09:58:24 +00:00
}
.testimonial {
2024-04-24 04:32:18 +00:00
flex: 1;
padding: 16px;
box-shadow: 0 4px 40px -8px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
2024-04-16 09:58:24 +00:00
}
.testimonial .video {
2024-04-24 04:32:18 +00:00
margin: -16px;
margin-bottom: 0;
2024-04-16 09:58:24 +00:00
}
.testimonial .bottom {
2024-04-24 04:32:18 +00:00
margin-top: auto;
2024-04-16 09:58:24 +00:00
}
.testimonial .name {
2024-04-24 04:32:18 +00:00
font-weight: bold;
font-size: 18px;
line-height: 1.2;
margin-top: 20px;
2024-04-16 09:58:24 +00:00
}
.testimonial .designation {
2024-04-24 04:32:18 +00:00
font-size: 14px;
opacity: 0.8;
2024-04-16 09:58:24 +00:00
}
.testimonials-container button,
.testimonials-container a.btn {
2024-04-24 04:32:18 +00:00
padding: 8px 32px;
border: none;
margin: 24px 0;
font-size: 16px;
background: #003049;
color: #fff;
cursor: pointer;
2024-04-16 09:58:24 +00:00
}
.testimonials-container a.btn {
2024-04-24 04:32:18 +00:00
text-decoration: none;
background: #e63946;
font-size: 24px;
text-transform: uppercase;
font-weight: bold;
display: inline-block;
padding: 4px 32px;
margin-top: 8px;
2024-04-16 09:58:24 +00:00
}
section.dark {
2024-04-24 04:32:18 +00:00
background: #003049;
color: #fff;
padding: 24px 32px;
text-align: center;
margin-top: 24px;
2024-04-16 09:58:24 +00:00
}
section.dark p {
2024-04-24 04:32:18 +00:00
margin-top: -16px;
2024-04-16 09:58:24 +00:00
}
@media (max-width: 800px) {
2024-04-24 04:32:18 +00:00
.testimonials-container h2 {
font-size: 28px;
padding-top: 10px;
}
2024-04-16 09:58:24 +00:00
2024-04-24 04:32:18 +00:00
.testimonials {
grid-template-columns: 1fr;
}
2024-04-16 09:58:24 +00:00
2024-04-24 04:32:18 +00:00
.testimonial video {
height: 100%;
}
2024-04-16 09:58:24 +00:00
2024-04-24 04:32:18 +00:00
.testimonial {
gap: 12px;
}
2024-04-16 09:58:24 +00:00
2024-04-24 04:32:18 +00:00
.testimonials-container .logos-container {
grid-template-columns: repeat(2, 1fr);
gap: 60px;
}
2024-04-16 09:58:24 +00:00
}
2024-04-24 04:32:18 +00:00
</style>
2024-04-16 09:58:24 +00:00
<div class="testimonials-container">
2024-04-24 04:32:18 +00:00
<section>
2024-04-16 09:58:24 +00:00
<h2>Testimonials</h2><br><br>
2024-04-24 04:32:18 +00:00
<div class="testimonials">
@foreach ($testimonials as $item)
<div class="testimonial">
<div class="video">
<video controls width="100%" src="{{ asset('raffels/assets/videos') }}/{{$item->video_url}}"></video>
</div>
<div class="review">{{$item->review}}</div>
<div class="bottom">
<div class="name">{{$item->name}}</div>
<div class="designation">{{$item->designation}}</div>
</div>
</div>
@endforeach
</div>
2024-04-16 09:58:24 +00:00
</section>
</div>
</div>