development 31-10-2025
This commit is contained in:
parent
7cf3558ba7
commit
fa2ebd457d
47 changed files with 2980 additions and 452 deletions
|
|
@ -28,12 +28,14 @@ class PartnerHero extends Component
|
|||
'icon' => 'award',
|
||||
],
|
||||
];
|
||||
public $section = 'partner_hero';
|
||||
|
||||
public $content = [];
|
||||
public function mount()
|
||||
public function mount($section = 'partner_hero')
|
||||
{
|
||||
$this->section = $section;
|
||||
$theme = config('app.theme', 'b2in');
|
||||
$this->content = config("content.themes.{$theme}.partner_hero", []);
|
||||
$this->content = config("content.themes.{$theme}.{$this->section}", []);
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue