Compare commits

...

13 Commits

24 changed files with 703 additions and 338 deletions

View File

@@ -0,0 +1,117 @@
<?php
namespace Modules\CCMS\Http\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Modules\CCMS\Models\Counselor;
use Yajra\DataTables\Facades\DataTables;
use App\Rules\Recaptcha;
use Illuminate\Support\Facades\Validator;
class CounselorController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
if (request()->ajax()) {
$model = Counselor::query()->latest();
return DataTables::eloquent($model)
->addIndexColumn()
->addColumn('action', 'ccms::counselor.datatable.action')
->rawColumns(['action'])
->toJson();
}
return view('ccms::counselor.index', [
'title' => 'Counselor List',
]);
}
/**
* Show the form for creating a new resource.
*/
public function create()
{
return view('ccms::create');
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request)
{
try {
$rules = [
'name' => 'required|string',
'email' => 'required|email',
'address' => 'required|string',
'contact' => 'required|string',
'test_score' => 'required|string',
'qualification' => 'required|string',
];
if (setting('enable_reCaptcha') == 1) {
$rules['g-recaptcha-response'] = ['required', new Recaptcha];
}
$messages = [
'email.email' => 'Must be a valid email address.',
'g-recaptcha-response.required' => 'Please complete reCAPTCHA validation.',
'g-recaptcha-response' => 'Invalid reCAPTCHA.',
];
$validator = Validator::make($request->all(), $rules, $messages);
if ($validator->fails()) {
return response()->json(['errors' => $validator->errors()], 422);
}
Counselor::create($validator->validated());
return response()->json(['status' => 200, 'message' => "Thank you for reaching out! Your message has been received and we'll get back to you shortly."], 200);
} catch (\Exception $e) {
return response()->json(['status' => 500, 'message' => 'Internal server error', 'error' => $e->getMessage()], 500);
}
}
/**
* Show the specified resource.
*/
public function show($id)
{
return view('ccms::show');
}
/**
* Show the form for editing the specified resource.
*/
public function edit($id)
{
return view('ccms::edit');
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request, $id)
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy($id)
{
try {
$enquiry = Counselor::whereId($id)->first();
if ($enquiry) {
$enquiry->delete();
}
return response()->json(['status' => 200, 'message' => 'Counselor has been deleted!'], 200);
} catch (\Throwable $th) {
return redirect()->back()->with('error', $th->getMessage());
}
}
}

View File

@@ -0,0 +1,22 @@
<?php
namespace Modules\CCMS\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
// use Modules\CCMS\Database\Factories\CounselorFactory;
class Counselor extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*/
protected $guarded = [];
// protected static function newFactory(): CounselorFactory
// {
// // return CounselorFactory::new();
// }
}

View File

@@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('counselors', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable();
$table->text('address')->nullable();
$table->string('email')->nullable();
$table->string('contact')->nullable();
$table->string('test_score')->nullable();
$table->string('qualification')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('counselors');
}
};

View File

@@ -0,0 +1,14 @@
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<x-dashboard.breadcumb :title="$title" />
{{ html()->form('POST')->route('testimonial.store')->class(['needs-validation'])->attributes(['enctype' => 'multipart/form-data', 'novalidate'])->open() }}
@include('ccms::testimonial.partials._form')
{{ html()->form()->close() }}
</div>
@endsection

View File

@@ -0,0 +1,10 @@
<div class="hstack flex-wrap gap-3">
<a data-link="{{ route('enquiry.markAsRead', $id) }}" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="Mark as {{ $is_read == 1 ? 'unread' : 'read' }}" data-status="{{ $is_read == 1 ? 'read' : 'unread' }}"
class="fs-15 mark-item"><i class="{{ $is_read == 1 ? ' ri-mail-close-line link-secondary' : ' ri-mail-check-line link-success' }}"></i></a>
<a href="javascript:void(0);" data-link="{{ route('enquiry.destroy', $id) }}" class="link-danger fs-15 remove-item" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="Delete">
<i class="ri-delete-bin-6-line"></i>
</a>
</div>

View File

@@ -0,0 +1,14 @@
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<x-dashboard.breadcumb :title="$title" />
{{ html()->modelForm($testimonial, 'PUT')->route('testimonial.update', $testimonial->id)->class(['needs-validation'])->attributes(['novalidate'])->open() }}
@include('ccms::testimonial.partials._form')
{{ html()->form()->close() }}
</div>
@endsection

View File

@@ -0,0 +1,37 @@
@extends('layouts.app')
@section('content')
<div class="container-fluid">
<x-dashboard.breadcumb :title="$title" />
<div class="card">
<div class="card-header align-items-center d-flex">
<h5 class="card-title flex-grow-1 mb-0">{{ $title }}</h5>
</div>
<div class="card-body">
@php
$columns = [
[
'title' => 'S.N',
'data' => 'DT_RowIndex',
'name' => 'DT_RowIndex',
'orderable' => false,
'searchable' => false,
'sortable' => false,
],
['title' => 'Name', 'data' => 'name', 'name' => 'name'],
['title' => 'Email', 'data' => 'email', 'name' => 'email'],
['title' => 'Contact', 'data' => 'contact', 'name' => 'contact'],
['title' => 'Test Score', 'data' => 'test_score', 'name' => 'test_score'],
['title' => 'Qualification', 'data' => 'qualification', 'name' => 'qualification'],
[
'title' => 'Action',
'data' => 'action',
'orderable' => false,
'searchable' => false,
],
];
@endphp
<x-data-table-script :route="route('counselor.index')" :reorder="null" :columns="$columns" />
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,71 @@
<div class="row">
<div class="col-lg-8 col-xl-9">
<div class="card">
<div class="card-body">
<div class="row gy-3">
<div class="col-md-6">
{{ html()->label('Name')->class('form-label') }}
{{ html()->span('*')->class('text-danger') }}
{{ html()->text('title')->class('form-control')->placeholder('Enter Name')->required() }}
{{ html()->div('Name is required')->class('invalid-feedback') }}
</div>
<div class="col-md-6">
{{ html()->label('Designation')->class('form-label') }}
{{ html()->text('designation')->class('form-control')->placeholder('Enter Designation') }}
</div>
<div class="col-md-6">
{{ html()->label('Company')->class('form-label') }}
{{ html()->text('company')->class('form-control')->placeholder('Enter Company') }}
</div>
<div class="col-lg-6">
{{ html()->label('Branch')->class('form-label')->for('branch_id') }}
{{ html()->select('branch_id', $branchOptions)->class('form-select choices-select')->placeholder('Select') }}
</div>
<div class="col-12">
{{ html()->label('Comment')->class('form-label')->for('description') }}
{{ html()->span('*')->class('text-danger') }}
{{ html()->textarea('description')->class('form-control')->rows(10) }}
</div>
</div>
</div>
</div>
</div>
<!-- end col -->
<div class="col-lg-4 col-xl-3">
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Publish</h5>
</div>
<div class="card-body">
<div class="row">
<div class="col-md-12">
{{ html()->select('status', config('constants.page_status_options'))->class('form-select choices-select ') }}
</div>
</div>
</div>
<!-- end card body -->
<x-form-buttons :editable="$editable" label="Save" href="{{ route('team.index') }}" />
</div>
<div class="card featured-image-section">
<div class="card-header">
<h6 class="card-title mb-0 fs-14">
Featured
</h6>
</div>
<div class="card-body">
<div class="mb-3">
{{ html()->label('Image')->class('form-label')->for('image') }}
<x-image-input :editable="$editable" id="image" name="image" :data="$editable ? $testimonial->getRawOriginal('image') : null"
:multiple="false" />
</div>
</div>
</div>
</div>
<!-- end col -->
</div>

View File

@@ -4,6 +4,7 @@ use Illuminate\Support\Facades\Route;
use Modules\CCMS\Http\Controllers\BlogController;
use Modules\CCMS\Http\Controllers\BranchController;
use Modules\CCMS\Http\Controllers\CategoryController;
use Modules\CCMS\Http\Controllers\CounselorController;
use Modules\CCMS\Http\Controllers\CounterController;
use Modules\CCMS\Http\Controllers\CountryController;
use Modules\CCMS\Http\Controllers\EnquiryController;
@@ -122,6 +123,6 @@ Route::group(['middleware' => ['web', 'auth', 'permission'],'prefix' => 'admin/'
Route::get('enquiry/mark-as-read/{id}', [EnquiryController::class, 'markAsRead'])->name('enquiry.markAsRead');
Route::resource('enquiry', EnquiryController::class)->names('enquiry')->only(['index', 'store', 'destroy']);
Route::resource('counselor', CounselorController::class)->names('counselor')->only(['index', 'store', 'destroy']);
});

View File

@@ -148,23 +148,20 @@ class WebsiteController extends Controller
{
$country = $data["page"] = Country::where('status', 1)
->where('slug', $alias)
->with('institutions', function ($query) {
$query->where('status', 1);
})
->first();
if (!$country) {
return view("client.$this->path.errors.404");
}
$data['countryFAQs'] = getFAQsByCategory(limit: null, order: 'desc', category: $country->slug);
$data['countryInstitutions'] = $country->institutions;
// $data['countryFAQs'] = getFAQsByCategory(limit: null, order: 'desc', category: $country->slug);
// $data['countryInstitutions'] = $country->institutions;
$data['recentCountries'] = Country::where('status', 1)
->where('id', '!=', $country->id)
->inRandomOrder()
->orderBy('created_at', 'desc')
->take(5)->get();
// $data['recentCountries'] = Country::where('status', 1)
// ->where('id', '!=', $country->id)
// ->inRandomOrder()
// ->orderBy('created_at', 'desc')
// ->take(5)->get();
return view("client.$this->path.pages.study-destination-template", $data);
}

View File

@@ -189,6 +189,14 @@ return [
'can' => ['enquiry.index'],
],
[
'text' => 'Counsellor',
'url' => 'admin/counselor',
'icon' => ' ri-cellphone-line',
'module' => 'CCMS',
'can' => ['counselor.index'],
],
[
'text' => 'Course Finder',
'icon' => 'ri-book-2-line',
@@ -245,7 +253,7 @@ return [
],
[
'text' => 'Documents',
'text' => 'Free Resources',
'url' => 'admin/documents',
'icon' => 'ri-file-text-line',
'module' => 'Document',

View File

@@ -1294,6 +1294,38 @@ margin: 10px 0;
display: none;
}
.tab-container .title-small{
font-size: 20px;
font-weight: 600;
padding-bottom: 10px;
color: black;
}
.tab-container .para{
font-size: 16px;
font-weight: 400;
padding-bottom: 10px;
color: black;
}
.tab-container .paraa{
color: black;
}
.tab-container .para-slant{
font-size: 16px;
font-weight: 400;
padding-bottom: 10px;
color: black;
font-style: italic;
}
.tab-container ul.list-disc li{
list-style: disc;
}
.tab-container ol.list-alpha li{
list-style: lower-alpha;
}
.tab-content.active {
display: block;
}
@@ -2941,6 +2973,9 @@ justify-content: space-between;
gap: 0.5rem;
}
.service-items .service-item.country:nth-child(1){
background-color: rgba(110, 127, 153, 0.15);
}
.service-item {
cursor: pointer;
border-radius: 0.75rem;
@@ -3437,6 +3472,22 @@ justify-content: space-between;
}
}
.tabs-table{
border: 1px solid gray;
padding: 20px;
}
.tabs-table td{
border-right: 1px solid gray;
padding: 10px;
}
.tabs-table thead td{
font-weight: bold;
font-size: 16px;
}
.tabs-table tbody td{
font-weight: 400;
font-size: 14px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

After

Width:  |  Height:  |  Size: 103 KiB

View File

@@ -202,11 +202,12 @@
const data = await res.json();
if (res.ok) {
form.reset();
toastr.success(data.message || 'Contact Submitted successful!');
window.location.href =
"{{ route('thankyou') }}"; // ✅ redirect instead of toastr
} else if (data.errors && data.errors.email) {
data.errors.email.forEach(msg => toastr.error(msg));
} else {
toastr.error('Submittion failed. Please try again.');
toastr.error('Submission failed. Please try again.');
}
} catch (err) {
console.error(err);
@@ -219,6 +220,45 @@
});
</script>
<script>
document.addEventListener('DOMContentLoaded', () => {
const form = document.getElementById('counselor-form');
const submitBtn = document.getElementById('counselor-submit-btn');
const url = form.action;
form.addEventListener('submit', async (e) => {
e.preventDefault();
submitBtn.disabled = true;
submitBtn.textContent = 'Submitting…';
const formData = new FormData(form);
try {
const res = await fetch(url, {
method: 'POST',
headers: {
'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]')
.content
},
body: formData
});
const data = await res.json();
if (res.ok) {
form.reset();
window.location.href =
"{{ route('thankyou') }}"; // ✅ redirect instead of toastr
} else if (data.errors && data.errors.email) {
data.errors.email.forEach(msg => toastr.error(msg));
} else {
toastr.error('Submission failed. Please try again.');
}
} catch (err) {
console.error(err);
toastr.error('Something went wrong. Please try again.');
} finally {
submitBtn.disabled = false;
submitBtn.textContent = 'Submit';
}
});
});
</script>
<script>
$(document).ready(function() {

View File

@@ -51,20 +51,13 @@
<div class="col col-12 col-md-4 flex flex-col p-10">
<div class="mb-20 ld-fancy-heading relative module-title">
{{-- <div class="mb-20 ld-fancy-heading relative module-title">
<h3
class="ld-fh-element inline-block relative font-title text-15 font-bold leading-20 mb-1em text-black">
Subscribe for Newsletter
</h3>
</div>
</div> --}}
<div class="lqd-fancy-menu lqd-custom-menu flex flex-col gap-5 relative left lqd-menu-td-none">
<form class="flex" action="">
<input class=" border-0 w-80percent px-20 text-14 py-10 text-black" type="email"
name="email" id="email" placeholder="Enter your Email">
<button class="border-0 text-white p-10 text-12 ">Subscribe</button>
</form>
<div class="flex gap-15 mt-10 flex-wrap social-icons-footer">
<a href="{{ setting('facebook') }}" target="blank"><i class="fa-brands fa-facebook"></i></a>
<a href="{{ setting('youtube') }}" target="blank"> <i class="fa-brands fa-youtube"></i></a>
@@ -74,6 +67,15 @@
<a href="{{ setting('whatsapp') }}" target="blank"> <i
class="fa-brands fa-square-whatsapp"></i></a>
</div>
<form class="flex" action="">
<input class=" border-0 w-80percent px-20 text-14 py-10 text-black" type="email"
name="email" id="email" placeholder="Enter your Email">
<button class="border-0 text-white p-10 text-12 ">Subscribe</button>
</form>
<div>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3532.3752814608883!2d85.32120487541293!3d27.705697025564373!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x39eb1907f7e2f099%3A0x517cd88424589879!2sRaffles%20Educare!5e0!3m2!1sen!2snp!4v1755670491057!5m2!1sen!2snp" width="100%" height="150" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
</div>
</div>

View File

@@ -43,7 +43,7 @@
<div class="service-items">
@foreach ($countries as $country)
<a href="{{ route('country.single', $country->slug) }}"
class="service-item">
class="service-item country">
<div class="service-icon blue-bg">
<img src="{{ asset($country->image) }}"
alt="">
@@ -68,7 +68,8 @@
<a href="{{ route('test.single', $test->slug) }}"
class="service-item">
<div class="service-icon indigo-bg">
<i class="fa-solid fa-book-open"></i>
<img src="{{ asset($test->image) }}"
alt="">
</div>
<div class="service-content">
<div class="service-name">Prepare
@@ -90,7 +91,8 @@
<a href="{{ route('service.single', $service->slug) }}"
class="service-item">
<div class="service-icon cyan-bg">
<i class="fa-solid fa-users"></i>
<img src="{{ asset($service->image) }}"
alt="">
</div>
<div class="service-content">
<div class="service-name">{{ $service->title }}
@@ -120,10 +122,9 @@
<li>
<div
class="btn btn-solid cursor-pointer text-14 font-bold rounded-30 leading-30 bg-yellow text-black module-btn-sm px-20 py-5">
<span class="btn-txt" id="get-in-touch">Book a Counsellor</span>
class="open-intouch btn btn-solid cursor-pointer text-14 font-bold rounded-30 leading-30 bg-yellow text-black module-btn-sm px-20 py-5">
<span class="btn-txt" id="">Book a Counsellor</span>
</div>
@include('client.raffles.parts.get-in-touch')
</li>
@@ -189,8 +190,8 @@
<span class="bar inline-block"></span>
<span class="bar inline-block"></span></span></span>
</button>
<a class="navbar-brand flex relative py-20 w-100" href="index.php"><span
class="navbar-brand-inner -mr-20"><img width="100" src="assets/images/logo/logo.png"
<a class="navbar-brand flex relative py-20 w-100" href="{{ url('/') }}"><span
class="navbar-brand-inner -mr-20"><img width="100" src="{{ setting('logo') }}"
alt="raffle logo" /></span></a>
</div>
<div class="lqd-mobile-sec-nav w-full absolute z-10">
@@ -199,7 +200,7 @@
<ul id="mobile-primary-nav" class="reset-ul lqd-mobile-main-nav main-nav nav"
data-localscroll="true"
data-localscroll-options='{"itemsSelector":"> li > a", "trackWindowScroll": true, "includeParentAsOffset": true}'>
<li><a href="about.php">About </a></li>
<li><a href="/about-us">About </a></li>
<li class="accordion " id="accordion-questions" role="tablist" aria-multiselectable="true">
<div class="accordion-item panel ">
<div class="accordion-heading" role="tab" id="service-menu-1">
@@ -216,38 +217,32 @@
<div id="collapse-service-menu-1" class="accordion-collapse collapse menu-dropdown"
data-bs-parent="#menu-dropdown" role="tabpanel" aria-labelledby="service-menu-1">
<ul>
<li><a class="hover:text-brand" href=" x ">Study in UK</a></li>
<li><a class="hover:text-brand" href="study-usa.php">Study in USA</a></li>
<li><a class="hover:text-brand" class="hover:text-brand"
href="study-canada.php">Study in Canada</a></li>
<li><a class="hover:text-brand" href="study-denmark.php">Study in Denmark</a>
@foreach ($countries as $country)
<li><a class="hover:text-brand"
href="{{ route('country.single', $country->slug) }}">Study
in {{ $country->title }}</a></li>
@endforeach
@foreach ($tests as $test)
<li><a class="hover:text-brand"
href="{{ route('test.single', $test->slug) }}">Prepare
{{ $test->title }}</a></li>
@endforeach
@foreach ($services as $service)
<li><a class="hover:text-brand"
href="{{ route('test.single', $test->slug) }}">{{ $service->title }}</a>
</li>
<li><a class="hover:text-brand" href="study-australia.php">Study in Australia</a>
</li>
<li><a class="hover:text-brand" href="ielts.php">Prepare IELTS</a></li>
<li><a class="hover:text-brand" href="pte.php">Prepare PTE</a></li>
<li><a class="hover:text-brand" href="duolingo.php">Prepare Duolingo</a></li>
<li><a class="hover:text-brand" href="interview-preparation.php">Interview
Preparation</a></li>
<li><a class="hover:text-brand" href="visa-assistance.php">Visa Assistance</a>
</li>
<li><a class="hover:text-brand" href="financial-guidance.php">Financial
Guidance</a></li>
<li><a class="hover:text-brand" href="travel-assistance.php">Travel
Assistance</a></li>
@endforeach
</ul>
</div>
</div>
</li>
<li><a href="contact-us.php">Contact</a></li>
<li><a href="blogs.php">Blog</a></li>
<li><a href="/contact-us">Contact</a></li>
<li><a href="/blog">Blog</a></li>
<li>
<a href="book-counsellor.php">Book a Counsellor</a>
<a href="">Book a Counsellor</a>
</li>
<li><a href="course-finder.php">Course Finder</a></li>
<li><a href="resources.php">Free Resources</a></li>
<li><a href="/course-finder">Course Finder</a></li>
<li><a href="/resources">Free Resources</a></li>
</ul>
</div>
</div>

View File

@@ -244,7 +244,7 @@
@foreach ($fifthPage->custom as $child)
<div class="col col-md-4">
<div class="flex flex-col gap-10 ceo-container px-20 py-20">
<h3 class="text-brand text-26 md:text-18 font-bold leading-30">{{ $child['icon'] ?? '' }}
<h3 class="text-brand text-26 md:text-18 font-bold leading-30 text-center">{{ $child['icon'] ?? '' }}
</h3>
<p class="text-black text-14 text-center">{{ $child['key'] ?? '' }}</p>
</div>

View File

@@ -0,0 +1,11 @@
<div class="cta-wrapper open-intouch">
<div class="phone-icon-top">
<svg viewBox="0 0 24 24">
<path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/>
</svg>
</div>
<a href="#" class="cta-button-call">
<span class="cta-text">Click here to book a Free Counselling</span>
<div class="cta-accent"></div>
</a>
</div>

View File

@@ -134,125 +134,9 @@
<div class="row" id="interactiveSection">
{{-- <div class="col col-lg-7">
<div class="wizard-container">
<div class="nav" id="step-nav">
<button class="active" data-step="0">Country</button>
<button data-step="1">Stay Type</button>
<button data-step="2">Other Services</button>
<button data-step="3">Program Level</button>
<button data-step="4">Program</button>
</div>
<form id="multiStepForm" method="GET" action="{{ route('cost.getCost') }}">
<!-- Step 1: Select Country -->
<div class="tab-pane active" data-step="0">
<h2 class="step-title">Which country are you planning to study in?</h2>
<div class="form-group">
<div class="d-flex flex-wrap">
@foreach ($countries as $country)
<div class="form-check country-card me-3 mb-3">
<input class="form-check-input" type="radio" name="country_id"
value="{{ $country->id }}" id="{{ $country->id }}">
<label class="form-check-label" for="{{ $country->id }}">
{{ $country->title }}
</label>
</div>
@endforeach
</div>
</div>
<div style="text-align:right;">
<button type="button" class="btn btn-next">Next</button>
</div>
</div>
<!-- Step 2: Stay Type Status -->
<div class="tab-pane" data-step="1">
<h2 class="step-title">Are you going alone or with a dependent?</h2>
<div class="form-group">
<div class="d-flex flex-wrap">
@foreach ($livingStatusOptions as $key => $status)
<div class="form-check status-card me-3 mb-3">
<input class="form-check-input" type="radio" name="status_type_id"
value="{{ $key }}" id="status_type_{{ $key }}">
<label class="form-check-label" for="status_type_{{ $key }}">
{{ $status }}
</label>
</div>
@endforeach
</div>
</div>
<div style="display:flex; justify-content:space-between;">
<button type="button" class="btn btn-prev">Previous</button>
<button type="button" class="btn btn-next">Next</button>
</div>
</div>
<!-- Step 3: Proficiency -->
<div class="tab-pane" data-step="2">
<h2 class="step-title">Do you want to include other services?</h2>
<div class="form-group">
<input type="radio" name="services" id="yes" value="yes"> <label
for="yes">Yes</label>
<input type="radio" name="services" id="no" value="no"> <label
for="no">No</label>
</div>
<div style="display:flex; justify-content:space-between;">
<button type="button" class="btn btn-prev">Previous</button>
<button type="button" class="btn btn-next">Next</button>
</div>
</div>
<!-- Step 4: Basic -->
<div class="tab-pane" data-step="3">
<h2 class="step-title">Which Level are you applying for?</h2>
<div class="form-group">
@foreach ($programLevelOptions as $level)
<input type="radio" name="" id="" value=""> <label
for="program_level_id">{{ $level }}</label>
@endforeach
</div>
<div style="display:flex; justify-content:space-between;">
<button type="button" class="btn btn-prev">Previous</button>
<button type="button" class="btn btn-next">Next</button>
</div>
</div>
<!-- Step 5: Contact -->
<div class="tab-pane" data-step="4">
<h2 class="step-title">Which Program are you applying for?</h2>
<div class="form-group">
<div class="d-flex flex-wrap">
@foreach ($programss as $key => $program)
<select name="program_id" class="form-control" required>
<option value="">Select Program</option>
<option value="{{ $key }}">{{ $program }}</option>
</select>
@endforeach
</div>
</div>
<div style="display:flex; justify-content:space-between;">
<button type="button" class="btn btn-prev">Previous</button>
<button type="submit" class="btn btn-next">Finish</button>
</div>
</div>
</form>
</div>
</div> --}}
<div class="col col-lg-7">
<form id="cost-calculator">
<form id="cost-calculator" method="GET" action="{{ route('cost.getCost') }}">
<div class="cost-choosing">
<div class="step-content active" id="step1">
@@ -260,42 +144,17 @@
<h5 class="text-ter text-18 font-medium pb-20">Where do you want to study</h5>
<div class="row flex flex-wrap py-20">
@foreach ($countries as $country)
<div class="col col-sm-4">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="country" type="radio" id="country1">
<label class="text-20 text-ter p-0 m-0" for="country1">UK</label>
</div>
</div>
<div class="col col-sm-4">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="country" type="radio" id="country2">
<label class="text-20 text-ter p-0 m-0" for="country2">Australia</label>
</div>
</div>
<div class="col col-sm-4">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="country" type="radio" id="country3">
<label class="text-20 text-ter p-0 m-0" for="country3">USA</label>
</div>
</div>
<div class="col col-sm-4">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="country" type="radio" id="country4">
<label class="text-20 text-ter p-0 m-0" for="country4">Newzealand</label>
<input type="radio" name="country_id" value="{{ $country->id }}"
id="{{ $country->id }}">
<label class="text-20 text-ter p-0 m-0"
for="country1">{{ $country->title }}</label>
</div>
</div>
@endforeach
</div>
</div>
<div class="step-content" id="step2">
@@ -304,34 +163,16 @@
</h5>
<div class="row flex flex-wrap py-20">
@foreach ($livingStatusOptions as $key => $status)
<div class="col col-sm-6">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="alone" type="radio" id="alone">
<label class="text-20 text-ter p-0 m-0" for="alone">Alone</label>
</div>
</div>
<div class="col col-sm-6">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="alone" type="radio" id="spouse">
<label class="text-20 text-ter p-0 m-0" for="spouse">With Spouse</label>
</div>
</div>
<div class="col col-sm-6">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="alone" type="radio" id="child">
<label class="text-20 text-ter p-0 m-0" for="child">With Spouse and
child</label>
<input type="radio" name="status_type_id" value="{{ $key }}"
id="status_type_{{ $key }}">
<label class="text-20 text-ter p-0 m-0"
for="alone">{{ $status }}</label>
</div>
</div>
@endforeach
</div>
</div>
<div class="step-content" id="step3">
@@ -366,25 +207,16 @@
<h5 class="text-ter text-18 font-medium pb-20">Which Level are you applying for?</h5>
<div class="row flex flex-wrap py-20">
@foreach ($programLevelOptions as $level)
<div class="col col-sm-4">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="level" type="radio" id="bachelors">
<label class="text-20 text-ter p-0 m-0" for="bachelors">Bachelors</label>
<input type="radio" name="" id="" value="">
<label for="program_level_id">
<label class="text-20 text-ter p-0 m-0"
for="bachelors">{{ $level }}</label>
</div>
</div>
<div class="col col-sm-4">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<input name="level" type="radio" id="masters">
<label class="text-20 text-ter p-0 m-0" for="masters">Masters</label>
</div>
</div>
@endforeach
</div>
</div>
<div class="step-content" id="step5">
@@ -394,11 +226,12 @@
<div class="row flex py-20">
<div class="col col-sm-12">
<div class="flex items-center gap-10 px-10 py-12 bg-white rounded-30 tabs">
<select name="" id="">
@foreach ($programss as $key => $program)
<select name="program_id" id="">
<option value="">Select Program</option>
<option value="">Masters in Information Technology</option>
<option value="{{ $key }}">{{ $program }}</option>
</select>
@endforeach
</div>

View File

@@ -67,7 +67,6 @@
</a>
</div>
</div>
<div class="text-center">
<p class="mb-0 fs-5 test-muted"><i>Estimated Cost Calculation For
{{ $cost->country?->title ?? 'N/A' }}</i> (<strong

View File

@@ -1,8 +1,7 @@
@extends('client.raffles.layouts.app')
@section('content')
@php
$firstAcc = $page->children[0];
@endphp
<div class="study-destinations-banner">
<img src="{{ asset($page->banner) }}" width="1425" height="356" alt="study uk">
</div>
@@ -12,7 +11,8 @@
<h2 class="md:text-30 text-60 text-sec">Study in {{ $page->title }}</h2>
<div class="title-line mx-auto"></div>
</div>
@if ($page->children->count() > 0)
@if ($page->children)
<section class="free-resources-content tab-container">
<div class="row">
<div class="col col-md-3">
@@ -153,6 +153,115 @@
</div>
</div>
</div>
<div class="py-40">
<div class="py-10">
<h4 class="title-small">1. What is the average tuition, living, and
health insurance cost in the USA?</h4>
<p class="para"><strong>Bachelors: </strong>Tuition: $15,000$35,000
/ year</p>
<p class="para"><strong>Bachelors: </strong>Tuition: $15,000$35,000
/ year</p>
<p class="para-slant">Living: $8,000$12,000/year | Health Insurance:
$1,000$2,000 / year</p>
</div>
<div class="py-10">
<h4 class="title-small">2. What types of scholarships are available?
</h4>
<ul class="list-disc">
<li class="para"><strong>Merit-based: </strong>Based on academic
scores or test results</li>
<li class="para"><strong>Merit-based: </strong>Based on academic
scores or test results</li>
<li class="para">Merit-based:Based on academic scores or test
results</li>
</ul>
</div>
<div class="py-10">
<h4 class="title-small">3. What types of scholarships are available?
</h4>
<ol class="list-alpha">
<li class="para"><strong>Merit-based: </strong>Based on academic
scores or test results</li>
<li class="para"><strong>Merit-based: </strong>Based on academic
scores or test results</li>
<li class="para">Merit-based:Based on academic scores or test
results</li>
</ol>
</div>
<div class="py-10">
<h4 class="title-small">4. What types of scholarships are available?
</h4>
<ol class="list-alpha">
<li class="para"><a class="text-sec underline" href="#"
target="_blank"><strong>Merit-based: </strong>Based on
academic
scores or test results</a></li>
<li class="para"><strong>Merit-based: </strong>Based on academic
scores or test results</li>
<li class="para">Merit-based:Based on academic scores or test
results</li>
</ol>
</div>
<div class="py-10">
<table class="tabs-table">
<thead>
<tr>
<td>Universities</td>
<td>Annual Tuition Fee
(Non-Eu/EEA)
in Euro & Approximate in NPR</td>
<td>Scholarships Available</td>
</tr>
</thead>
<tbody>
<tr>
<td>
University Of Copenhagen(UCPH)
</td>
<td>
€10,000€17,000 OR
NPR 1,350,0002,295,000
</td>
<td>
Danish Government Scholarship (offered by the university
on behalf of the Danish Ministry)
</td>
</tr>
<tr>
<td>
University Of Copenhagen(UCPH)
</td>
<td>
€10,000€17,000 OR
NPR 1,350,0002,295,000
</td>
<td>
Danish Government Scholarship (offered by the university
on behalf of the Danish Ministry)
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@@ -162,5 +271,6 @@
</div>
</section>
@endif
@include('client.raffles.pages.call-request')
</section>
@endsection

View File

@@ -53,12 +53,11 @@
<div class="w-full flex flex-wrap flex-xl-nowrap">
<div class="w-100percent lg:w-full flex animation-element">
<a href="study-usa.php"
<a href="{{ $slider->button_url }}"
class="btn btn-solid btn-hover-txt-marquee btn-hover-txt-marquee-y btn-icon-right lg:text-12 text-18 font-light rounded-20 leading-5 bg-brand module-btn-sm">
<span class="btn-txt " data-text="Find my dream university"
data-split-text="true"
data-split-options='{"type": "chars, words"}'>Find my dream
university</span>
data-split-options='{"type": "chars, words"}'>{{ $slider->button_text }}</span>
<span class="btn-icon mt-3"><i
class="fa-solid fa-arrow-right text-11 bg-white rounded-full text-brand banner-arrow"></i></span></a>
</div>
@@ -73,7 +72,7 @@
<div>
<h3 class=" text-ter text-22 font-light m-0"><span
class="counter" data-target="4">0</span> k</h3>
class="counter" data-target="100">0</span> +</h3>
</div>
<div class="contents">
<h3
@@ -90,12 +89,12 @@
class="iconbox flex flex-grow-1 relative flex-col iconbox-default border-right border-white">
<div>
<h3 class=" text-ter text-22 font-light m-0"><span
class="counter" data-target="3">0</span> k</h3>
class="counter" data-target="500">0</span> +</h3>
</div>
<div class="contents">
<h3
class="font-title text-11 font-light leading-20 m-0 text-gray-700 lqd-iconbox-heading text-ter">
mentors
Courses
</h3>
</div>
@@ -107,12 +106,12 @@
class="iconbox flex flex-grow-1 relative flex-col iconbox-default border-right border-white">
<div>
<h3 class=" text-ter text-22 font-light m-0"><span
class="counter" data-target="40">0</span> </h3>
class="counter" data-target="600">0</span> +</h3>
</div>
<div class="contents">
<h3
class="font-title text-11 font-light leading-20 m-0 text-gray-700 lqd-iconbox-heading text-ter">
countries
Accomodation
</h3>
</div>
@@ -124,12 +123,12 @@
class=" iconbox flex flex-grow-1 relative flex-col iconbox-default ">
<div>
<h3 class=" text-ter text-22 font-light m-0"><span
class="counter" data-target="90">0</span> k</h3>
class="counter" data-target="3000">0</span> +</h3>
</div>
<div class="contents">
<h3
class="font-title text-11 font-light leading-20 m-0 text-gray-700 lqd-iconbox-heading text-ter">
success stories
Success stories
</h3>
</div>

View File

@@ -45,7 +45,7 @@
<!-- next column -->
<div class="col col-12 col-md-6" data-custom-animations="true"
data-ca-options='{"animationTarget": ".accordion", "ease": "power4.out", "initValues":{"y": "-50px", "opacity":0} , "animations":{"y": "0px", "opacity":1}}'>
<h2 class="text-26 text-white text-center">FAQ</h2>
<h2 class="text-42 text-white text-center pt-25">FAQ</h2>
<div class="accordion accordion-title-underlined accordion-sm xl:ml-0 pl-10"
id="accordion-questions" role="tablist" aria-multiselectable="true">
@foreach ($faqs as $index => $faq)

View File

@@ -31,7 +31,7 @@
consultation </span>with Certified Counsellors</h5>
</div>
<form action="{{ route('enquiry.store') }}" method="POST" id="contact-form">
<form action="{{ route('counselor.store') }}" method="POST" id="counselor-form">
@csrf
<input class="w-full mb-10 rounded-6 py-15 text-14 px-10 border-bottom" type="text"
name="name" id="name" placeholder=" Name">
@@ -43,17 +43,18 @@
<input class="w-60percent mb-10 rounded-6 py-15 text-14 px-10" type="email"
name="email" id="email" placeholder="Your Email">
<input class="w-30percent mb-10 rounded-6 py-15 text-14 px-10" type="number"
inputmode="numeric" name="mobile" id="mobile" placeholder="Contact">
inputmode="numeric" name="contact" id="contact" placeholder="Contact">
</div>
<input class="w-full mb-10 rounded-6 py-15 text-14 px-10" type="text" name="score"
id="score" placeholder="Language Test Score (ilets overall: 7.0 )">
<input class="w-full mb-10 rounded-6 py-15 text-14 px-10" type="text"
name="test_score" id="test_score"
placeholder="Language Test Score (ilets overall: 7.0 )">
<input class="w-full mb-20 rounded-6 py-15 text-14 px-10" type="text"
name="qualification" id="qualification"
placeholder="Recent Education Qualification">
<input class="mb-20" type="checkbox">
<label class="text-14 mb-20" for="">I accept the terms & conditions</label>
<button type="submit" id="submit-btn"
<button type="submit" id="counselor-submit-btn"
class=" w-full py-10 bg-sec text-white rounded-10 text-16 border-0 button-hover">
<i class="fa-solid fa-paper-plane text-white text-16 pr-5"></i>
Send Message</button>