25 lines
580 B
PHP
25 lines
580 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Web\Components\Sections;
|
|
|
|
use Livewire\Component;
|
|
|
|
class PartnerCTA extends Component
|
|
{
|
|
public $content = [];
|
|
public $bg = '';
|
|
public $section = '';
|
|
|
|
public function mount($bg = 'bg-secondary', $section = 'partner_cta')
|
|
{
|
|
$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.partner-c-t-a');
|
|
}
|
|
}
|