aboutsummaryrefslogtreecommitdiff
path: root/app/View/Components/Layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/View/Components/Layout.php')
-rw-r--r--app/View/Components/Layout.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/View/Components/Layout.php b/app/View/Components/Layout.php
new file mode 100644
index 0000000..576d1a0
--- /dev/null
+++ b/app/View/Components/Layout.php
@@ -0,0 +1,26 @@
+<?php
+
+namespace App\View\Components;
+
+use Closure;
+use Illuminate\Contracts\View\View;
+use Illuminate\View\Component;
+
+class Layout extends Component
+{
+ /**
+ * Create a new component instance.
+ */
+ public function __construct()
+ {
+ //
+ }
+
+ /**
+ * Get the view / contents that represent the component.
+ */
+ public function render(): View|Closure|string
+ {
+ return view('components.layout');
+ }
+}