This commit is contained in:
MangoPig 2025-12-30 01:45:07 +00:00
parent 3344492f76
commit 752f6eab9a
4 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,7 @@ export const dict = {
noAccount: "Don't Have an Account?", noAccount: "Don't Have an Account?",
registerLink: "Register", registerLink: "Register",
loginBtn: "Login", loginBtn: "Login",
orContinue: "Or continue with",
}, },
}, },
}; };

View File

@ -25,6 +25,7 @@ export const dict = {
noAccount: "還沒有帳號?", noAccount: "還沒有帳號?",
registerLink: "註冊", registerLink: "註冊",
loginBtn: "登入", loginBtn: "登入",
orContinue: "或者使用以下方式登入",
}, },
}, },
}; };

View File

@ -31,7 +31,7 @@ const LoginPage: Component = () => {
</form> </form>
{/* Federated */} {/* Federated */}
<div class={styles.federatedLogin}> <div class={styles.federatedLogin} data-label={t("auth").login.orContinue}>
<GoogleBtn class={styles.federatedBtn} /> <GoogleBtn class={styles.federatedBtn} />
<GoogleBtn class={styles.federatedBtn} /> <GoogleBtn class={styles.federatedBtn} />
<GoogleBtn class={styles.federatedBtn} /> <GoogleBtn class={styles.federatedBtn} />

View File

@ -89,7 +89,7 @@
position: relative; position: relative;
&::after { &::after {
content: "or continue with"; content: attr(data-label);
position: absolute; position: absolute;
top: 0; top: 0;
left: 50%; left: 50%;