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