diff --git a/app/Livewire/Topbar/Actions.php b/app/Livewire/Topbar/Actions.php index 95a8abcce..5f687ae86 100644 --- a/app/Livewire/Topbar/Actions.php +++ b/app/Livewire/Topbar/Actions.php @@ -21,6 +21,8 @@ class Actions extends Component implements HasActions, HasForms { use InteractsWithActions, InteractsWithForms; + public bool $showDashboard = true; + public function dashboardAction(): Action { return Action::make('metrics') diff --git a/config/speedtest.php b/config/speedtest.php index dfaf9ac76..ec4e255a3 100644 --- a/config/speedtest.php +++ b/config/speedtest.php @@ -6,9 +6,9 @@ /** * General settings. */ - 'build_date' => Carbon::parse('2025-12-08'), + 'build_date' => Carbon::parse('2025-12-15'), - 'build_version' => 'v1.12.3', + 'build_version' => 'v1.12.4', 'content_width' => env('CONTENT_WIDTH', '7xl'), diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 1d23aaac1..078505014 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -35,86 +35,11 @@
-
-
-

{{ $title ?? 'Page Title' }} - {{ config('app.name') }}

-
- -
-
- - - - - -
- - @auth - - {{ __('general.admin') }} - - @else - - {{ __('auth.sign_in') }} - - @endauth -
-
+ @include('layouts.partials.header') {{ $slot }} + + @include('layouts.partials.footer')
{{-- Scripts --}} diff --git a/resources/views/layouts/partials/footer.blade.php b/resources/views/layouts/partials/footer.blade.php new file mode 100644 index 000000000..bca1d3815 --- /dev/null +++ b/resources/views/layouts/partials/footer.blade.php @@ -0,0 +1,15 @@ + diff --git a/resources/views/layouts/partials/header.blade.php b/resources/views/layouts/partials/header.blade.php new file mode 100644 index 000000000..d26419f78 --- /dev/null +++ b/resources/views/layouts/partials/header.blade.php @@ -0,0 +1,80 @@ +
+
+

{{ $title ?? 'Page Title' }} - {{ config('app.name') }}

+
+ +
+
+ + + + + +
+ + @auth + + + + {{ __('general.admin') }} + + @else + + {{ __('auth.sign_in') }} + + @endauth +
+
diff --git a/resources/views/livewire/topbar/actions.blade.php b/resources/views/livewire/topbar/actions.blade.php index b27fb1767..20db6f5ea 100644 --- a/resources/views/livewire/topbar/actions.blade.php +++ b/resources/views/livewire/topbar/actions.blade.php @@ -2,8 +2,9 @@
{{ $this->speedtestAction }} - {{ $this->dashboardAction }} - + @if ($showDashboard) + {{ $this->dashboardAction }} + @endif