diff --git a/.env.example b/.env.example index 35db1dd..4c25f9a 100644 --- a/.env.example +++ b/.env.example @@ -15,7 +15,7 @@ PHP_CLI_SERVER_WORKERS=4 BCRYPT_ROUNDS=12 -LOG_CHANNEL=stack +LOG_CHANNEL=daily LOG_STACK=single LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug diff --git a/app/View/Components/Button.php b/app/View/Components/Button.php new file mode 100644 index 0000000..6cf873c --- /dev/null +++ b/app/View/Components/Button.php @@ -0,0 +1,40 @@ +type = $type; + $this->loadingTarget = $loadingTarget; + $this->class = $class; + $this->variant = $variant; + } + + /** + * Get the view / contents that represent the component. + * + * @return View + */ + public function render(): View + { + return view('components.button'); + } +} diff --git a/resources/views/components/auth-session-status.blade.php b/resources/views/components/auth-session-status.blade.php index f7b3b32..a81b246 100644 --- a/resources/views/components/auth-session-status.blade.php +++ b/resources/views/components/auth-session-status.blade.php @@ -1,7 +1,7 @@ @props(['status']) @if ($status) -