25 lines
580 B
PHP
25 lines
580 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;
|
|
$theme = config('app.theme', 'b2in');
|
|
$this->content = config("content.themes.{$theme}.{$this->section}", []);
|
|
$this->bg = $bg;
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.web.components.sections.c-t-a-section');
|
|
}
|
|
}
|