@@ -44,8 +44,12 @@ public function panel(Panel $panel): Panel
4444 ->viteTheme ('resources/css/filament/admin/theme.css ' )
4545 ->brandName (fn () => app (\App \Settings \GeneralSettings::class)->site_name )
4646 ->colors ([
47- 'primary ' => Color::Gray,
47+ 'primary ' => Color::Emerald,
48+ 'gray ' => Color::Slate,
4849 ])
50+ ->brandName (fn () => app (\App \Settings \GeneralSettings::class)->site_name )
51+ ->brandLogo (asset ('images/logo.svg ' ))
52+ ->favicon (asset ('images/favicon.ico ' ))
4953 ->userMenuItems ([
5054 Action::make ('profile ' )
5155 ->label ('Profile ' )
@@ -96,20 +100,20 @@ public function panel(Panel $panel): Panel
96100 // ]);
97101 // }
98102
99- if (Features::hasTeamFeatures ()) {
100- $ panel
101- ->tenant (Team::class, ownershipRelationship: 'team ' )
102- ->tenantRegistration (CreateTeam::class)
103- ->tenantProfile (EditTeam::class)
104- ->userMenuItems ([
105- Action::make ('team-settings ' )
106- ->label ('Team Settings ' )
107- ->icon ('heroicon-o-cog-6-tooth ' )
108- ->url (fn () => $ this ->shouldRegisterMenuItem ()
109- ? url (EditTeam::getUrl ())
110- : url ($ panel ->getPath ())),
111- ]);
112- }
103+ // if (Features::hasTeamFeatures()) {
104+ // $panel
105+ // ->tenant(Team::class, ownershipRelationship: 'team')
106+ // ->tenantRegistration(CreateTeam::class)
107+ // ->tenantProfile(EditTeam::class)
108+ // ->userMenuItems([
109+ // Action::make('team-settings')
110+ // ->label('Team Settings')
111+ // ->icon('heroicon-o-cog-6-tooth')
112+ // ->url(fn () => $this->shouldRegisterMenuItem()
113+ // ? url(EditTeam::getUrl())
114+ // : url($panel->getPath())),
115+ // ]);
116+ // }
113117
114118 return $ panel ;
115119 }
0 commit comments