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

31 lines
630 B
PHP

<?php
namespace App\Livewire\Web\Components\Sections;
use Livewire\Component;
class BrandWorlds extends Component
{
public $title;
public $subtitle;
public $worlds = [];
public $bg = 'bg-background';
public function mount($bg = 'bg-background')
{
$content = cms_theme_section('brand_worlds');
$this->title = $content['title'] ?? '';
$this->subtitle = $content['subtitle'] ?? '';
$this->worlds = $content['worlds'] ?? [];
$this->bg = $bg;
}
public function render()
{
return view('livewire.web.components.sections.brand-worlds');
}
}