b2in/app/Livewire/Web/Components/Sections/CTASection.php
2026-04-10 17:18:17 +02:00

26 lines
515 B
PHP

<?php
namespace App\Livewire\Web\Components\Sections;
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;
$this->content = cms_theme_section($this->section);
$this->bg = $bg;
}
public function render()
{
return view('livewire.web.components.sections.c-t-a-section');
}
}