From c16117740748a90b86d3487018f9239eea7d5b16 Mon Sep 17 00:00:00 2001 From: Daniela <69676022+bobicloudvision@users.noreply.github.com> Date: Sun, 19 May 2024 23:14:03 +0300 Subject: [PATCH] update --- web/app/Filament/Pages/CustomerDashboard.php | 4 ++-- web/app/Providers/AppServiceProvider.php | 6 ++++++ web/resources/phyre-customer-svg/backup-remote.svg | 5 +++++ web/resources/phyre-customer-svg/php.svg | 3 +++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 web/resources/phyre-customer-svg/backup-remote.svg create mode 100644 web/resources/phyre-customer-svg/php.svg diff --git a/web/app/Filament/Pages/CustomerDashboard.php b/web/app/Filament/Pages/CustomerDashboard.php index 5b23049..80e65d3 100644 --- a/web/app/Filament/Pages/CustomerDashboard.php +++ b/web/app/Filament/Pages/CustomerDashboard.php @@ -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', diff --git a/web/app/Providers/AppServiceProvider.php b/web/app/Providers/AppServiceProvider.php index e00581a..7edc7d7 100644 --- a/web/app/Providers/AppServiceProvider.php +++ b/web/app/Providers/AppServiceProvider.php @@ -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(); diff --git a/web/resources/phyre-customer-svg/backup-remote.svg b/web/resources/phyre-customer-svg/backup-remote.svg new file mode 100644 index 0000000..7eb28fd --- /dev/null +++ b/web/resources/phyre-customer-svg/backup-remote.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/web/resources/phyre-customer-svg/php.svg b/web/resources/phyre-customer-svg/php.svg new file mode 100644 index 0000000..2bff565 --- /dev/null +++ b/web/resources/phyre-customer-svg/php.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file