diff --git a/config/devdojo/auth/descriptions.php b/config/devdojo/auth/descriptions.php index 69accd7..283fb5e 100644 --- a/config/devdojo/auth/descriptions.php +++ b/config/devdojo/auth/descriptions.php @@ -14,6 +14,7 @@ 'dev_mode' => 'This is for development mode, when set in Dev Mode Assets will be loaded from Vite', 'enable_2fa' => 'Enable the ability for users to turn on Two Factor Authentication', 'login_show_social_providers' => 'Show the social providers login buttons on the login form', + 'center_align_social_provider_button_content' => 'Center align the content in the social provider button?', 'social_providers_location' => 'The location of the social provider buttons (top or bottom)', ], ]; diff --git a/config/devdojo/auth/settings.php b/config/devdojo/auth/settings.php index bcdc9ef..1455ba6 100644 --- a/config/devdojo/auth/settings.php +++ b/config/devdojo/auth/settings.php @@ -13,5 +13,6 @@ 'dev_mode' => false, 'enable_2fa' => false, // Enable or disable 2FA functionality globally 'login_show_social_providers' => true, + 'center_align_social_provider_button_content' => false, 'social_providers_location' => 'bottom', ]; diff --git a/resources/views/components/elements/social-button.blade.php b/resources/views/components/elements/social-button.blade.php index b728865..5120068 100644 --- a/resources/views/components/elements/social-button.blade.php +++ b/resources/views/components/elements/social-button.blade.php @@ -1,4 +1,4 @@ - + @if(isset($provider->svg) && !empty(trim($provider->svg))) {!! $provider->svg !!}