development 31-10-2025

This commit is contained in:
Kevin Adametz 2025-10-31 17:11:43 +01:00
parent 7cf3558ba7
commit fa2ebd457d
47 changed files with 2980 additions and 452 deletions

View file

@ -0,0 +1,27 @@
<?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;
$theme = config('app.theme', 'b2in');
$this->content = config("content.themes.{$theme}.{$this->section}", []);
}
public function render()
{
return view('livewire.web.components.sections.card-section');
}
}