23-01-2026
This commit is contained in:
parent
07959c0ba2
commit
854ce02bf6
166 changed files with 32909 additions and 1262 deletions
|
|
@ -16,7 +16,18 @@ class Header extends Component
|
|||
$this->domainName = \App\Helpers\ThemeHelper::getDomainName();
|
||||
$this->domainUrl = \App\Helpers\ThemeHelper::getDomainUrl();
|
||||
$theme = config('app.theme', 'b2in');
|
||||
$this->content = config("content.themes.{$theme}.header", []);
|
||||
$this->content = config("content.themes.{$theme}.header", [
|
||||
'portal_login' => 'Portal Login',
|
||||
'navigation' => []
|
||||
]);
|
||||
|
||||
// Ensure required keys exist
|
||||
if (!isset($this->content['portal_login'])) {
|
||||
$this->content['portal_login'] = 'Portal Login';
|
||||
}
|
||||
if (!isset($this->content['navigation']) || !is_array($this->content['navigation'])) {
|
||||
$this->content['navigation'] = [];
|
||||
}
|
||||
}
|
||||
|
||||
public function toggleMobileMenu()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue