onboarding flow

This commit is contained in:
hackerESQ
2024-08-23 20:57:31 -05:00
parent 3fcc4d9833
commit c255d14f23
4 changed files with 18 additions and 5 deletions
+1
View File
@@ -74,6 +74,7 @@
"I agree to the :terms_of_service and :privacy_policy": "I agree to the :terms_of_service and :privacy_policy", "I agree to the :terms_of_service and :privacy_policy": "I agree to the :terms_of_service and :privacy_policy",
"Terms of Service": "Terms of Service", "Terms of Service": "Terms of Service",
"Privacy Policy": "Privacy Notice", "Privacy Policy": "Privacy Notice",
"Need to register?": "Need to register?",
"Already registered?": "Already registered?", "Already registered?": "Already registered?",
"Reset Password": "Reset Password", "Reset Password": "Reset Password",
"Please confirm access to your account by entering the authentication code provided by your authenticator application.": "Please confirm access to your account by entering the authentication code provided by your authenticator application.", "Please confirm access to your account by entering the authentication code provided by your authenticator application.": "Please confirm access to your account by entering the authentication code provided by your authenticator application.",
+1
View File
@@ -74,6 +74,7 @@
"I agree to the :terms_of_service and :privacy_policy": "Acepto los :terms_of_service y la :privacy_policy", "I agree to the :terms_of_service and :privacy_policy": "Acepto los :terms_of_service y la :privacy_policy",
"Terms of Service": "Términos de Servicio", "Terms of Service": "Términos de Servicio",
"Privacy Policy": "Aviso de Privacidad", "Privacy Policy": "Aviso de Privacidad",
"Need to register?": "¿Necesitas registrarte?",
"Already registered?": "¿Ya estás registrado?", "Already registered?": "¿Ya estás registrado?",
"Reset Password": "Restablecer Contraseña", "Reset Password": "Restablecer Contraseña",
"Please confirm access to your account by entering the authentication code provided by your authenticator application.": "Por favor, confirma el acceso a tu cuenta ingresando el código de autenticación proporcionado por tu aplicación de autenticación.", "Please confirm access to your account by entering the authentication code provided by your authenticator application.": "Por favor, confirma el acceso a tu cuenta ingresando el código de autenticación proporcionado por tu aplicación de autenticación.",
+12 -1
View File
@@ -34,7 +34,7 @@
<div class="flex items-center justify-end mt-4"> <div class="flex items-center justify-end mt-4">
@if (Route::has('password.request')) @if (Route::has('password.request'))
<a class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('password.request') }}"> <a class="text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('password.request') }}">
{{ __('Forgot your password?') }} {{ __('Forgot your password?') }}
</a> </a>
@endif @endif
@@ -42,6 +42,17 @@
<x-button type="submit" class="ms-4" > <x-button type="submit" class="ms-4" >
{{ __('Log in') }} {{ __('Log in') }}
</x-button> </x-button>
</div>
<x-section-border />
<div class="">
<x-button link="{{ route('register') }}" class="btn-sm btn-block btn-outline btn-secondary" >
{{ __('Need to register?') }}
</x-button>
</div> </div>
</form> </form>
</x-authentication-card> </x-authentication-card>
+4 -4
View File
@@ -35,10 +35,10 @@
<div class="flex items-center"> <div class="flex items-center">
<x-checkbox name="terms" id="terms" required /> <x-checkbox name="terms" id="terms" required />
<div class="ms-2"> <div class="ms-2 text-sm">
{!! __('I agree to the :terms_of_service and :privacy_policy', [ {!! __('I agree to the :terms_of_service and :privacy_policy', [
'terms_of_service' => '<a target="_blank" href="'.route('terms.show').'" class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800">'.__('Terms of Service').'</a>', 'terms_of_service' => '<a target="_blank" href="'.route('terms.show').'" class=" text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800">'.__('Terms of Service').'</a>',
'privacy_policy' => '<a target="_blank" href="'.route('policy.show').'" class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800">'.__('Privacy Policy').'</a>', 'privacy_policy' => '<a target="_blank" href="'.route('policy.show').'" class=" text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800">'.__('Privacy Policy').'</a>',
]) !!} ]) !!}
</div> </div>
</div> </div>
@@ -47,7 +47,7 @@
@endif @endif
<div class="flex items-center justify-end mt-4"> <div class="flex items-center justify-end mt-4">
<a class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('login') }}"> <a class=" text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('login') }}">
{{ __('Already registered?') }} {{ __('Already registered?') }}
</a> </a>