From 48ae773e8534ceee45b259f89a79492f653a88f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Tue, 26 May 2026 21:29:14 +0300 Subject: [PATCH] =?UTF-8?q?refactor:=20rebrand=20Trun=C3=A7gil=20Akademi?= =?UTF-8?q?=20theme=20from=20yellow=20to=20teal=20and=20add=20route=20alia?= =?UTF-8?q?s=20for=20the=20academy=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/PageController.php | 7 +-- .../header-truncgil-akademi.blade.php | 2 +- .../services/truncgil-akademi.blade.php | 52 +++++++++---------- 3 files changed, 31 insertions(+), 30 deletions(-) diff --git a/app/Http/Controllers/PageController.php b/app/Http/Controllers/PageController.php index 7486c14..ef43430 100644 --- a/app/Http/Controllers/PageController.php +++ b/app/Http/Controllers/PageController.php @@ -71,13 +71,14 @@ class PageController extends Controller return $this->handleShow('truncgil-akademi'); } - /** - * Unified show logic - */ protected function handleShow($slug) { $settings = $this->getSettings(); + if ($slug === 'akademi') { + $slug = 'truncgil-akademi'; + } + // Redirection logic disabled for rendering the page locally on main domain. // 1. Statik View Kontrolü diff --git a/resources/views/partials/header-truncgil-akademi.blade.php b/resources/views/partials/header-truncgil-akademi.blade.php index f23f171..08408e9 100644 --- a/resources/views/partials/header-truncgil-akademi.blade.php +++ b/resources/views/partials/header-truncgil-akademi.blade.php @@ -23,7 +23,7 @@ } -
+