Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Nov 6, 2024
1 parent b2bb933 commit bd0579d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/View/Components/Site/Header.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
]);
Expand Down

0 comments on commit bd0579d

Please sign in to comment.