29 lines
650 B
PHP
29 lines
650 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Web\Components\Sections;
|
|
|
|
use Livewire\Component;
|
|
|
|
class BenefitsSection 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.benefits-section');
|
|
}
|
|
}
|