diff --git a/lang/en/auth.php b/lang/en/auth.php index 9662c88d..18dd53c1 100644 --- a/lang/en/auth.php +++ b/lang/en/auth.php @@ -52,6 +52,7 @@ ], 'or_continue_with' => 'Or continue with', + 'or_continue_with_email' => 'Or continue with email', 'google_login' => 'Log in with Google', 'google_signup' => 'Sign up with Google', 'github_login' => 'Log in with GitHub', @@ -78,9 +79,10 @@ ], 'register' => [ - 'title' => 'Create an account', - 'description' => 'Enter your details below to create your account', + 'title' => 'Your whole social calendar, in one place', + 'description' => 'Create your account and start scheduling posts across every network.', 'page_title' => 'Register', + 'signup_with_email' => 'Sign up with email', 'name' => 'Name', 'name_placeholder' => 'Full name', 'email' => 'Email address', diff --git a/lang/es/auth.php b/lang/es/auth.php index 383fb2ba..4acdad96 100644 --- a/lang/es/auth.php +++ b/lang/es/auth.php @@ -40,6 +40,7 @@ ], 'or_continue_with' => 'O continuar con', + 'or_continue_with_email' => 'O continúa con correo', 'google_login' => 'Iniciar sesión con Google', 'google_signup' => 'Registrarse con Google', 'github_login' => 'Iniciar sesión con GitHub', @@ -66,9 +67,10 @@ ], 'register' => [ - 'title' => 'Crear una cuenta', - 'description' => 'Introduce tus datos para crear tu cuenta', + 'title' => 'Todo tu calendario social en un solo lugar', + 'description' => 'Crea tu cuenta y empieza a programar publicaciones en todas las redes.', 'page_title' => 'Registro', + 'signup_with_email' => 'Registrarse con correo', 'name' => 'Nombre', 'name_placeholder' => 'Nombre completo', 'email' => 'Correo electrónico', diff --git a/lang/pt-BR/auth.php b/lang/pt-BR/auth.php index 192cbe0b..6ce4dcb4 100644 --- a/lang/pt-BR/auth.php +++ b/lang/pt-BR/auth.php @@ -52,6 +52,7 @@ ], 'or_continue_with' => 'Ou continue com', + 'or_continue_with_email' => 'Ou continue com e-mail', 'google_login' => 'Entrar com Google', 'google_signup' => 'Cadastrar com Google', 'github_login' => 'Entrar com GitHub', @@ -78,9 +79,10 @@ ], 'register' => [ - 'title' => 'Criar uma conta', - 'description' => 'Digite seus dados abaixo para criar sua conta', + 'title' => 'Todo o seu calendário social num só lugar', + 'description' => 'Crie sua conta e comece a agendar posts em todas as redes.', 'page_title' => 'Cadastro', + 'signup_with_email' => 'Cadastrar com e-mail', 'name' => 'Nome', 'name_placeholder' => 'Nome completo', 'email' => 'Endereço de email', diff --git a/resources/js/components/auth/SocialLogin.vue b/resources/js/components/auth/SocialLogin.vue index ca396868..b6d196e6 100644 --- a/resources/js/components/auth/SocialLogin.vue +++ b/resources/js/components/auth/SocialLogin.vue @@ -6,9 +6,13 @@ import { Button } from '@/components/ui/button'; import { redirect as githubRedirect } from '@/routes/auth/github'; import { redirect as googleRedirect } from '@/routes/auth/google'; -defineProps<{ - mode: 'login' | 'signup'; -}>(); +withDefaults( + defineProps<{ + mode: 'login' | 'signup'; + hideDivider?: boolean; + }>(), + { hideDivider: false }, +); const page = usePage(); const googleEnabled = computed(() => Boolean(page.props.googleAuthEnabled)); @@ -31,6 +35,7 @@ const hasSocial = computed(() => googleEnabled.value || githubEnabled.value);