b2in/app/Livewire/Web/Components/Sections/CardSection.php
2026-04-10 17:18:17 +02:00

29 lines
642 B
PHP

<?php
namespace App\Livewire\Web\Components\Sections;
use Livewire\Component;
class CardSection extends Component
{
public $content = [];
public $layout = 'left'; // Standard-Layout
public $bg = 'bg-background';
public $section = 'card_section';
public function mount($layout = 'left', $bg = 'bg-background', $section = 'card_section')
{
$this->layout = $layout;
$this->bg = $bg;
$this->section = $section;
$this->content = cms_theme_section($this->section);
}
public function render()
{
return view('livewire.web.components.sections.card-section');
}
}