development 31-10-2025

This commit is contained in:
Kevin Adametz 2025-10-31 17:11:43 +01:00
parent 7cf3558ba7
commit fa2ebd457d
47 changed files with 2980 additions and 452 deletions

View file

@ -28,12 +28,14 @@ class PartnerHero extends Component
'icon' => 'award',
],
];
public $section = 'partner_hero';
public $content = [];
public function mount()
public function mount($section = 'partner_hero')
{
$this->section = $section;
$theme = config('app.theme', 'b2in');
$this->content = config("content.themes.{$theme}.partner_hero", []);
$this->content = config("content.themes.{$theme}.{$this->section}", []);
}
public function render()