This commit is contained in:
Daniela 2024-05-19 23:17:48 +03:00
parent c161177407
commit 88edbd7cf4
3 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@ class CustomerDashboard extends Page
{ {
protected static ?string $navigationIcon = 'heroicon-o-star'; protected static ?string $navigationIcon = 'heroicon-o-star';
protected static string $view = 'filament.pages.phyre-customer-svg'; protected static string $view = 'filament.pages.customer-dashboard';
protected static ?string $navigationGroup = 'Server Management'; protected static ?string $navigationGroup = 'Server Management';
@ -21,10 +21,9 @@ class CustomerDashboard extends Page
{ {
return [ return [
'menu' => [ 'menu' => [
'email'=>[ 'email'=>[
'title'=>'Email', 'title'=>'Email',
'icon'=>'phyre-customer-php', 'icon'=>'phyre_customer-php',
'menu'=>[ 'menu'=>[
[ [
'title'=>'Email Accounts', 'title'=>'Email Accounts',

View file

@ -48,9 +48,9 @@ class AppServiceProvider extends ServiceProvider
]); ]);
}); });
$this->callAfterResolving(Factory::class, function (Factory $factory) { $this->callAfterResolving(Factory::class, function (Factory $factory) {
$factory->add('phyre-customer', [ $factory->add('phyre_customer', [
'path' => __DIR__ . '/../../resources/phyre-customer-svg', 'path' => __DIR__ . '/../../resources/phyre-customer-svg',
'prefix' => 'phyre-customer', 'prefix' => 'phyre_customer',
]); ]);
}); });

View file

@ -1,3 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24">
<path fill="currentColor" d="M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314q.408-.315.55-1.049q.137-.705-.124-.995q-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628q.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715l.543-2.799q.094-.478-.068-.651q-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628q.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314q.407-.315.551-1.049q.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29" /> <path fill="currentColor" d="M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314q.408-.315.55-1.049q.137-.705-.124-.995q-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628q.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715l.543-2.799q.094-.478-.068-.651q-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628q.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314q.407-.315.551-1.049q.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 984 B

After

Width:  |  Height:  |  Size: 986 B