diff --git a/app/Providers/Filament/AdminPanelProvider.php b/app/Providers/Filament/AdminPanelProvider.php index 038820b..8b16f1e 100644 --- a/app/Providers/Filament/AdminPanelProvider.php +++ b/app/Providers/Filament/AdminPanelProvider.php @@ -29,6 +29,8 @@ public function panel(Panel $panel): Panel ->id('admin') ->path('admin') ->login() + ->brandName('ZEROTRAFIC') + ->favicon(asset('favicon.png')) ->colors([ 'primary' => Color::hex('#2a4c82'), ]) diff --git a/lang/en/footer.php b/lang/en/footer.php index 67bc904..71f5ec0 100644 --- a/lang/en/footer.php +++ b/lang/en/footer.php @@ -1,7 +1,7 @@ 'Child Protection', + 'brand' => 'ZEROTRAFIC', 'brand_sub' => 'Resource Center', 'tagline' => 'Platform developed by ANITP in partnership with Code for Romania Association within the Child Protection Compact Framework (CPC)', 'quicklinks' => 'Quick Links', diff --git a/lang/ro/footer.php b/lang/ro/footer.php index 4a999f8..2c24197 100644 --- a/lang/ro/footer.php +++ b/lang/ro/footer.php @@ -1,7 +1,7 @@ 'Protecția Copilului', + 'brand' => 'ZEROTRAFIC', 'brand_sub' => 'Centru de Resurse', 'tagline' => 'Platformă dezvoltată de ANITP în parteneriat cu Asociația Code for Romania în cadrul Child Protection Compact (CPC)', 'quicklinks' => 'Linkuri rapide', diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index c2efef6..c2c2b62 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/favicon.png b/public/favicon.png new file mode 100644 index 0000000..cda3a12 Binary files /dev/null and b/public/favicon.png differ diff --git a/public/images/brand/logo.png b/public/images/brand/logo.png new file mode 100644 index 0000000..5b6faa8 Binary files /dev/null and b/public/images/brand/logo.png differ diff --git a/resources/views/components/layout/footer.blade.php b/resources/views/components/layout/footer.blade.php index bb6a2f6..dba9849 100644 --- a/resources/views/components/layout/footer.blade.php +++ b/resources/views/components/layout/footer.blade.php @@ -3,11 +3,7 @@
-
- -
+
{{ __('footer.brand') }}
{{ __('footer.brand_sub') }}
diff --git a/resources/views/components/layout/header.blade.php b/resources/views/components/layout/header.blade.php index c5e22a7..067e20f 100644 --- a/resources/views/components/layout/header.blade.php +++ b/resources/views/components/layout/header.blade.php @@ -15,16 +15,10 @@
-
-
- -
-
-
{{ __('footer.brand') }}
-
{{ __('footer.brand_sub') }}
-
+ +
+
{{ __('footer.brand') }}
+
{{ __('footer.brand_sub') }}
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index f653fe5..e097e00 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -3,7 +3,9 @@ - {{ $title ?? config('app.name', 'CPC') }} + {{ $title ?? 'ZEROTRAFIC' }} + + @isset($metaDescription) @endisset diff --git a/resources/views/layouts/auth.blade.php b/resources/views/layouts/auth.blade.php index 44f4e6d..a04b2d4 100644 --- a/resources/views/layouts/auth.blade.php +++ b/resources/views/layouts/auth.blade.php @@ -3,7 +3,9 @@ - {{ $title ?? config('app.name', 'CPC') }} + {{ $title ?? 'ZEROTRAFIC' }} + + @vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles @@ -14,7 +16,8 @@
- + + {{ __('footer.brand') }} diff --git "a/resources/views/pages/\342\232\241home.blade.php" "b/resources/views/pages/\342\232\241home.blade.php" index e4346c5..95a4293 100644 --- "a/resources/views/pages/\342\232\241home.blade.php" +++ "b/resources/views/pages/\342\232\241home.blade.php" @@ -6,7 +6,7 @@ use Livewire\Attributes\Title; use Livewire\Component; -new #[Layout('layouts.app')] #[Title('CPC')] class extends Component +new #[Layout('layouts.app')] #[Title('ZEROTRAFIC')] class extends Component { public int $statCases = 823; diff --git a/tests/Feature/BrandingTest.php b/tests/Feature/BrandingTest.php new file mode 100644 index 0000000..e97595c --- /dev/null +++ b/tests/Feature/BrandingTest.php @@ -0,0 +1,9 @@ +get('/ro') + ->assertSuccessful() + ->assertSee('ZEROTRAFIC', false) + ->assertSee('images/brand/logo.png', false) + ->assertSee('favicon.png', false); +});