26 lines
515 B
PHP
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');
|
|
}
|
|
}
|