refactor: rebrand Trunçgil Akademi theme from yellow to teal and add route alias for the academy page.

This commit is contained in:
Ümit Tunç
2026-05-26 21:29:14 +03:00
parent 4e98034536
commit 48ae773e85
3 changed files with 31 additions and 30 deletions
+4 -3
View File
@@ -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ü