10-04-2026

This commit is contained in:
Kevin Adametz 2026-04-10 17:18:17 +02:00
parent 4d6b4930b2
commit 4bb89aad8c
836 changed files with 52961 additions and 5950 deletions

View file

@ -28,20 +28,21 @@ class PartnerHero extends Component
'icon' => 'award',
],
];
public $section = 'partner_hero';
public $content = [];
public function mount($section = 'partner_hero')
{
$this->section = $section;
$theme = config('app.theme', 'b2in');
$this->content = config("content.themes.{$theme}.{$this->section}", []);
$this->content = cms_theme_section($this->section);
}
public function render()
{
return view('livewire.web.components.sections.partner-hero', [
'partnerTypes' => $this->partnerTypes
'partnerTypes' => $this->partnerTypes,
]);
}
}