48 lines
1.1 KiB
PHP
48 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Livewire\Web\Components\Sections;
|
|
|
|
use Livewire\Component;
|
|
|
|
class PartnerHero extends Component
|
|
{
|
|
public $partnerTypes = [
|
|
[
|
|
'title' => 'Makler',
|
|
'description' => 'Lifetime-Vergütung',
|
|
'icon' => 'trending-up',
|
|
],
|
|
[
|
|
'title' => 'Lieferanten',
|
|
'description' => 'Globale Märkte',
|
|
'icon' => 'globe',
|
|
],
|
|
[
|
|
'title' => 'Partnership',
|
|
'description' => 'Faire Konditionen',
|
|
'icon' => 'handshake',
|
|
],
|
|
[
|
|
'title' => 'Erfolg',
|
|
'description' => 'Nachhaltiges Wachstum',
|
|
'icon' => 'award',
|
|
],
|
|
];
|
|
|
|
public $section = 'partner_hero';
|
|
|
|
public $content = [];
|
|
|
|
public function mount($section = 'partner_hero')
|
|
{
|
|
$this->section = $section;
|
|
$this->content = cms_theme_section($this->section);
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('livewire.web.components.sections.partner-hero', [
|
|
'partnerTypes' => $this->partnerTypes,
|
|
]);
|
|
}
|
|
}
|