b2in/app/Livewire/Web/Components/Sections/EndCustomerSection.php
2025-10-20 17:50:35 +02:00

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');
}
}