26 lines
616 B
PHP
26 lines
616 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Web\Components\Sections;
|
|
|
|
use Livewire\Component;
|
|
|
|
class EcosystemCore extends Component
|
|
{
|
|
public $content = [];
|
|
public $bg = 'bg-background';
|
|
public $section = 'ecosystem_core';
|
|
|
|
public function mount($bg = 'bg-background', $section = 'ecosystem_core')
|
|
{
|
|
$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.ecosystem-core');
|
|
}
|
|
}
|