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

@ -7,14 +7,15 @@ use Livewire\Component;
class CTASection extends Component
{
public $content = [];
public $bg = '';
public $section = '';
public function mount($bg = 'bg-secondary', $section = 'cta_section')
{
$this->section = $section;
$theme = config('app.theme', 'b2in');
$this->content = config("content.themes.{$theme}.{$this->section}", []);
$this->content = cms_theme_section($this->section);
$this->bg = $bg;
}