diff --git a/app/View/Components/Site/Header.php b/app/View/Components/Site/Header.php index b9e5fe6..15a9d2b 100644 --- a/app/View/Components/Site/Header.php +++ b/app/View/Components/Site/Header.php @@ -12,8 +12,12 @@ class Header extends Component { public Collection $menuItems; - public function __construct() + public bool $timeline; + + public function __construct(bool $timeline = false) { + $this->timeline = $timeline; + $this->menuItems = collect([ 'front.index' => __('app.navigation.home'), ]);