25 lines
605 B
PHP
25 lines
605 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Web\Components\Sections;
|
|
|
|
use Livewire\Component;
|
|
|
|
class EndCustomerSection extends Component
|
|
{
|
|
public $content = [];
|
|
public $bg = '';
|
|
public $section = '';
|
|
|
|
public function mount($bg = 'bg-accent', $section = 'end_customer_section')
|
|
{
|
|
$theme = config('app.theme', 'b2in');
|
|
$this->section = $section;
|
|
$this->bg = $bg;
|
|
$this->content = config("content.themes.{$theme}.end_customer_section", []);
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.web.components.sections.end-customer-section');
|
|
}
|
|
}
|