96 lines
7.4 KiB
PHP
96 lines
7.4 KiB
PHP
@php
|
|
$testimonials = getTestimonials(limit: null, order: 'desc');
|
|
$visaGalleries = getGalleriesByCategory(limit: 3, order: 'asc', category: 'visa-grant');
|
|
@endphp
|
|
@extends('client.raffles.layouts.app')
|
|
@section('content')
|
|
@include('client.raffles.pages.partials.breadcumb')
|
|
|
|
<section class="half-section position-relative">
|
|
<div id="particles-01" data-particle="true"
|
|
data-particle-options="{"particles": {"number": {"value": 10,"density": {"enable": true,"value_area": 1000}},"color":{"value":["#ff5b74", "#820f89"]},"shape": {"type": "circle","stroke":{"width":0,"color":"#000000"}},"opacity": {"value": 0.7,"random": false,"anim": {"enable": false,"speed": 2,"sync": false}},"size": {"value": 7,"random": true,"anim": {"enable": false,"sync": true}},"move": {"enable": true,"speed":2,"direction": "right","random": false,"straight": false}},"interactivity": {"detect_on": "canvas","events": {"onhover": {"enable": false,"mode": "repulse"},"onclick": {"enable": false,"mode": "push"},"resize": true}},"retina_detect": false}"
|
|
class="position-absolute top-0px left-0px w-100 z-index-minus-1"></div>
|
|
<div class="container-fluid">
|
|
|
|
<div class="row justify-content-center">
|
|
<div class="col-xxl-4 col-xl-5 col-lg-6 col-sm-8 text-center"
|
|
data-anime='{ "el": "childs", "translateY": [30, 0], "opacity": [0,1], "duration": 600, "delay": 0, "staggervalue": 300, "easing": "easeOutQuad" }'>
|
|
<span
|
|
class="bg-white box-shadow-quadruple-large text-uppercase fs-13 ps-25px pe-25px alt-font fw-600 text-base-color lh-40 sm-lh-55 border-radius-100px d-inline-block mb-25px">Student
|
|
speaks</span>
|
|
<h3 class="alt-font text-dark-gray fw-600 ls-minus-1px mb-0">{{ $page->short_description }}</h3>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-12 text-center"
|
|
data-anime="{ "rotateX": [-40, 0], "opacity": [0,1], "duration": 1200, "delay": 100, "staggervalue": 150, "easing": "easeOutQuad" }">
|
|
<div class="swiper swiper-horizontal-3d pt-8 pb-5 lg-pt-10 lg-pb-10 md-pt-12 sm-pt-15 sm-pb-11 swiper-pagination-bottom testimonials-style-04 magic-cursor"
|
|
data-slider-options="{ "loop": true, "slidesPerView": 1,"centeredSlides":true,"effect":"coverflow","coverflowEffect":{"rotate":0,"stretch":100,"depth":150,"modifier":1.5,"slideShadows":true}, "navigation": { "nextEl": ".swiper-button-next-nav.slider-navigation-style-04", "prevEl": ".swiper-button-previous-nav.slider-navigation-style-04" }, "autoplay": { "delay": 5000, "disableOnInteraction": false }, "pagination": { "el": ".swiper-pagination-04", "clickable": true, "dynamicBullets": true }, "breakpoints": { "768": { "slidesPerView": 2 } } }">
|
|
<div class="swiper-wrapper">
|
|
|
|
@if ($testimonials)
|
|
@foreach ($testimonials as $testimonial)
|
|
<div class="swiper-slide bg-white border-radius-4px">
|
|
<div
|
|
class="position-relative ps-13 pe-13 md-ps-10 md-pe-10 sm-ps-7 sm-pe-7 pt-20 pb-10 lg-pt-22 md-pt-30 sm-pt-20">
|
|
<img alt src="{{ $testimonial->image }}"
|
|
class="absolute-middle-center top-0px rounded-circle w-150px xs-w-100px border border-color-white box-shadow-extra-large border-8">
|
|
<div class="testimonials-content">
|
|
|
|
<p class="mb-25px">{!! $testimonial->description !!}
|
|
</p>
|
|
</div>
|
|
<div
|
|
class="testimonials-author fs-18 mb-5px text-gradient-fast-blue-purple fw-600 d-inline-block">
|
|
{{ $testimonial->title }}</div>
|
|
<div class="testimonials-position fs-15 lh-20">{{ $testimonial->designation }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-12 text-center"
|
|
data-anime="{ "translateY": [50, 0], "opacity": [0,1], "duration": 1200, "delay": 0, "staggervalue": 150, "easing": "easeOutQuad" }">
|
|
<div
|
|
class="text-center bg-dark-gray text-white fs-16 lh-36 border-radius-30px d-inline-block ps-20px pe-20px align-middle me-10px mt-10px mb-10px">
|
|
<i class="bi bi-star-fill"></i><i class="bi bi-star-fill"></i><i class="bi bi-star-fill"></i><i
|
|
class="bi bi-star-fill"></i><i class="bi bi-star-fill"></i>
|
|
</div>
|
|
<h6 class="text-dark-gray fw-400 mb-0 d-inline-block align-middle ls-minus-1px">Explore more <span
|
|
class="fw-700">Student Stories</span> on <a href="https://www.youtube.com/@raffleseducare"
|
|
target="_blank"><img class="img-fluid h-35px"
|
|
src="{{ asset('raffles/assets/images/youtube.png') }}" alt="YouTube Logo" /></a></h6>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
@if ($visaGalleries->galleries->isNotEmpty())
|
|
<section class="half-section bg-gradient-very-light-gray ps-6 pe-6 lg-ps-2 lg-pe-2">
|
|
<div class="container-fluid">
|
|
<div class="row gy-3 row-cols-1 row-cols-lg-3 row-cols-sm-2">
|
|
@foreach ($visaGalleries->galleries as $gallery)
|
|
<div class="col fit-videos text-center md-mb-50px sm-mb-30px">
|
|
<div class="fluid-width-video-wrapper" style="padding-top: 56.25%;">
|
|
<iframe src="{{ $gallery->link }}" name="fitvid0"></iframe>
|
|
</div>
|
|
<div class="text-dark-gray fs-18 fw-600 mt-5">{{ $gallery->title }}</div>
|
|
</div>
|
|
@endforeach
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
@endif
|
|
@endsection
|