return $panel ->id('app') ->path('app') ->topNavigation() ->login() ->registration() ->passwordReset() ->emailVerification() ->userMenuItems([ 'profile' => MenuItem::make() ->label('Profile') ->icon('heroicon-o-user') ->url(static fn (): string => EditProfile::getUrl()), ]) ->tenant(Team::class, slugAttribute: 'uuid') ->tenantRegistration(CreateTeam::class) ->tenantProfile(EditTeamProfile::class) ->tenantBillingProvider(new CashierStripeBillingProvider())...
use Filament\Forms\Form;use Filament\Forms\Components;use Filament\Pages\Page;class EditProfile extends Page{ protected static string $view = "http.web.domain.dashboard.pages.edit-profile"; protected static bool $shouldRegisterNavigation = false;...}
use Filament\Forms\Components;use Filament\Forms\Form;use Filament\Pages\Tenancy\EditTenantProfile;class EditTeamProfile extends EditTenantProfile{ protected static ?string $slug = 'settings'; public static function getLabel(): string { return 'Team Settings'; }...