# HG changeset patch # User luka # Date 1755649956 14400 # Node ID ac199a7a89312c5759afb7eea3b37778f51fd6e3 # Parent a2a3059de103e2549147a3f6bad7c18693fe39c5 Changes to the views and only defualt option is available diff -r a2a3059de103 -r ac199a7a8931 src/Console/InstallCommand.php --- a/src/Console/InstallCommand.php Thu Aug 14 21:09:25 2025 -0400 +++ b/src/Console/InstallCommand.php Tue Aug 19 20:32:36 2025 -0400 @@ -3,7 +3,6 @@ namespace Wizard\Auth\Console; use Illuminate\Console\Command; -use Illuminate\Contracts\Console\PromptsForMissingInput; use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Arr; use Illuminate\Support\Str; @@ -19,8 +18,8 @@ use function Laravel\Prompts\multiselect; use function Laravel\Prompts\select; -#[AsCommand(name: 'breeze:install')] -class InstallCommand extends Command implements PromptsForMissingInput +#[AsCommand(name: 'auth:install')] +class InstallCommand extends Command { use InstallsBladeStack; @@ -29,14 +28,14 @@ * * @var string */ - protected $signature = 'breeze:install {stack : The development stack that should be installed (blade)}'; + protected $signature = 'auth:install'; /** * The console command description. * * @var string */ - protected $description = 'Install the Breeze controllers and resources'; + protected $description = 'Install the Basic Auth controllers and resources'; /** * Execute the console command. @@ -57,11 +56,7 @@ { (new Filesystem)->ensureDirectoryExists(base_path('tests/Feature')); - $stubStack = match ($this->argument('stack')) { - default => 'default', - }; - - (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/'.$stubStack.'/tests/Feature', base_path('tests/Feature')); + (new Filesystem)->copyDirectory(__DIR__.'/../../stubs/default/tests/Feature', base_path('tests/Feature')); return true; } @@ -340,34 +335,6 @@ } /** - * Prompt for missing input arguments using the returned questions. - * - * @return array - */ - protected function promptForMissingArgumentsUsing() - { - return [ - 'stack' => fn () => select( - label: 'Which Breeze stack would you like to install?', - options: [ - 'blade' => 'Blade', - ], - scroll: 6, - ), - ]; - } - - /** - * Interact further with the user if they were prompted for missing arguments. - * - * @return void - */ - protected function afterPromptingForMissingArguments(InputInterface $input, OutputInterface $output) - { - $stack = $input->getArgument('stack'); - } - - /** * Determine whether the project is already using Pest. * * @return bool diff -r a2a3059de103 -r ac199a7a8931 stubs/default/resources/views/auth/login.blade.php --- a/stubs/default/resources/views/auth/login.blade.php Thu Aug 14 21:09:25 2025 -0400 +++ b/stubs/default/resources/views/auth/login.blade.php Tue Aug 19 20:32:36 2025 -0400 @@ -8,14 +8,16 @@
- +
- +
@@ -27,16 +29,22 @@ -
- @if (Route::has('password.request')) - - {{ __('Forgot your password?') }} - - @endif - - +
+
+ @if (Route::has('password.request')) + + {{ __('Forgot your password?') }} + + @endif + @if (Route::has('register')) + + {{ __('Don\'t have an account?') }} + + @endif +
+
diff -r a2a3059de103 -r ac199a7a8931 stubs/default/resources/views/layouts/guest.blade.php --- a/stubs/default/resources/views/layouts/guest.blade.php Thu Aug 14 21:09:25 2025 -0400 +++ b/stubs/default/resources/views/layouts/guest.blade.php Tue Aug 19 20:32:36 2025 -0400 @@ -7,22 +7,18 @@ {{ config('app.name', 'Laravel') }} - - - - - @vite(['resources/css/app.css', 'resources/js/app.js']) + @vite(['resources/sass/app.scss', 'resources/js/app.js']) - -
+ +
- +
-
+
{{ $slot }}
diff -r a2a3059de103 -r ac199a7a8931 stubs/default/resources/views/layouts/navigation.blade.php --- a/stubs/default/resources/views/layouts/navigation.blade.php Thu Aug 14 21:09:25 2025 -0400 +++ b/stubs/default/resources/views/layouts/navigation.blade.php Tue Aug 19 20:32:36 2025 -0400 @@ -10,9 +10,9 @@