diff --git a/resources/scss/app.scss b/resources/scss/app.scss index b73561a..173a9ba 100644 --- a/resources/scss/app.scss +++ b/resources/scss/app.scss @@ -38,6 +38,7 @@ nav .fa { main { display: flex; + flex-direction: column; width: min(max(90vw,1080px), 100%); background-color: beige; flex-grow: 1; diff --git a/resources/scss/login.scss b/resources/scss/login.scss new file mode 100644 index 0000000..288122a --- /dev/null +++ b/resources/scss/login.scss @@ -0,0 +1,13 @@ +.login-register-container { + display: flex; + width: 100%; + justify-content: space-around; + flex-wrap: wrap; + & div { + &, & form { + display: flex; + flex-direction: column; + } + } +} + diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 9a3fa0e..5e1390a 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -16,6 +16,18 @@
+
+ @if(Session::has('success')) +
+ {{ Session::get('success') }} +
+ @endif + @foreach($errors->all() as $message) +
+ {{ $message }} +
+ @endforeach +
@yield('main')
diff --git a/resources/views/login.blade.php b/resources/views/login.blade.php index be3fac8..d485dc6 100644 --- a/resources/views/login.blade.php +++ b/resources/views/login.blade.php @@ -1,31 +1,35 @@ @extends('layouts.app') +@push('head') + +@endpush + @section('title', "Sklep") @section('main') -@if(Session::has('success')) -
- {{ Session::get('success') }} -
-@endif -
-
- - - - @csrf -
-
-
-
- - - - - - - @csrf -
+ +
+ +
+

Zarejstruj się

+
+ + + + + + + @csrf +
+
diff --git a/webpack.mix.js b/webpack.mix.js index 8394629..dba5061 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -14,4 +14,7 @@ const mix = require("laravel-mix"); mix.js("resources/js/app.js", "public/js").sass( "resources/scss/app.scss", "public/css" +).sass( + "resources/scss/login.scss", + "public/css" );