entries = app(SettingFactory::class)->all() ->map(fn ($setting) => [ 'url' => $setting->url(), 'is_active' => get_class($setting) === $active, 'title' => $setting->title(), ])->toArray(); } public function render() { return <<<'HTML' {{ $right ?? '' }}
{{ $slot }}
HTML; } }