First commit
This commit is contained in:
commit
7cf3558ba7
12933 changed files with 1180047 additions and 0 deletions
26
app/Livewire/Web/Components/Sections/FAQ.php
Normal file
26
app/Livewire/Web/Components/Sections/FAQ.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?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');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue