File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 17
17
'enable_email_registration ' => 'Enable the ability for users to register via email ' ,
18
18
'login_show_social_providers ' => 'Show the social providers login buttons on the login form ' ,
19
19
'center_align_social_provider_button_content ' => 'Center align the content in the social provider button? ' ,
20
- 'center_align_container_text ' => 'Center align the text in the container ? ' ,
20
+ 'center_align_text ' => 'Center align text? ' ,
21
21
'social_providers_location ' => 'The location of the social provider buttons (top or bottom) ' ,
22
22
'check_account_exists_before_login ' => 'Determines if the system checks for account existence before login ' ,
23
23
],
Original file line number Diff line number Diff line change 16
16
'enable_email_registration ' => true ,
17
17
'login_show_social_providers ' => true ,
18
18
'center_align_social_provider_button_content ' => false ,
19
- 'center_align_container_text ' => false ,
19
+ 'center_align_text ' => false ,
20
20
'social_providers_location ' => 'bottom ' ,
21
21
'check_account_exists_before_login ' => false ,
22
22
];
Original file line number Diff line number Diff line change 13
13
@endphp
14
14
15
15
<div id =" auth-container-parent" class =" relative w-full sm:max-w-md {{ $containerParentClasses } }" >
16
- <div id =" auth-container" class =" flex relative top-0 z-20 flex-col justify-center @if ( config ( ' devdojo.auth.settings.center_align_container_text ' ) ) {{ ' items-center ' } } @else {{ ' items- stretch' } } @endif px-10 py-8 w-full h-screen bg-white border-gray-200 sm:top-auto sm:h-full {{ $containerClasses } }" >
16
+ <div id =" auth-container" class =" flex relative top-0 z-20 flex-col justify-center items-stretch px-10 py-8 w-full h-screen bg-white border-gray-200 sm:top-auto sm:h-full {{ $containerClasses } }" >
17
17
{{ $slot } }
18
18
</div >
19
19
</div >
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ public function authenticate()
189
189
190
190
191
191
@if (config (' devdojo.auth.settings.registration_enabled' , true ) )
192
- <div class =" mt-3 space-x-0.5 text-sm leading-5 text-left" style =" color :{{ config(' devdojo.auth.appearance.color.text' ) }}" >
192
+ <div class =" mt-3 space-x-0.5 text-sm leading-5 @if ( config ( ' devdojo.auth.settings.center_align_text ' ) ) {{ ' text-center ' } } @else {{ ' text- left' } } @endif " style =" color :{{ config(' devdojo.auth.appearance.color.text' ) }}" >
193
193
<span class =" opacity-[47%]" > {{ config (' devdojo.auth.language.login.dont_have_an_account' ) } } </span >
194
194
<x-auth::elements .text-link data-auth =" register-link" href =" {{ route (' auth.register' ) } }" >{{ config (' devdojo.auth.language.login.sign_up' ) } } </x-auth::elements .text-link >
195
195
</div >
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ public function register()
184
184
</form >
185
185
@endif
186
186
187
- <div class =" @if (config (' devdojo.auth.settings.social_providers_location' ) != ' top' && $showEmailRegistration ){{ ' mt-3' } }@endif space-x-0.5 text-sm leading-5 text-left" style =" color :{{ config(' devdojo.auth.appearance.color.text' ) }}" >
187
+ <div class =" @if (config (' devdojo.auth.settings.social_providers_location' ) != ' top' && $showEmailRegistration ){{ ' mt-3' } }@endif space-x-0.5 text-sm leading-5 @if ( config ( ' devdojo.auth.settings.center_align_text ' ) ) {{ ' text-center ' } } @else {{ ' text- left' } } @endif " style =" color :{{ config(' devdojo.auth.appearance.color.text' ) }}" >
188
188
<span class =" opacity-[47%]" >{{ config (' devdojo.auth.language.register.already_have_an_account' )} } </span >
189
189
<x-auth::elements .text-link data-auth =" login-link" href =" {{ route (' auth.login' ) } }" >{{ config (' devdojo.auth.language.register.sign_in' )} } </x-auth::elements .text-link >
190
190
</div >
You can’t perform that action at this time.
0 commit comments