This commit is contained in:
Daniela 2024-05-19 23:14:03 +03:00
parent 9c91d57aba
commit c161177407
4 changed files with 16 additions and 2 deletions

View file

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

View file

@ -47,6 +47,12 @@ class AppServiceProvider extends ServiceProvider
'prefix' => 'phyre',
]);
});
$this->callAfterResolving(Factory::class, function (Factory $factory) {
$factory->add('phyre-customer', [
'path' => __DIR__ . '/../../resources/phyre-customer-svg',
'prefix' => 'phyre-customer',
]);
});
App::singleton('virtualHostManager', function () {
return new ApacheVirtualHostManager();

View file

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24">
<path fill="currentColor" d="M12 4.5a4.5 4.5 0 0 0-4.495 4.285a.75.75 0 0 1-.75.715H6.5a3 3 0 1 0 0 6h3.576a6.6 6.6 0 0 0-.057 1.5H6.5a4.5 4.5 0 0 1-.42-8.98a6.001 6.001 0 0 1 11.84 0a4.5 4.5 0 0 1 4.053 4.973a6.5 6.5 0 0 0-1.8-1.857A3 3 0 0 0 17.5 9.5h-.256a.75.75 0 0 1-.749-.715A4.5 4.5 0 0 0 12 4.5m10 12a5.5 5.5 0 1 1-11 0a5.5 5.5 0 0 1 11 0m-6 3a.5.5 0 0 0 1 0v-4.793l1.646 1.647a.5.5 0 0 0 .708-.708l-2.5-2.5a.5.5 0 0 0-.708 0l-2.5 2.5a.5.5 0 0 0 .708.708L16 14.707z" />
</svg>

After

Width:  |  Height:  |  Size: 577 B

View file

@ -0,0 +1,3 @@
<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" />
</svg>

After

Width:  |  Height:  |  Size: 984 B