schema([ Forms\Components\TextInput::make('title') ->label('Call To Action Title') ->required(), Forms\Components\TextInput::make('button_text') ->label('Button Text') ->required(), Forms\Components\TextInput::make('button_url') ->label('Button URL') ->required() ->url(), FileUpload::make('background_image') ->label('Background Image 1320x408') ->directory('settings') ->image() ->columnSpan('full'), ]); } public static function canView(): bool { return auth()->user()->role === UserRole::ADMIN || auth()->user()->role === UserRole::MANAGER; } }