components([ Section::make(fn () => CheerfulNotification::getByKey('settings.social_media.section.title')) ->description(fn () => CheerfulNotification::getByKey('settings.social_media.section.description')) ->schema([ Grid::make(2) ->schema([ TextInput::make('facebook') ->label('Facebook') ->placeholder('https://facebook.com/username') ->autofocus() ->autocomplete(false) ->url(), TextInput::make('twitter') ->label('Twitter') ->placeholder('https://twitter.com/username') ->autocomplete(false) ->url(), TextInput::make('instagram') ->label('Instagram') ->placeholder('https://instagram.com/username') ->autocomplete(false) ->url(), TextInput::make('youtube') ->label('YouTube') ->placeholder('https://youtube.com/username') ->autocomplete(false) ->url(), ]), ]) ->columnSpanFull(), ]); } public function getSavedNotification(): ?Notification { return CheerfulNotification::update(); } }