diff --git a/public/images/eye-slash.svg b/public/images/eye-slash.svg new file mode 100644 index 000000000..bf17babc6 --- /dev/null +++ b/public/images/eye-slash.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/public/images/eye.svg b/public/images/eye.svg new file mode 100644 index 000000000..efcb24e6d --- /dev/null +++ b/public/images/eye.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/public/images/login_bg.png b/public/images/login_bg.png new file mode 100644 index 000000000..560957372 Binary files /dev/null and b/public/images/login_bg.png differ diff --git a/public/images/social/devicon_google.svg b/public/images/social/devicon_google.svg new file mode 100644 index 000000000..12d6c23de --- /dev/null +++ b/public/images/social/devicon_google.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/public/images/social/fe_github.svg b/public/images/social/fe_github.svg new file mode 100644 index 000000000..4ff99eefb --- /dev/null +++ b/public/images/social/fe_github.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/social/logos_facebook.svg b/public/images/social/logos_facebook.svg new file mode 100644 index 000000000..d133b9959 --- /dev/null +++ b/public/images/social/logos_facebook.svg @@ -0,0 +1,4 @@ + + + + diff --git a/public/images/social/prime_twitter.svg b/public/images/social/prime_twitter.svg new file mode 100644 index 000000000..7fccfd25d --- /dev/null +++ b/public/images/social/prime_twitter.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/resources/assets/sass/pages/login.scss b/resources/assets/sass/pages/login.scss index 65613f394..24cdba8bb 100644 --- a/resources/assets/sass/pages/login.scss +++ b/resources/assets/sass/pages/login.scss @@ -135,4 +135,8 @@ border-right: 1px solid #ccc; flex: 1; } +} + +.help-block .errorlist { + margin: 0; } \ No newline at end of file diff --git a/resources/lang/en/login.php b/resources/lang/en/login.php index b0e3a3503..2d67746ba 100644 --- a/resources/lang/en/login.php +++ b/resources/lang/en/login.php @@ -19,15 +19,14 @@ 'google' => 'Sign in with Google', 'azure' => 'Sign in with Azure', - 'email' => 'E-Mail Address', + 'email' => 'Email address', 'password' => 'Password', - 'remember' => 'Remember Me', - 'forgotten_password' => 'Forgot Your Password ?', + 'remember' => 'Keep me signed in', + 'forgotten_password' => 'Forgot Your Password', 'no_account' => 'Don\'t have an account ?', 'signup' => 'Sign Up', 'reset' => 'Reset Your Password', 'send_password' => 'Send Password Reset Link', 'confirm_password' => 'Confirm Password', - 'name' => 'name', - + 'name' => 'Full name', ]; diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index fbd360632..bede4e7dd 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,101 +1,133 @@ -@extends('layout.base') +@extends('layout.new_base') -@section('content') -
- -
-
-

#EUCodeWeek

-

@lang('login.login')

-
-
- -
- -
+@php + $list = [ + (object) ['label' => __('menu.signin'), 'href' => ''], + ]; +@endphp +@section('layout.breadcrumb') + @include('layout.breadcrumb', ['list' => $list]) +@endsection - +
+ @livewire('still-have-question-section')
@endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index f7cb0cb59..656298027 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -1,88 +1,173 @@ -@extends('layout.base') +@extends('layout.new_base') -@section('content') -
- -
-
-

#EUCodeWeek

-

@lang('login.register')

-
-
- -
+@php + $list = [ + (object) ['label' => __('login.register'), 'href' => ''], + ]; +@endphp +@section('layout.breadcrumb') + @include('layout.breadcrumb', ['list' => $list]) +@endsection -
-
+@section('content') +
+
+
+ + +
+
@lang('base.or')
+
+ @csrf @honeypot -
-
- +
+
+ + +
+
+ @component('components.validation-errors', ['field'=>'email'])@endcomponent +
+
+
+
+ + class="border-2 border-solid border-dark-blue-200 w-full rounded-full h-12 px-4 mt-3" + value="{{old('name')}}" required autofocus>
-
+
@component('components.validation-errors', ['field'=>'name'])@endcomponent
- -
-
- - +
+
+ +
+ + + +
-
- @component('components.validation-errors', ['field'=>'email'])@endcomponent +
+ @component('components.validation-errors', ['field'=>'password'])@endcomponent
- - -
-
- - +
+
+ +
+ + + +
-
+
@component('components.validation-errors', ['field'=>'password'])@endcomponent
- -
-
- - +
+
+ + +
-
- @component('components.validation-errors', ['field'=>'password-confirm'])@endcomponent +
+ @component('components.validation-errors', ['field'=>'privacy'])@endcomponent
-
- - @component('components.validation-errors', ['field'=>'privacy']) - @endcomponent -
- -
-
- -
+
+
- -
+ +
+ @livewire('still-have-question-section')
@endsection + +@push('scripts') + +@endpush \ No newline at end of file diff --git a/resources/views/livewire/still-have-question-section.blade.php b/resources/views/livewire/still-have-question-section.blade.php index ad334c5b3..538725a13 100644 --- a/resources/views/livewire/still-have-question-section.blade.php +++ b/resources/views/livewire/still-have-question-section.blade.php @@ -1,7 +1,7 @@
-
+

@lang('base.still_have_question')

diff --git a/tailwind.config.js b/tailwind.config.js index 2d7826eee..2bd757906 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -27,7 +27,12 @@ module.exports = { 'yellow-2': '#FFF7CC', 'dark-blue': '#1C4DA1', 'hover-blue': '#0A42A1', - 'slate': '#5C656D' + 'slate': '#5C656D', + 'error-200': '#E30519', + 'dark-blue-50': '#E8EDF6', + 'dark-blue-200': '#A4B8D9', + 'dark-blue-300': '#7794C7', + 'dark-blue-400': '#4971B4' }, screens: { 'tablet': '993px',