Compare commits

..

6 Commits

7 changed files with 81 additions and 120 deletions

View File

@@ -23,6 +23,7 @@ class Country extends Model
'slug',
'short_description',
'description',
'faqs',
'image',
'parent_id',
'images',
@@ -104,5 +105,4 @@ class Country extends Model
{
return $this->morphMany(Document::class, 'documentable');
}
}

View File

@@ -0,0 +1,28 @@
<?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::table('countries', function (Blueprint $table) {
$table->longText('faqs')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('countries', function (Blueprint $table) {
$table->dropColumn('faqs');
});
}
};

View File

@@ -19,6 +19,11 @@
{{ html()->span('*')->class('text-danger') }}
{{ html()->textarea('description')->class('form-control ckeditor-classic')->placeholder('Enter Country Description')->required() }}
</div>
<div class="col-12">
{{ html()->label('Extra FAQs')->class('form-label')->for('faqs') }}
{{ html()->textarea('faqs')->class('form-control ckeditor-classic')->placeholder('Enter Extra FAQs')->required() }}
</div>
</div>
</div>
</div>
@@ -87,13 +92,11 @@
<div class="card-body">
<div class="mb-3">
{{ html()->label('Featured')->class('form-label')->for('image') }}
<x-image-input :data="$editable ? $country->getRawOriginal('image') : null" id="image" name="image" :editable="$editable"
:multiple=false />
<x-image-input :data="$editable ? $country->getRawOriginal('image') : null" id="image" name="image" :editable="$editable" :multiple=false />
</div>
{{ html()->label('Banner')->class('form-label')->for('banner') }}
<x-image-input :data="$editable ? $country->getRawOriginal('banner') : null" id="banner" name="banner" :editable="$editable"
:multiple=false />
<x-image-input :data="$editable ? $country->getRawOriginal('banner') : null" id="banner" name="banner" :editable="$editable" :multiple=false />
</div>
</div>

View File

@@ -4,7 +4,7 @@
<section class="lqd-section footer-content text-black" data-section-luminosity="dark">
<div class="container footer-inside">
<div class="row pb-10 ">
<div class="col col-6 col-md-3 flex flex-col text-start mb-20 p-10">
<div class="col col-12 col-sm-6 col-md-4 flex flex-col text-start mb-20 p-10">
<div class=" mb-25 lqd-imggrp-single block relative">
<div class=" lqd-imggrp-img-container inline-flex relative items-center justify-center">
<h2 class="text-black text-24">{{ setting('title') }}</h2>
@@ -20,7 +20,37 @@
</div>
@foreach ($footerMenus as $menu)
<div class="col col-6 col-md-3 flex flex-col items-center">
<div class="col col-6 col-sm-3 col-md-2 flex flex-col items-center">
<div>
<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">
{{ $menu->title }}
</h3>
</div>
<div class="lqd-fancy-menu lqd-custom-menu relative left lqd-menu-td-none">
<ul
class="reset-ul link-14 link-font-normal flex flex-col justify-center text-center gap-10">
@if ($menu->hasSubMenu())
@foreach ($menu->children as $subMenu)
<li>
<a class="text-black btn btn-naked btn-icon-right btn-hover-swp animation-element"
data-localscroll="true" href="{{ $subMenu->route_name }}"><span
class="link-icon inline-flex hide-if-empty left-icon icon-next-to-label"></span>
<span class="btn-txt"
data-text="Franchise">{{ $subMenu->title }}</span>
</a>
</li>
@endforeach
@endif
</ul>
</div>
</div>
</div>
@endforeach
@foreach ($footerMenus as $menu)
<div class="col col-6 col-sm-3 col-md-2 flex flex-col items-center">
<div>
<div class="mb-20 ld-fancy-heading relative module-title">
<h3
@@ -49,7 +79,7 @@
</div>
@endforeach
{{-- <div class="col col-md-1"></div> --}}
<div class="col col-12 col-md-4 flex flex-col p-10">
{{-- <div class="mb-20 ld-fancy-heading relative module-title">
<h3
@@ -58,7 +88,7 @@
</h3>
</div> --}}
<div class="lqd-fancy-menu lqd-custom-menu flex flex-col gap-5 relative left lqd-menu-td-none">
<div class="flex gap-15 mt-10 flex-wrap social-icons-footer">
<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>
<a href="{{ setting('instagram') }}" target="blank"> <i
@@ -72,10 +102,13 @@
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>
<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

@@ -21,7 +21,7 @@
<li class="px-20 tab-btn cursor-pointer fade {{ $loop->first ? 'show active' : '' }} "
role="tabpanel" onclick="showTab('tabs_{{ $index + 1 }}')">
<div class="text-17 font-bold flex gap-10 items-center">
<p class="numbering">1</p>
<p class="numbering">{{ $index + 1 }}</p>
{{-- <img class="w-40" src="assets/images/icons/one.svg" alt=""> --}}
<h5 class="text-16 p-0 m-0">{{ $child->title }}</h5>
</div>
@@ -176,109 +176,7 @@
<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>
{!! $child->faqs ?? '' !!}
</div>
@@ -294,7 +192,6 @@
@include('client.raffles.pages.call-request')
</section>
@endsection
@extends('client.raffles.layouts.app')
@section('content')

View File

@@ -21,7 +21,7 @@
<li class="px-20 tab-btn cursor-pointer fade {{ $loop->first ? 'show active' : '' }} "
role="tabpanel" onclick="showTab('tabs_{{ $index + 1 }}')">
<div class="text-17 font-bold flex gap-10 items-center">
<p class="numbering">1</p>
<p class="numbering">{{ $index + 1 }}</p>
{{-- <img class="w-40" src="assets/images/icons/one.svg" alt=""> --}}
<h5 class="text-16 p-0 m-0">{{ $child->title }}</h5>
</div>

View File

@@ -1,6 +1,6 @@
<div class="container universities-slider ">
<div class="partner-bg">
<img src="{{ asset('raffles/assets/images/general/our-partner-img.png') }}" alt="">
<img src="{{ asset('raffles/assets/images/backgrounds_general/our-partner-img.png') }}" alt="">
</div>
<div class="swiper mySwiper-unis">
<div class="swiper-wrapper">