From 2d75f603d980642d17c1ff9e3ffe2cbc94a097f6 Mon Sep 17 00:00:00 2001 From: Subash Date: Mon, 28 Jul 2025 17:52:32 +0545 Subject: [PATCH] Added resources route and update footer and header links; refactor resources template --- Modules/User/routes/client.php | 1 + .../raffles/layouts/partials/footer.blade.php | 2 +- .../raffles/layouts/partials/header.blade.php | 1 - .../pages/resources-template.blade.php | 36 ++++++++----------- 4 files changed, 17 insertions(+), 23 deletions(-) diff --git a/Modules/User/routes/client.php b/Modules/User/routes/client.php index f05d571..b27a7fc 100644 --- a/Modules/User/routes/client.php +++ b/Modules/User/routes/client.php @@ -6,6 +6,7 @@ use Modules\CCMS\Http\Controllers\EnquiryController; Route::get('/', [WebsiteController::class, 'home']); Route::get('/course-finder', [WebsiteController::class, 'coursefinder']); +Route::get('/resources', [WebsiteController::class, 'resources'])->name('resources'); Route::get('blog/{alias}', [WebsiteController::class, 'blogSingle'])->name('blog.single'); Route::get('service/{alias}', [WebsiteController::class, 'serviceSingle'])->name('service.single'); Route::get('test/{alias}', [WebsiteController::class, 'testSingle'])->name('test.single'); diff --git a/resources/views/client/raffles/layouts/partials/footer.blade.php b/resources/views/client/raffles/layouts/partials/footer.blade.php index ab8a8c4..54d2168 100644 --- a/resources/views/client/raffles/layouts/partials/footer.blade.php +++ b/resources/views/client/raffles/layouts/partials/footer.blade.php @@ -35,7 +35,7 @@ @foreach ($menu->children as $subMenu)
  • {{ $subMenu->title }} diff --git a/resources/views/client/raffles/layouts/partials/header.blade.php b/resources/views/client/raffles/layouts/partials/header.blade.php index 2f23265..d362593 100644 --- a/resources/views/client/raffles/layouts/partials/header.blade.php +++ b/resources/views/client/raffles/layouts/partials/header.blade.php @@ -137,7 +137,6 @@ Free Resources -
  • diff --git a/resources/views/client/raffles/pages/resources-template.blade.php b/resources/views/client/raffles/pages/resources-template.blade.php index 5a7e406..5f69ff8 100644 --- a/resources/views/client/raffles/pages/resources-template.blade.php +++ b/resources/views/client/raffles/pages/resources-template.blade.php @@ -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"> - +
    Language Test
    @@ -69,13 +70,15 @@ data-bs-parent="#accordion-questions" role="tabpanel" aria-labelledby="heading-question-2"> - @foreach($tests as test) + {{-- @foreach ($tests as test) --}}
    + onclick="showTab('tab')"> -

    {{ $test->title }}

    +

    + {{-- {{ $test->title }} --}} +

    - @endforeach + {{-- @endforeach --}} @@ -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"> - +
    Interview Preparation
    @@ -103,7 +108,7 @@
    - +
    @@ -899,21 +904,10 @@

    Study Abroad

    Let's Connect Quick