first
This commit is contained in:
45
resources/views/client/rohini/pages/partials/about.blade.php
Normal file
45
resources/views/client/rohini/pages/partials/about.blade.php
Normal file
@@ -0,0 +1,45 @@
|
||||
@if ($page->children->count() > 0)
|
||||
@php
|
||||
$about = $page->children[0];
|
||||
// dd($about);
|
||||
@endphp
|
||||
<!--About One Start -->
|
||||
<section class="about-one section-pd section-bg">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-xl-6">
|
||||
<div class="about-one__left wow slideInLeft" data-wow-delay="100ms" data-wow-duration="2500ms">
|
||||
<div class="row">
|
||||
<div class="col-xl-6 col-lg-6 col-md-6">
|
||||
<div class="about-one__img-box">
|
||||
@foreach($about->images as $photo)
|
||||
<div class="about-one__img-{{ $loop->iteration }}"> <img src="{{ $photo }}" alt=""> </div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-6 col-lg-6 col-md-6">
|
||||
<div class="about-one__img-box-two">
|
||||
<div class="about-one__img-3"> <img src="{{ $about->image }}" alt=""> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-6">
|
||||
<div class="about-one__right">
|
||||
<div class="section-title text-left">
|
||||
<div class="section-title__tagline-box"> <span class="section-title__tagline">{{ $about->title }}</span>
|
||||
</div>
|
||||
<h2 class="section-title__title">{{ $about->short_description }}</h2>
|
||||
</div>
|
||||
<P class="about-one__text mb-4">{!! $about->description !!}</P>
|
||||
<div class="about-one__btn-and-client-info">
|
||||
<div class="about-one__btn-box pt-4"> <a href="{{ $about->button_url }}" class="about-one__btn thm-btn"><span class="icon-right-arrow"></span>{{ $about->button_text }}</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--About One End -->
|
||||
@endif
|
||||
55
resources/views/client/rohini/pages/partials/blog.blade.php
Normal file
55
resources/views/client/rohini/pages/partials/blog.blade.php
Normal file
@@ -0,0 +1,55 @@
|
||||
@if ($page->children->count() > 7)
|
||||
@php
|
||||
$blogpage = $page->children[7];
|
||||
@endphp
|
||||
<!--Blog One Start-->
|
||||
@php
|
||||
$blogs = getBlogs(limit: 3, order: 'desc', paginate: true);
|
||||
@endphp
|
||||
<section class="blog-one section-bg pt-10 pb-10">
|
||||
<div class="container">
|
||||
<div class="section-title text-center">
|
||||
<div class="section-title__tagline-box"> <span
|
||||
class="section-title__tagline">{{ $blogpage->title }}</span> </div>
|
||||
<h2 class="section-title__title">{!! implode(' ', array_slice(explode(' ', $blogpage->short_description), 0, 3)) .
|
||||
'<br>' .
|
||||
implode(' ', array_slice(explode(' ', $blogpage->short_description), 3)) !!}</h2>
|
||||
</div>
|
||||
<div class="row" >
|
||||
<!--BLog One Single Start-->
|
||||
@foreach ($blogs as $blog)
|
||||
<div class="col-xl-4 col-lg-6 col-md-6 wow fadeInLeft" data-wow-delay="100ms">
|
||||
<div class="blog-one__single">
|
||||
<div class="blog-one__img-box">
|
||||
<div class="blog-one__img"> <img class="blog-style1" src="{{ $blog->image }}"
|
||||
alt=""> </div>
|
||||
</div>
|
||||
<div class="blog-one__content">
|
||||
<ul class="blog-one__meta list-unstyled">
|
||||
<li> <a href="{{ route('blog.single', $blog->slug) }}"><span
|
||||
class="icon-calendar"></span>{{ getFormatted(date: $blog->date, format: 'd M, Y') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h3 class="blog-one__title"><a
|
||||
href="{{ route('blog.single', $blog->slug) }}">{{ $blog->title }}</a></h3>
|
||||
{{-- <p class="blog-one__text">{{ $blog->short_description }}</p> --}}
|
||||
<p class="blog-one__text">{{ str($blog->short_description)->limit(170) }}</p>
|
||||
<a href="{{ route('blog.single', $blog->slug) }}" class="blog-one__btn"><span
|
||||
class="icon-right-arrow"></span>Post Details</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
<!--BLog One Single End-->
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--Blog One End-->
|
||||
@endif
|
||||
|
||||
<styLe>
|
||||
.blog-style1 {
|
||||
height: 300PX;
|
||||
object-fit: cover;
|
||||
}
|
||||
</styLe>
|
||||
@@ -0,0 +1,22 @@
|
||||
@php
|
||||
$currentUrl = url('/');
|
||||
$currentUrl = $currentUrl . '/';
|
||||
$bannerUrl = ($page->banner !== $currentUrl) ? $page->banner : setting('banner');
|
||||
@endphp
|
||||
<!--Page Header Start-->
|
||||
<section class="page-header">
|
||||
<div class="page-header__bg" style="background-image: url('{{ $bannerUrl }}');"></div>
|
||||
<div class="container">
|
||||
<div class="page-header__inner">
|
||||
<div class="thm-breadcrumb__box">
|
||||
<ul class="thm-breadcrumb list-unstyled">
|
||||
<li><a href="{{ route('home') }}">Home</a></li>
|
||||
<li><span>-</span></li>
|
||||
<li>{{ $page->title }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h2>{{ $page->title }}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--Page Header End-->
|
||||
@@ -0,0 +1,33 @@
|
||||
@if ($page->children->count() > 2)
|
||||
@php
|
||||
$why = $page->children[2];
|
||||
@endphp
|
||||
<!--Why Choose One Start -->
|
||||
<section class="why-choose-one section-bg section-pd">
|
||||
<div class="why-choose-one__right large-img">
|
||||
<div class="why-choose-one__img wow slideInRight" data-wow-delay="100ms" data-wow-duration="2500ms"> <img src="{{ $why->image }}" alt=""> </div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xl-6 col-xl-6">
|
||||
<div class="why-choose-one__left">
|
||||
<div class="section-title text-left">
|
||||
<div class="section-title__tagline-box"> <span class="section-title__tagline">{{ $why->title }}</span> </div>
|
||||
<h2 class="section-title__title">{{ $why->short_description }}</h2>
|
||||
</div>
|
||||
{!! $why->description !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-6 col-xl-6">
|
||||
<div class="why-choose-one__right home">
|
||||
<div class="why-choose-one__img wow slideInRight" data-wow-delay="100ms" data-wow-duration="2500ms"> <img src="{{ $why->image }}" alt=""> </div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
<!--Why Choose One End -->
|
||||
@endif
|
||||
38
resources/views/client/rohini/pages/partials/class.blade.php
Normal file
38
resources/views/client/rohini/pages/partials/class.blade.php
Normal file
@@ -0,0 +1,38 @@
|
||||
@if ($page->children->count() > 6)
|
||||
@php
|
||||
$test = $page->children[6];
|
||||
@endphp
|
||||
<section class="feature-one section-pd">
|
||||
<div class="container">
|
||||
|
||||
<div class="section-title text-center">
|
||||
<div class="section-title__tagline-box"> <span class="section-title__tagline">{{ $test->title }}</span> </div>
|
||||
<h2 class="section-title__title">{!! implode(' ', array_slice(explode(' ', $test->short_description), 0, 3)) .'<br>' .implode(' ', array_slice(explode(' ', $test->short_description), 3)) !!}</h2>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="feature-one__inner">
|
||||
<div class="row">
|
||||
<!--Feature One Single Start-->
|
||||
@foreach($classes as $class)
|
||||
<div class="col-xl-4 col-lg-4 wow fadeInLeft animated" data-wow-delay="100ms" style="visibility: visible; animation-delay: 100ms; animation-name: fadeInLeft;">
|
||||
<div class="feature-one__single">
|
||||
<div class="feature-one__shape-1" style="background-image: url('rohini/assets/images/shapes/feature-one-shape-1.png');"></div>
|
||||
<div class="feature-one__shape-2" style="background-image: url('rohini/assets/images/shapes/feature-one-shape-2.png');"></div>
|
||||
<div class="feature-one__icon"> <span class="{{ $class->icon_class }}"></span> </div>
|
||||
<div class="feature-one__content">
|
||||
<h3 class="feature-one__title"><a href="{{ route('test.single', $class->slug) }}">{{ $class->title }}</a></h3>
|
||||
<a href="{{ route('test.single', $class->slug) }}" class="feature-one__read-more"><span class="icon-right-arrow"></span>Read More</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
<!--Feature One Single End-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<!-- Counter One Start -->
|
||||
<section class="counter-one">
|
||||
<div class="container">
|
||||
<div class="counter-one__inner">
|
||||
<div class="counter-one__bg" style="background-image: url('rohini/assets/images/backgrounds/counter-one-bg.png');">
|
||||
</div>
|
||||
<ul class="counter-one__count-list list-unstyled">
|
||||
@foreach($counters as $counter)
|
||||
<li class="wow fadeInUp" data-wow-delay="100ms">
|
||||
<div class="icon"> <span class="{{ $counter->icon }}"></span> </div>
|
||||
<div class="content count-box">
|
||||
<h3 class="count-text">
|
||||
<span data-stop="2000" data-speed="10">{{ $counter->counter }}</span>+
|
||||
</h3>
|
||||
<p>{{ $counter->title }}</p>
|
||||
</div>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Counter One End -->
|
||||
@@ -0,0 +1,91 @@
|
||||
<!--Newsletter One Start -->
|
||||
<section class="newsletter-one">
|
||||
<div class="container">
|
||||
<div class="newsletter-one__inner">
|
||||
<div class="newsletter-one__bg"
|
||||
style="background-image: url('rohini/assets/images/backgrounds/newsletter-one-bg.jpg');"></div>
|
||||
<div class="newsletter-one__title-box">
|
||||
<h3 class="newsletter-one__title">Our Newsletter</h3>
|
||||
</div>
|
||||
<div class="newsletter-one__form-box">
|
||||
<form id="newsletter_form" class="newsletter-one__form contact-form-validated">
|
||||
@csrf
|
||||
<div class="newsletter-one__input-box">
|
||||
<input type="text" placeholder="Full Name" id="newsletter-name" name="newsletter-name">
|
||||
</div>
|
||||
<div class="newsletter-one__input-box">
|
||||
<input type="email" placeholder="Email Here" id="newsletter-email" name="newsletter-email">
|
||||
</div>
|
||||
<div class="newsletter-one__btn-box">
|
||||
<button id="news-submit" type="submit" class="thm-btn"><span
|
||||
class="icon-right-arrow"></span>Subscribe Now</button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="result"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--Newsletter One End -->
|
||||
|
||||
@push('js')
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
toastr.options = {
|
||||
"closeButton": true,
|
||||
"progressBar": true,
|
||||
"positionClass": "toast-top-right",
|
||||
"timeOut": "3000"
|
||||
};
|
||||
|
||||
$('#newsletter_form').submit(function (event) {
|
||||
// alert('submitted');
|
||||
event.preventDefault(); // Prevent default form submission
|
||||
var submitButton = $('#news-submit');
|
||||
|
||||
// Prepare the form data
|
||||
var formData = {
|
||||
email: $('#newsletter-email').val(),
|
||||
name: $('#newsletter-name').val(),
|
||||
_token: $('meta[name="csrf-token"]').attr('content') // CSRF token
|
||||
};
|
||||
|
||||
// Submit form via AJAX
|
||||
$.ajax({
|
||||
url: "{{ route('newsletter.submit') }}",
|
||||
method: 'POST',
|
||||
data: formData,
|
||||
beforeSend: function() {
|
||||
submitButton.prop('disabled', true);
|
||||
submitButton.text("Submitting...");
|
||||
},
|
||||
success: function (response) {
|
||||
// Display success Toastr message
|
||||
toastr.success('Your have been subscribed to our newsletter successfully!');
|
||||
|
||||
// Optionally, clear the form
|
||||
$('#newsletter_form')[0].reset();
|
||||
},
|
||||
error: function (xhr) {
|
||||
if (xhr.status === 422 && xhr.responseJSON && xhr.responseJSON.errors) {
|
||||
$.each(xhr.responseJSON.errors, function (key, messages) {
|
||||
// messages is an array, show the first error
|
||||
toastr.error(messages[0]);
|
||||
});
|
||||
} else if (xhr.responseJSON && xhr.responseJSON.message) {
|
||||
toastr.error(xhr.responseJSON.message);
|
||||
} else {
|
||||
toastr.error('An error occurred while submitting your enquiry.');
|
||||
}
|
||||
},
|
||||
complete: function() {
|
||||
submitButton.prop('disabled', false);
|
||||
submitButton.text("Subscribe Now");
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@endpush
|
||||
@@ -0,0 +1,76 @@
|
||||
@if ($page->children->count() > 1)
|
||||
@php
|
||||
$servicepage = $page->children[1];
|
||||
$totalServices = $services->count(); // total number of service items
|
||||
@endphp
|
||||
<!--Services One Start -->
|
||||
<section class="services-one section-pd">
|
||||
<div class="container">
|
||||
<div class="section-title text-center">
|
||||
<div class="section-title__tagline-box">
|
||||
<span class="section-title__tagline">{{ $servicepage->title }}</span>
|
||||
</div>
|
||||
<h2 class="section-title__title">
|
||||
{!! implode(' ', array_slice(explode(' ', $servicepage->short_description), 0, 4)) . '<br>' .
|
||||
implode(' ', array_slice(explode(' ', $servicepage->short_description), 4)) !!}
|
||||
</h2>
|
||||
</div>
|
||||
<div class="services-one__inner">
|
||||
<div class="owl-carousel thm-owl__carousel--range owl-theme services-one__carousel"
|
||||
data-owl-options='{
|
||||
"loop": false,
|
||||
"nav": true,
|
||||
"autoWidth": false,
|
||||
"navText": ["<span class=\"icon-prev\"></span>","<span class=\"icon-next\"></span>"],
|
||||
"dots": false,
|
||||
"margin": 30,
|
||||
"items": {{ $totalServices >= 3 ? 3 : $totalServices }},
|
||||
"smartSpeed": 700,
|
||||
"responsive": {
|
||||
"0": { "items": 1, "margin": 20 },
|
||||
"768": { "items": {{ $totalServices >= 2 ? 2 : 1 }}, "margin": 20 },
|
||||
"992": { "items": {{ $totalServices >= 2 ? 2 : 1 }}, "margin": 30 },
|
||||
"1200": { "items": {{ $totalServices >= 3 ? 3 : $totalServices }}, "margin": 30 }
|
||||
}
|
||||
}'>
|
||||
@foreach ($services as $service)
|
||||
<div class="item">
|
||||
<div class="services-one__single">
|
||||
<div class="services-one__img-box">
|
||||
<div class="services-one__img">
|
||||
<img class="service1-img" src="{{ $service->image }}" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="services-one__content">
|
||||
<div class="services-one__icon">
|
||||
<span class="{{ $service->icon_class }}"></span>
|
||||
</div>
|
||||
<h3 class="services-one__title">
|
||||
<a href="{{ route('service.single', $service->slug) }}">{{ $service->title }}</a>
|
||||
</h3>
|
||||
<div class="services-one__hover-content">
|
||||
<h3 class="services-one__hover-title">
|
||||
<a href="{{ route('service.single', $service->slug) }}">{{ $service->title }}</a>
|
||||
</h3>
|
||||
<p class="services-one__hover-text">
|
||||
{{ \Illuminate\Support\Str::words($service->short_description, 30, '...') }}
|
||||
</p>
|
||||
<a href="{{ route('service.single', $service->slug) }}" class="services-one__btn">
|
||||
<span class="icon-right-arrow-11"></span>Read More
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@if($totalServices > 3)
|
||||
<div class="thm-owl__carousel--range__input">
|
||||
<input type="text" value="" name="range">
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--Services One End -->
|
||||
@endif
|
||||
@@ -0,0 +1,148 @@
|
||||
<!--Services One Start -->
|
||||
<section class="services-one section-pd">
|
||||
<div class="container">
|
||||
<div class="section-title text-center">
|
||||
<div class="section-title__tagline-box"> <span class="section-title__tagline">Our Services</span>
|
||||
</div>
|
||||
<h2 class="section-title__title">From Application to Arrival<br> We’re With You</h2>
|
||||
</div>
|
||||
<div class="services-one__inner">
|
||||
<div class="owl-carousel thm-owl__carousel--range owl-theme services-one__carousel"
|
||||
data-owl-options='{"loop": false,
|
||||
"nav": true,
|
||||
"autoWidth": true,
|
||||
"navText": ["<span class=\"icon-prev\"></span>","<span class=\"icon-next\"></span>"],
|
||||
"dots": false,
|
||||
"margin": 10,
|
||||
"items": 1,
|
||||
"smartSpeed": 700,
|
||||
"responsive": {
|
||||
"0": {
|
||||
"margin": 30,
|
||||
"items": 1,
|
||||
"autoWidth": false
|
||||
},
|
||||
"768": {
|
||||
"margin": 30,
|
||||
"items": 2,
|
||||
"autoWidth": false
|
||||
},
|
||||
"992": {
|
||||
"margin": 30,
|
||||
"items": 2
|
||||
},
|
||||
"1200": {
|
||||
"margin": 30,
|
||||
"items": 3
|
||||
}
|
||||
}}'>
|
||||
<!--Services One Single Start-->
|
||||
<div class="item">
|
||||
<div class="services-one__single">
|
||||
<div class="services-one__img-box">
|
||||
<div class="services-one__img"> <img src="assets/images/services/services-1-1.jpg" alt=""> </div>
|
||||
</div>
|
||||
<div class="services-one__content">
|
||||
<div class="services-one__icon"> <span class="icon-planning"></span> </div>
|
||||
<h3 class="services-one__title"><a href="service-details.php.php">Career Counseling</a></h3>
|
||||
<div class="services-one__hover-content">
|
||||
<h3 class="services-one__hover-title"><a href="service-details.php">Career Counseling</a></h3>
|
||||
<p class="services-one__hover-text">Personalized guidance to help students choose the right course and university that align with their academic goals and career aspirations.</p>
|
||||
<a href="service-details.php" class="services-one__btn"><span class="icon-right-arrow-11"></span>Read More</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Services One Single End-->
|
||||
<!--Services One Single Start-->
|
||||
<div class="item">
|
||||
<div class="services-one__single">
|
||||
<div class="services-one__img-box">
|
||||
<div class="services-one__img"> <img src="assets/images/services/services-1-2.jpg" alt=""> </div>
|
||||
</div>
|
||||
<div class="services-one__content">
|
||||
<div class="services-one__icon"> <span class="icon-handshake"></span> </div>
|
||||
<h3 class="services-one__title"><a href="service-details.php">University Selection</a> </h3>
|
||||
<div class="services-one__hover-content">
|
||||
<h3 class="services-one__hover-title"><a href="service-details.php">University Selection</a></h3>
|
||||
<p class="services-one__hover-text">Assistance in selecting institutions that offer the best fit for students based on their academic background, interests, and financial situation.</p>
|
||||
<a href="service-details.php" class="services-one__btn"><span class="icon-right-arrow-11"></span>Read More</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Services One Single End-->
|
||||
<!--Services One Single Start-->
|
||||
<div class="item">
|
||||
<div class="services-one__single">
|
||||
<div class="services-one__img-box">
|
||||
<div class="services-one__img"> <img src="assets/images/services/services-1-3.jpg" alt=""> </div>
|
||||
</div>
|
||||
<div class="services-one__content">
|
||||
<div class="services-one__icon"> <span class="icon-save-money"></span> </div>
|
||||
<h3 class="services-one__title"><a href="service-details.php">Application Assistance</a> </h3>
|
||||
<div class="services-one__hover-content">
|
||||
<h3 class="services-one__hover-title"><a href="service-details.php">Application Assistance</a></h3>
|
||||
<p class="services-one__hover-text">Step-by-step guidance in preparing and submitting applications to ensure accuracy and timeliness.</p>
|
||||
<a href="service-details.php" class="services-one__btn"><span class="icon-right-arrow-11"></span>Read More</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Services One Single End-->
|
||||
<!--Services One Single Start-->
|
||||
<div class="item">
|
||||
<div class="services-one__single">
|
||||
<div class="services-one__img-box">
|
||||
<div class="services-one__img"> <img src="assets/images/services/services-1-1.jpg" alt=""> </div>
|
||||
</div>
|
||||
<div class="services-one__content">
|
||||
<div class="services-one__icon"> <span class="icon-planning"></span> </div>
|
||||
<h3 class="services-one__title"><a href="service-details.php">Visa Processing</a></h3>
|
||||
<div class="services-one__hover-content">
|
||||
<h3 class="services-one__hover-title"><a href="service-details.php">Visa Processing</a></h3>
|
||||
<p class="services-one__hover-text">Expert advice and support in managing visa applications, ensuring all documentation is in order, and requirements are met.</p>
|
||||
<a href="service-details.php" class="services-one__btn"><span class="icon-right-arrow-11"></span>Read More</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Services One Single End-->
|
||||
<!--Services One Single Start-->
|
||||
<div class="item">
|
||||
<div class="services-one__single">
|
||||
<div class="services-one__img-box">
|
||||
<div class="services-one__img"> <img src="assets/images/services/services-1-2.jpg" alt=""> </div>
|
||||
</div>
|
||||
<div class="services-one__content">
|
||||
<div class="services-one__icon"> <span class="icon-handshake"></span> </div>
|
||||
<h3 class="services-one__title"><a href="service-details.php">Test Preparation</a> </h3>
|
||||
<div class="services-one__hover-content">
|
||||
<h3 class="services-one__hover-title"><a href="service-details.php">Test Preparation</a></h3>
|
||||
<p class="services-one__hover-text">Comprehensive coaching for IELTS, TOEFL, PTE, and other required tests, helping students achieve their desired scores.</p>
|
||||
<a href="service-details.php" class="services-one__btn"><span class="icon-right-arrow-11"></span>Read More</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Services One Single End-->
|
||||
<!--Services One Single Start-->
|
||||
<div class="item">
|
||||
<div class="services-one__single">
|
||||
<div class="services-one__img-box">
|
||||
<div class="services-one__img"> <img src="assets/images/services/services-1-3.jpg" alt=""> </div>
|
||||
</div>
|
||||
<div class="services-one__content">
|
||||
<div class="services-one__icon"> <span class="icon-save-money"></span> </div>
|
||||
<h3 class="services-one__title"><a href="service-details.php">Pre-Departure Briefing</a> </h3>
|
||||
<div class="services-one__hover-content">
|
||||
<h3 class="services-one__hover-title"><a href="service-details.php">Pre-Departure Briefing</a></h3>
|
||||
<p class="services-one__hover-text">Orientation on living abroad, including accommodation, cultural expectations, and safety tips, ensuring students are well-prepared for their new environment.</p>
|
||||
<a href="service-details.php" class="services-one__btn"><span class="icon-right-arrow-11"></span>Read More</a> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Services One Single End-->
|
||||
</div>
|
||||
<div class="thm-owl__carousel--range__input">
|
||||
<input type="text" value="" name="range">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--Services One End -->
|
||||
@@ -0,0 +1,71 @@
|
||||
<style>
|
||||
/* 1) Completely hide the carousel container until Owl is ready */
|
||||
.main-slider-two__carousel {
|
||||
visibility: hidden;
|
||||
}
|
||||
/* 2) As soon as Owl adds .owl-loaded, show it in one go */
|
||||
.main-slider-two__carousel.owl-loaded {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.main-slider-two__carousel .owl-nav {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
<section class="main-slider-two slider" style="background-image: url('{{ $firstImage->images[0] }}'); background-size: cover; background-position: center; height: auto; ">
|
||||
<div
|
||||
class="main-slider-two__carousel owl-carousel owl-theme thm-owl__carousel"
|
||||
data-owl-options='{
|
||||
"loop": true,
|
||||
"items": 1,
|
||||
"navText": ["<span class=\"icon-prev\"></span>","<span class=\"icon-next\"></span>"],
|
||||
"margin": 0,
|
||||
"dots": true,
|
||||
"nav": false,
|
||||
"animateOut": "slideOutDown",
|
||||
"animateIn": "fadeIn",
|
||||
"smartSpeed": 1000,
|
||||
{{-- "autoplay": true, --}}
|
||||
"autoplayTimeout": 7000,
|
||||
"autoplayHoverPause": false
|
||||
}'>
|
||||
|
||||
@foreach($sliders as $slider)
|
||||
<div class="item main-slider-two__slide-{{ $loop->iteration }}">
|
||||
<div class="main-slider-two__bg">
|
||||
<div class="slide-owl-wrap">
|
||||
{{-- <img src="rohini/assets/images/gallery/Slider-a (1).png" alt="Slide {{ $loop->iteration }}"> --}}
|
||||
<img src="{{ $slider->images[0] }}" alt="Slide {{ $loop->iteration }}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
{{-- <div class="main-slider-two__content">
|
||||
<h2 class="main-slider-two__title">
|
||||
{!! implode(' ', array_slice(explode(' ', $slider->title), 0, 3))
|
||||
. '<br>' .
|
||||
implode(' ', array_slice(explode(' ', $slider->title), 3)) !!}
|
||||
</h2>
|
||||
<div class="main-slider-two__btn-box">
|
||||
<a href="{{ route('page.load', 'contact') }}" class="main-slider-two__btn thm-btn">
|
||||
<span class="icon-right-arrow"></span> Contact Us
|
||||
</a>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
</section>
|
||||
@push('js')
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
var $c = $('.main-slider-two__carousel');
|
||||
|
||||
// Initialize using your data-owl-options
|
||||
$c.owlCarousel($c.data('owl-options'));
|
||||
|
||||
// Owl adds .owl-loaded when it’s done — CSS will flip visibility.
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@@ -0,0 +1,69 @@
|
||||
@if ($page->children->count() > 4)
|
||||
@php
|
||||
$testimonialpage = $page->children[4];
|
||||
@endphp
|
||||
<!-- Testimonial One Start -->
|
||||
<section class="testimonial-one">
|
||||
<div class="container">
|
||||
<div class="testimonial-one__inner">
|
||||
<div class="testimonial-one__main-content">
|
||||
<div class="swiper-container" id="testimonial-one__carousel">
|
||||
<div class="swiper-wrapper">
|
||||
@foreach ($testimonials as $testimonial)
|
||||
<div class="swiper-slide">
|
||||
<div class="testimonial-one__main-content-inner">
|
||||
<div class="row">
|
||||
<div class="col-xl-5 col-lg-5">
|
||||
<div class="testimonial-one__left">
|
||||
<div class="testimonial-one__img"> <img
|
||||
src="{{ $testimonial->image }}" alt=""> </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xl-7 col-lg-7">
|
||||
<div class="testimonial-one__right">
|
||||
<div class="section-title text-left">
|
||||
<div class="section-title__tagline-box"> <span
|
||||
class="section-title__tagline">{{ $testimonialpage->title }}</span>
|
||||
</div>
|
||||
<h2 class="section-title__title">
|
||||
{{ $testimonialpage->short_description }}</h2>
|
||||
</div>
|
||||
<p class="testimonial-one__text">{!! $testimonial->description !!}</p>
|
||||
<div class="testimonial-one__client-info">
|
||||
<h3>{{ $testimonial->title }}</h3>
|
||||
<p>{{ $testimonial->designation }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="testimonial-one__nav">
|
||||
<div class="swiper-button-prev" id="testimonial-one__swiper-button-prev"> <i
|
||||
class="icon-prev navigation"></i> </div>
|
||||
<div class="swiper-button-next" id="testimonial-one__swiper-button-next"> <i
|
||||
class="icon-next navigation"></i> </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="testimonial-one__thumb-box">
|
||||
<div class="swiper-container" id="testimonial-one__thumb">
|
||||
<div class="swiper-wrapper">
|
||||
@foreach ($testimonials as $testimonial)
|
||||
<div class="swiper-slide">
|
||||
<div class="testimonial-one__img-holder-box">
|
||||
<div class="testimonial-one__img-holder"> <img src="{{ $testimonial->image }}"
|
||||
alt=""> </div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Testimonial One End -->
|
||||
@endif
|
||||
@@ -0,0 +1,80 @@
|
||||
@if ($page->children->count() > 3)
|
||||
@php
|
||||
$study = $page->children[3];
|
||||
@endphp
|
||||
<!--Brand One Start-->
|
||||
<section class="brand-one">
|
||||
<div class="container">
|
||||
<div class="brand-one__text-box count-box">
|
||||
<h3 class="text-center ">{!! implode(' ', array_slice(explode(' ', $study->title), 0, 4)) .'<br>' .implode(' ', array_slice(explode(' ', $study->title), 4)) !!}</h3>
|
||||
</div>
|
||||
<div class="brand-one__carousel thm-owl__carousel owl-theme owl-carousel" data-owl-options='{
|
||||
"items": 3,
|
||||
"margin": 10,
|
||||
"smartSpeed": 700,
|
||||
"loop":true,
|
||||
"autoplay":true,
|
||||
"nav":false,
|
||||
"dots":false,
|
||||
"navText": ["<span class=\"fa fa-angle-left\"></span>","<span class=\"fa fa-angle-right\"></span>"],
|
||||
"responsive":{
|
||||
"0":{
|
||||
"items":2
|
||||
},
|
||||
"768":{
|
||||
"items":3
|
||||
},
|
||||
"992":{
|
||||
"items": 5
|
||||
}
|
||||
}
|
||||
}'>
|
||||
<!--Brand One Single Start-->
|
||||
@foreach($study->images as $photo)
|
||||
|
||||
<div class="item">
|
||||
<div class="brand-one__single">
|
||||
<div class="brand-one__img"> <img class="uni-logo" src="{{ $photo }}" alt="" > </div>
|
||||
{{-- <div class="brand-one__hover-img"> <img class="uni-logo" src="{{ $photo }}" alt=""> </div> --}}
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
<!--Brand One Single End-->
|
||||
<!--Brand One Single Start-->
|
||||
{{-- <div class="item">
|
||||
<div class="brand-one__single">
|
||||
<div class="brand-one__img"> <img src="assets/images/brand/brand-1-2.png" alt=""> </div>
|
||||
<div class="brand-one__hover-img"> <img src="assets/images/brand/brand-hover-1-2.png" alt=""> </div>
|
||||
</div>
|
||||
</div> --}}
|
||||
<!--Brand One Single End-->
|
||||
<!--Brand One Single Start-->
|
||||
{{-- <div class="item">
|
||||
<div class="brand-one__single">
|
||||
<div class="brand-one__img"> <img src="assets/images/brand/brand-1-3.png" alt=""> </div>
|
||||
<div class="brand-one__hover-img"> <img src="assets/images/brand/brand-hover-1-3.png" alt=""> </div>
|
||||
</div>
|
||||
</div> --}}
|
||||
<!--Brand One Single End-->
|
||||
<!--Brand One Single Start-->
|
||||
{{-- <div class="item">
|
||||
<div class="brand-one__single">
|
||||
<div class="brand-one__img"> <img src="assets/images/brand/brand-1-4.png" alt=""> </div>
|
||||
<div class="brand-one__hover-img"> <img src="assets/images/brand/brand-hover-1-4.png" alt=""> </div>
|
||||
</div>
|
||||
</div> --}}
|
||||
<!--Brand One Single End-->
|
||||
<!--Brand One Single Start-->
|
||||
{{-- <div class="item">
|
||||
<div class="brand-one__single">
|
||||
<div class="brand-one__img"> <img src="assets/images/brand/brand-1-5.png" alt=""> </div>
|
||||
<div class="brand-one__hover-img"> <img src="assets/images/brand/brand-hover-1-5.png" alt=""> </div>
|
||||
</div>
|
||||
</div> --}}
|
||||
<!--Brand One Single End-->
|
||||
</div>
|
||||
<!-- If we need navigation buttons -->
|
||||
</div>
|
||||
</section>
|
||||
<!--Brand One End-->
|
||||
@endif
|
||||
71
resources/views/client/rohini/pages/partials/visa.blade.php
Normal file
71
resources/views/client/rohini/pages/partials/visa.blade.php
Normal file
@@ -0,0 +1,71 @@
|
||||
@if (!isset($visapage) && $page->children->count() > 5)
|
||||
@php
|
||||
$visapage = $page->children[5];
|
||||
@endphp
|
||||
@endif
|
||||
@isset($visas)
|
||||
@php
|
||||
$visaGalleries = $visas;
|
||||
@endphp
|
||||
@endisset
|
||||
@if (isset($visapage))
|
||||
<!-- Project One Start -->
|
||||
<section class="project-one section-bg section-pd">
|
||||
<div class="container">
|
||||
<div class="section-title text-center">
|
||||
<h2 class="section-title__title">{{ $visapage->short_description }}</h2>
|
||||
</div>
|
||||
<div class="project-one__bottom">
|
||||
<div class="project-one__carousel owl-carousel owl-theme thm-owl__carousel"
|
||||
data-owl-options='{
|
||||
"loop": true,
|
||||
"autoplay": false,
|
||||
"margin": 30,
|
||||
"nav": false,
|
||||
"dots": false,
|
||||
"smartSpeed": 500,
|
||||
"autoplayTimeout": 10000,
|
||||
"navText": ["<span class=\"fas fa-long-arrow-alt-left\"></span>","<span class=\"fas fa-long-arrow-alt-right\"></span>"],
|
||||
"responsive": {
|
||||
"0": { "items": 1 },
|
||||
"768": { "items": 2 },
|
||||
"992": { "items": 2 },
|
||||
"1290": { "items": 3 }
|
||||
}
|
||||
}'>
|
||||
|
||||
@php
|
||||
$galleries = $visaGalleries->galleries ?? [];
|
||||
@endphp
|
||||
|
||||
@foreach ($galleries as $visa)
|
||||
<div class="project-one__single">
|
||||
<div class="project-one__img-box">
|
||||
<div class="project-one__img">
|
||||
|
||||
<img src="{{ $visa->images[0] }}"
|
||||
alt="Gallery Image" style="height:auto;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Project One End -->
|
||||
@endif
|
||||
{{-- <script>
|
||||
$('.thm-owl__carousel').each(function () {
|
||||
var $this = $(this);
|
||||
var options = $this.data('owl-options');
|
||||
$this.owlCarousel(options);
|
||||
});
|
||||
|
||||
</script> --}}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user