Added resources route and update footer and header links; refactor resources template

This commit is contained in:
2025-07-28 17:52:32 +05:45
parent f8b9a6725b
commit 2d75f603d9
4 changed files with 17 additions and 23 deletions

View File

@@ -35,7 +35,7 @@
@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="franchise.php"><span
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>

View File

@@ -137,7 +137,6 @@
<a href="/resources"
class="btn btn-solid text-14 font-medium rounded-30 leading-30 bg-yellow text-black module-btn-sm px-20 py-5 hover:text-black"><span
class="btn-txt">Free Resources</span>
</a>
</li>

View File

@@ -58,7 +58,8 @@
data-bs-toggle="collapse" data-bs-parent="#accordion-questions"
href="index.php#collapse-question-item-2" aria-expanded="false"
aria-controls="collapse-question-item-2">
<img class="w-40" src="{{ asset('raffles/assets/images/icons/two.svg') }}" alt="">
<img class="w-40" src="{{ asset('raffles/assets/images/icons/two.svg') }}"
alt="">
<h5 class="text-16 p-0 m-0">Language Test</h5>
</a>
</h4>
@@ -69,13 +70,15 @@
data-bs-parent="#accordion-questions" role="tabpanel"
aria-labelledby="heading-question-2">
@foreach($tests as test)
{{-- @foreach ($tests as test) --}}
<div class="accordion-content text-16 leading-20 text-black bg-white px-10 flex items-center gap-10"
onclick="showTab('tab{{ $test->slug }}')">
onclick="showTab('tab')">
<i class="fa-solid fa-angles-right text-18 text-brand"></i>
<p>{{ $test->title }}</p>
<p>
{{-- {{ $test->title }} --}}
</p>
</div>
@endforeach
{{-- @endforeach --}}
</div>
@@ -93,7 +96,9 @@
data-bs-toggle="collapse" data-bs-parent="#accordion-questions"
href="index.php#collapse-question-item-3" aria-expanded="false"
aria-controls="collapse-question-item-3">
<img class="w-40" src="{{ asset('raffles/assets/images/icons/three.svg')}}" alt="">
<img class="w-40"
src="{{ asset('raffles/assets/images/icons/three.svg') }}"
alt="">
<h5 class="text-16 p-0 m-0">Interview Preparation</h5>
</a>
</h4>
@@ -103,7 +108,7 @@
<div id="collapse-question-item-3" class="accordion-collapse collapse "
data-bs-parent="#accordion-questions" role="tabpanel"
aria-labelledby="heading-question-2">
<div class="accordion-content text-16 leading-20 text-black bg-white px-10 flex items-center gap-10"
onclick="showTab('tabcasinterview')">
<i class="fa-solid fa-angles-right text-18 text-brand"></i>
@@ -899,21 +904,10 @@
<h3 class="text-brand text-20">Study Abroad</h3>
<div class="divider"></div>
<ul class="flex-flex-col gap-20 list-none px-0 py-20">
@foreach($countries as $country)
<li class="py-10 border-bottom text-16 text-hover"><a class="text-grey "
href="study-australia.php">Australia</a></li>
<li class="py-10 border-bottom text-16 text-hover"><a class="text-grey "
href="study-usa.php">USA</a></li>
<li class="py-10 border-bottom text-16 text-hover"><a class="text-grey "
href="study-uk.php">UK</a></li>
<!-- <li class="py-10 border-bottom text-16 text-hover"><a class="text-grey " href="study-newzealand.php">New Zealand</a></li> -->
<li class="py-10 border-bottom text-16 text-hover"><a class="text-grey "
href="study-canada.php">Canada</a></li>
<li class="py-10 border-bottom text-16 text-hover"><a class="text-grey "
href="study-denmark.php">Denmark</a></li>
<li class="py-10 border-bottom text-16 text-hover"><a class="text-grey "
href="ielts.php">IELTS</a></li>
<li class="py-10 border-bottom text-16 text-hover"><a class="text-grey "
href="duolingo.php">Duolingo</a></li>
href="study-australia.php">{{ $country->title }}</a></li>
@endforeach
</ul>
<h3 class="text-brand text-20">Let's Connect Quick</h3>
<div class="divider"></div>