first
This commit is contained in:
154
resources/views/client/rohini/layouts/app.blade.php
Normal file
154
resources/views/client/rohini/layouts/app.blade.php
Normal file
@@ -0,0 +1,154 @@
|
||||
{{-- <head>
|
||||
<link rel="icon" type="image/png" href="{{ asset(setting('favicon')) }}" />
|
||||
</head> --}}
|
||||
|
||||
<!DOCTYPE php>
|
||||
<php lang="en">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>{{ setting('title') }}</title>
|
||||
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset(setting('favicon')) }}">
|
||||
<link rel="shortcut icon" href="{{ asset(setting('favicon')) }}">
|
||||
|
||||
|
||||
{{-- <link rel="manifest" href="{{ asset('rohini/assets/images/favicons/site.webmanifest') }}" /> --}}
|
||||
<link rel="manifest" href="{{ asset(setting('favicon')) }}" />
|
||||
{{-- @dd(setting('favicon')) --}}
|
||||
<meta name="description" content="Rohini International Education Services " />
|
||||
|
||||
<!-- fonts -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
|
||||
rel="stylesheet">
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/bootstrap/css/bootstrap.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/animate/animate.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/animate/custom-animate.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/fontawesome/css/all.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/jarallax/jarallax.css') }}" />
|
||||
<link rel="stylesheet"
|
||||
href="{{ asset('rohini/assets/vendors/jquery-magnific-popup/jquery.magnific-popup.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/odometer/odometer.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/swiper/swiper.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/bizgrow-icons/style.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/owl-carousel/owl.carousel.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/owl-carousel/owl.theme.default.min.css') }}" />
|
||||
<link rel="stylesheet"
|
||||
href="{{ asset('rohini/assets/vendors/bootstrap-select/css/bootstrap-select.min.css') }}" />
|
||||
<link rel="stylesheet"
|
||||
href="{{ asset('rohini/assets/vendors/ion.rangeSlider/css/ion.rangeSlider.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/jquery-ui/jquery-ui.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/vendors/timepicker/timePicker.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini\assets\css\custom.css') }}?v={{ time() }}" />
|
||||
|
||||
<!-- template styles -->
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/css/bizgrow.css') }}?v={{ time() }}" />
|
||||
<link rel="stylesheet" href="{{ asset('rohini/assets/css/bizgrow-responsive.css') }}?v={{ time() }}" />
|
||||
|
||||
<!-- Font Awesome for social icons -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
|
||||
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">
|
||||
|
||||
<!-- preloading images in slider -->
|
||||
<link rel="preload" as="image" href="{{ asset('rohini/assets/images/rohini/slider1.webp') }}">
|
||||
<link rel="preload" as="image" href="{{ asset('rohini/assets/images/rohini/slider2.webp') }}">
|
||||
<link rel="preload" as="image" href="{{ asset('rohini/assets/images/rohini/slider3.webp') }}">
|
||||
<link href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
/* Message Styling */
|
||||
</style>
|
||||
@stack('css')
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body class="custom-cursor">
|
||||
|
||||
<div class="custom-cursor__cursor"></div>
|
||||
<div class="custom-cursor__cursor-two"></div>
|
||||
|
||||
<!-- Facebook Plugin -->
|
||||
<div id="fb-root"></div>
|
||||
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v21.0">
|
||||
</script>
|
||||
<!--
|
||||
<div class="preloader">
|
||||
<div class="preloader__image"></div>
|
||||
</div>
|
||||
-->
|
||||
<!-- /.preloader -->
|
||||
|
||||
<!-- Facebook Plugin-->
|
||||
<div id="fb-root"></div>
|
||||
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v21.0">
|
||||
</script>
|
||||
<!-- Facebook Plugin-->
|
||||
|
||||
|
||||
|
||||
|
||||
@include('client.rohini.layouts.partials.sidebar')
|
||||
|
||||
@include('client.rohini.layouts.partials.header')
|
||||
|
||||
@yield('content')
|
||||
|
||||
|
||||
|
||||
<a class="whatsapp-icon" href="{{ setting('whatsapp') }}" target="_blank"><img src="https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg" alt="WhatsApp" />
|
||||
</a>
|
||||
|
||||
@if (setting('chatbot_check'))
|
||||
@include('chatbot::chatbot')
|
||||
@endif
|
||||
|
||||
<a href="{{ route('home') }}#" data-target="html" class="scroll-to-target scroll-to-top"><i
|
||||
class="icon-right-arrow"></i></a>
|
||||
|
||||
@include('client.rohini.layouts.partials.footer')
|
||||
|
||||
|
||||
|
||||
<script src="{{ asset('rohini/assets/vendors/jquery/jquery-3.6.0.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/jarallax/jarallax.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/jquery-ajaxchimp/jquery.ajaxchimp.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/jquery-appear/jquery.appear.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/jquery-circle-progress/jquery.circle-progress.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/jquery-magnific-popup/jquery.magnific-popup.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/jquery-validate/jquery.validate.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/odometer/odometer.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/swiper/swiper.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/wnumb/wNumb.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/wow/wow.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/isotope/isotope.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('rohini/assets/vendors/bootstrap-select/js/bootstrap-select.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/jquery-ui/jquery-ui.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/timepicker/timePicker.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/circleType/jquery.circleType.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/circleType/jquery.lettering.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/ion.rangeSlider/js/ion.rangeSlider.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/sidebar-content/jquery-sidebar-content.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/marquee/marquee.min.js') }}"></script>
|
||||
<script src="{{ asset('rohini/assets/vendors/owl-carousel/owl.carousel.min.js') }}"></script>
|
||||
|
||||
<!-- template js -->
|
||||
<script src="{{ asset('rohini/assets/js/bizgrow.js') }}?v={{ time() }}"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
|
||||
|
||||
@stack('js')
|
||||
</body>
|
||||
|
||||
</html>
|
||||
160
resources/views/client/rohini/layouts/partials/footer.blade.php
Normal file
160
resources/views/client/rohini/layouts/partials/footer.blade.php
Normal file
@@ -0,0 +1,160 @@
|
||||
<div class="pt-4"></div>
|
||||
|
||||
<!--Site Footer Start-->
|
||||
<footer class="site-footer">
|
||||
<div class="site-footer__shape-1 float-bob-x"> <img src="rohini/assets/images/shapes/site-footer-shape-1.png"
|
||||
alt="">
|
||||
</div>
|
||||
<div class="site-footer__shape-2 float-bob-y"> <img src="rohini/assets/images/shapes/site-footer-shape-2.png"
|
||||
alt="">
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="site-footer__top ">
|
||||
<div class="row">
|
||||
<div class="col-xl-3 col-lg-6 col-md-6 wow fadeInUp" data-wow-delay="100ms">
|
||||
<div class="footer-widget__column footer-widget__about">
|
||||
<div class="footer-widget__logo"> <a href="{{ route('home') }}"><img
|
||||
src="{{ asset(setting('logo_white')) }}" alt=""></a> </div>
|
||||
<p class="footer-widget__about-text text-white">{{setting('description')}}</p>
|
||||
<div class="site-footer__social">
|
||||
@if(setting('facebook'))<a href="{{ setting('facebook') }}" target="_blank"><i class="icon-facebook-app-symbol"></i></a>@endif
|
||||
@if(setting('whatsapp'))<a href="{{ setting('whatsapp') }}" target="_blank"><i class="fab fa-whatsapp"></i></a>@endif
|
||||
@if(setting('viber'))<a href="{{ setting('viber') }}" target="_blank"><i class="fab fa-viber"></i></a>@endif
|
||||
@if(setting('instagram'))<a href="{{ setting('instagram') }}" target="_blank"><i class="fab fa-instagram"></i></a>@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@foreach ($footerMenus as $menu)
|
||||
<div @class([
|
||||
'col-xl-3 col-lg-6 col-md-6 wow fadeInUp' => $loop->first,
|
||||
'col-xl-2 col-lg-6 col-md-6 wow fadeInUp' => !$loop->first,
|
||||
])>
|
||||
<div @class([
|
||||
'footer-widget__column footer-widget__usefull-link' => $loop->first,
|
||||
'footer-widget__column footer-widget__services' => !$loop->first,
|
||||
]) class="">
|
||||
<div class="footer-widget__title-box">
|
||||
<h3 class="footer-widget__title">{{ $menu->title }}</h3>
|
||||
</div>
|
||||
<div class="footer-widget__link-box">
|
||||
<ul class="footer-widget__link list-unstyled footer-link">
|
||||
@if ($menu->hasSubMenu())
|
||||
@foreach ($menu->children as $subMenu)
|
||||
<li><a href="{{ $subMenu->route_name }}">{{ $subMenu->title }}</a></li>
|
||||
@endforeach
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
<div class="col-xl-3 col-lg-6 col-md-6 wow fadeInUp" data-wow-delay="400ms">
|
||||
<div class="footer-widget__column footer-widget__instagram">
|
||||
<div class="footer-widget__title-box">
|
||||
<h3 class="footer-widget__title">Social Media</h3>
|
||||
</div>
|
||||
{{-- <div class="fb-page" data-href="{{ setting('facebook') }}" data-tabs="timeline" data-width=""
|
||||
data-height="250" data-small-header="true" data-adapt-container-width="true"
|
||||
data-hide-cover="true" data-show-facepile="false">
|
||||
<blockquote cite="{{ setting('facebook') }}" class="fb-xfbml-parse-ignore"><a
|
||||
href="{{ setting('facebook') }}">Rohini International Education
|
||||
Services</a></blockquote>
|
||||
</div> --}}
|
||||
<div class="fb-page"
|
||||
data-href="{{ setting('facebook') }}"
|
||||
data-tabs="timeline"
|
||||
data-width="323"
|
||||
data-height="270"
|
||||
data-small-header="false"
|
||||
data-adapt-container-width="true"
|
||||
data-hide-cover="false"
|
||||
data-show-facepile="false">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="site-footer__bottom">
|
||||
<div class="container">
|
||||
<div class="row text-center">
|
||||
<div class="col-lg-10 mx-auto">
|
||||
<p class="site-footer__bottom-text text-white pt-4 pb-4">{{ setting('copyright') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row text-center">
|
||||
<div class="col-lg-10 mx-auto">
|
||||
<p class="site-footer__bottom-text text-white pt-4 pb-4"> Designed By: Bibhuti Solutions</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
|
||||
<div class="site-footer__bottom">
|
||||
<div class="container">
|
||||
<div class="row justify-content-between align-items-center text-center text-lg-start">
|
||||
<div class="col-lg-6 col-12 mb-2 mb-lg-0">
|
||||
<p class="site-footer__bottom-text text-white pt-4 pb-4 mb-0">
|
||||
{{ setting('copyright') }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-lg-6 col-12 text-lg-end">
|
||||
<p class="site-footer__bottom-text text-white pt-4 pb-4 mb-0">
|
||||
{{-- <a href="https://bibhutisolutions.com/" target="_blank" style="color: #fff; text-decoration: underline;">Designed By: Bibhuti Solutions</a> --}}
|
||||
<a href="https://bibhutisolutions.com/" target="_blank"
|
||||
style="color: #fff; text-decoration: none;"
|
||||
onmouseover="this.style.textDecoration='underline'"
|
||||
onmouseout="this.style.textDecoration='none'">
|
||||
Designed By: Bibhuti Solutions
|
||||
</a>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</footer>
|
||||
<!--Site Footer End-->
|
||||
|
||||
<!-- /.page-wrapper -->
|
||||
|
||||
<div class="mobile-nav__wrapper">
|
||||
<div class="mobile-nav__content"> <span class="mobile-nav__close mobile-nav__toggler"><i
|
||||
class="fa fa-times"></i></span>
|
||||
<div class="logo-box"> <a href="{{ route('home') }}" aria-label="logo image"><img
|
||||
src="{{ asset(setting('logo_white')) }}" width="145" alt="" /></a> </div>
|
||||
<div class="mobile-nav__container"></div>
|
||||
|
||||
<ul class="mobile-nav__contact list-unstyled">
|
||||
<li> <i class="fa fa-envelope"></i> <a href="mailto:{{ setting('email') }}">{{ setting('email') }}</a>
|
||||
</li>
|
||||
<li> <i class="fa fa-phone-alt"></i> <a href="tel:{{ setting('phone') }}">{{ setting('phone') }}</a> </li>
|
||||
</ul>
|
||||
<!-- /.mobile-nav__contact -->
|
||||
<div class="mobile-nav__top">
|
||||
<div class="mobile-nav__social">
|
||||
@if(setting('facebook'))<a href="{{ setting('facebook') }}" target="_blank"><i class="icon-facebook-app-symbol"></i></a>@endif
|
||||
@if(setting('whatsapp'))<a href="{{ setting('whatsapp') }}" target="_blank"><i class="fab fa-whatsapp"></i></a>@endif
|
||||
@if(setting('viber'))<a href="{{ setting('viber') }}" target="_blank"><i class="fab fa-viber"></i></a>@endif
|
||||
@if(setting('instagram'))<a href="{{ setting('instagram') }}" target="_blank"><i class="fab fa-instagram"></i></a>@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="search-popup">
|
||||
<div class="search-popup__overlay search-toggler"></div>
|
||||
<div class="search-popup__content">
|
||||
<form action="#">
|
||||
<label for="search" class="sr-only">search here</label>
|
||||
<!-- /.sr-only -->
|
||||
<input type="text" id="search" placeholder="Search Here..." />
|
||||
<button type="submit" aria-label="search submit" class="thm-btn"> <i
|
||||
class="icon-search-interface-symbol"></i> </button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
107
resources/views/client/rohini/layouts/partials/header.blade.php
Normal file
107
resources/views/client/rohini/layouts/partials/header.blade.php
Normal file
@@ -0,0 +1,107 @@
|
||||
<div class="page-wrapper">
|
||||
<header class="main-header">
|
||||
<div class="main-menu__top">
|
||||
<div class="container">
|
||||
<div class="main-menu__top-inner">
|
||||
<ul class="list-unstyled main-menu__contact-list">
|
||||
<li>
|
||||
<div class="icon"> <i class="icon-telephone-call"></i> </div>
|
||||
<div class="text">
|
||||
<p><a href="tel:{{ setting('phone') }}">{{ setting('phone') }}</a></p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="icon"> <i class="icon-mail"></i> </div>
|
||||
<div class="text">
|
||||
<p><a href="mailto:{{ setting('email') }}">{{ setting('email') }}</a> </p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.google.com/maps/place/Rohini+Int'l+Education+Services/@27.6945317,85.3446311,15z/data=!4m6!3m5!1s0x39eb19a9afd9dd73:0x21f21466029a5dfa!8m2!3d27.7032279!4d85.3208009!16s%2Fg%2F11b6j7zhd6?entry=ttu&g_ep=EgoyMDI1MDkxNC4wIKXMDSoASAFQAw%3D%3D"
|
||||
target="_blank" rel="noopener noreferrer"
|
||||
style="display:flex; align-items:center; text-decoration:none; color:inherit;">
|
||||
<div class="icon">
|
||||
<i class="icon-location"></i>
|
||||
</div>
|
||||
<div class="text">
|
||||
<p>{{ setting('location') }}</p>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
<div class="main-menu__top-right">
|
||||
<div class="main-menu__top-time">
|
||||
<div class="main-menu__top-time-icon"> <span class="icon-history"></span> </div>
|
||||
<p class="main-menu__top-text">{{ setting('working_days') }}: {{ setting('working_hours') }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="main-menu__social">
|
||||
@if(setting('facebook'))<a href="{{ setting('facebook')}}" target="_blank"><i class="fab fa-facebook"></i></a>@endif
|
||||
@if(setting('whatsapp'))<a href="{{ setting('whatsapp') }}" target="_blank"><i class="fab fa-whatsapp"></i></a>@endif
|
||||
@if(setting('viber'))<a href="{{ setting('viber') }}" target="_blank"><i class="fab fa-viber"></i></a>@endif
|
||||
@if(setting('instagram'))<a href="{{ setting('instagram') }}" target="_blank"><i class="fab fa-instagram"></i></a>@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="main-menu">
|
||||
<div class="main-menu__wrapper">
|
||||
<div class="container">
|
||||
<div class="main-menu__wrapper-inner">
|
||||
<div class="main-menu__left">
|
||||
<div class="main-menu__logo"> <a href="{{ route('home') }}"><img
|
||||
src="{{ asset(setting('logo')) }}" alt=""></a> </div>
|
||||
<div class="main-menu__main-menu-box"> <a href="{{ route('home') }}"
|
||||
class="mobile-nav__toggler"><i class="fa fa-bars"></i></a>
|
||||
@unless (!$headerMenus)
|
||||
<ul class="main-menu__list">
|
||||
@foreach ($headerMenus as $menu)
|
||||
<!-- <li> <a href="{{ route('home') }}">Home</a> </li> -->
|
||||
<li @class(['dropdown' => $menu->hasSubMenu()])> <a target="{{ $menu->target }}"
|
||||
href="{{ $menu->route_name }}">{{ $menu->title }}</a>
|
||||
@if ($menu->hasSubMenu())
|
||||
<ul>
|
||||
@foreach ($menu->children as $subMenu)
|
||||
<li>
|
||||
<a href="{{ $subMenu->route_name }}">{{ $subMenu->title }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endunless
|
||||
</div>
|
||||
</div>
|
||||
<div class="main-menu__right">
|
||||
<!-- <div class="main-menu__btn-box"> <a href="contact.php" class="main-menu__btn thm-btn"><span class="icon-right-arrow"></span> Free Quote</a> </div>-->
|
||||
<div class="main-menu__nav-sidebar-icon"> <a class="navSidebar-button"
|
||||
href="{{ route('home') }}">
|
||||
<span class="icon-dots-menu-one"></span> <span class="icon-dots-menu-two"></span>
|
||||
<span class="icon-dots-menu-three"></span> </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="stricky-header stricked-menu main-menu">
|
||||
<div class="sticky-header__content"></div>
|
||||
<!-- /.sticky-header__content -->
|
||||
</div>
|
||||
<!-- /.stricky-header -->
|
||||
<style>
|
||||
.testimonial-one__text {
|
||||
font-size: 20px;
|
||||
font-family: 'Arial', sans-serif;
|
||||
line-height: 1.6;
|
||||
letter-spacing: 0.5px;
|
||||
word-spacing: 2px;
|
||||
color: #333;
|
||||
}
|
||||
</style>
|
||||
106
resources/views/client/rohini/layouts/partials/sidebar.blade.php
Normal file
106
resources/views/client/rohini/layouts/partials/sidebar.blade.php
Normal file
@@ -0,0 +1,106 @@
|
||||
<!-- Start sidebar widget content -->
|
||||
<div class="xs-sidebar-group info-group info-sidebar">
|
||||
<div class="xs-overlay xs-bg-black"></div>
|
||||
<div class="xs-sidebar-widget">
|
||||
<div class="sidebar-widget-container">
|
||||
<div class="widget-heading"> <a href="{{ route('home') }}" class="close-side-widget">X</a> </div>
|
||||
<div class="sidebar-textwidget">
|
||||
<div class="sidebar-info-contents">
|
||||
<div class="content-inner">
|
||||
<div class="logo"> <a href="{{ route('home') }}"><img src="{{ setting('logo') }}"
|
||||
alt="" /></a> </div>
|
||||
<div class="content-box">
|
||||
<h4>About Us</h4>
|
||||
<p>Rohini International Education is committed to transforming the academic dreams of
|
||||
students into reality. Since our inception, we have been dedicated to offering
|
||||
personalized, high-quality guidance for students aspiring to study abroad. </p>
|
||||
</div>
|
||||
<div class="form-inner">
|
||||
<h4>Inquiry Now</h4>
|
||||
<form id="inquiry_form" method="post">
|
||||
@csrf
|
||||
<input type="hidden" name="type" value="enquiries">
|
||||
<div class="form-group">
|
||||
<input type="text" id="name" name="name" placeholder="Name"
|
||||
required="">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="email" id="email" name="email" placeholder="Email"
|
||||
required="">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<textarea id="message" name="message" placeholder="Message"></textarea>
|
||||
</div>
|
||||
<div class="form-group message-btn">
|
||||
<button id="inquiry-submit" type="submit" class="thm-btn">Submit Now</button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="result"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End sidebar widget content -->
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
toastr.options = {
|
||||
"closeButton": true,
|
||||
"progressBar": true,
|
||||
"positionClass": "toast-top-right",
|
||||
"timeOut": "3000"
|
||||
};
|
||||
|
||||
$('#inquiry_form').submit(function(event) {
|
||||
|
||||
// alert('submitted');
|
||||
event.preventDefault(); // Prevent default form submission
|
||||
var submitButton = $('#inquiry-submit');
|
||||
|
||||
|
||||
// Prepare the form data
|
||||
var formData = {
|
||||
name: $('#name').val(),
|
||||
email: $('#email').val(),
|
||||
message: $('#message').val(),
|
||||
_token: $('meta[name="csrf-token"]').attr('content') // CSRF token
|
||||
};
|
||||
|
||||
// Submit form via AJAX
|
||||
$.ajax({
|
||||
url: "{{ route('enquiry.submit') }}",
|
||||
method: 'POST',
|
||||
data: formData,
|
||||
beforeSend: function() {
|
||||
submitButton.prop('disabled', true);
|
||||
submitButton.text("Sending...");
|
||||
},
|
||||
success: function (response) {
|
||||
// Display success Toastr message
|
||||
toastr.success('Your enquiry has been submitted successfully!');
|
||||
|
||||
// Optionally, clear the form
|
||||
$('#inquiry_form')[0].reset();
|
||||
},
|
||||
error: function (xhr) {
|
||||
// Display error Toastr message
|
||||
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("Send Message");
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@endpush
|
||||
Reference in New Issue
Block a user