diff --git a/app/View/Page/Header.php b/app/View/Page/Header.php index 40fb1924..d99f3adb 100644 --- a/app/View/Page/Header.php +++ b/app/View/Page/Header.php @@ -7,7 +7,7 @@ use Illuminate\View\Component; class Header extends Component { - public function __construct(public string $title, public bool $closeable = false) + public function __construct(public string $title) { } @@ -15,17 +15,12 @@ class Header extends Component { return <<<'HTML'
-
+
{{ $beforeTitle ?? ''}} {{ $title }} {{ $toolbar ?? '' }}
- @if ($closeable) - - - - @endif {{ $right ?? '' }}
diff --git a/app/View/Page/Layout.php b/app/View/Page/Layout.php index 1d081eba..76ed437f 100644 --- a/app/View/Page/Layout.php +++ b/app/View/Page/Layout.php @@ -28,7 +28,7 @@ class Layout extends Component