From be788c16e8a2948f09368a2062c7fa9d5ef09b66 Mon Sep 17 00:00:00 2001 From: b1ek Date: Mon, 19 Aug 2024 22:59:36 +1000 Subject: [PATCH] refactor: remove most header stuff --- views/layouts/main.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/views/layouts/main.php b/views/layouts/main.php index c204435..5a578bd 100644 --- a/views/layouts/main.php +++ b/views/layouts/main.php @@ -40,18 +40,6 @@ $this->registerLinkTag(['rel' => 'icon', 'type' => 'image/x-icon', 'href' => Yii 'options' => ['class' => 'navbar-nav'], 'items' => [ ['label' => 'Home', 'url' => ['/site/index']], - ['label' => 'About', 'url' => ['/site/about']], - ['label' => 'Contact', 'url' => ['/site/contact']], - Yii::$app->user->isGuest - ? ['label' => 'Login', 'url' => ['/site/login']] - : '' ] ]); NavBar::end();