From 95d6cc192daae018cb66e756ab38472497e2e6e6 Mon Sep 17 00:00:00 2001 From: Amirhossein Khalili Date: Fri, 1 May 2026 02:17:31 +0330 Subject: [PATCH] feat(auth): add branded google sign-in button --- src/pages/Auth.tsx | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/pages/Auth.tsx b/src/pages/Auth.tsx index 8221e3e..a3b558d 100644 --- a/src/pages/Auth.tsx +++ b/src/pages/Auth.tsx @@ -21,6 +21,27 @@ const PERSIAN_DIGITS = ["۰", "۱", "۲", "۳", "۴", "۵", "۶", "۷", "۸", " const toPersianDigits = (value: string) => value.replace(/\d/g, (digit) => PERSIAN_DIGITS[Number.parseInt(digit, 10)] ?? digit) +const GoogleIcon = () => ( + +) + export default function Auth() { const navigate = useNavigate() const { t, lang } = useTranslation() @@ -306,7 +327,8 @@ export default function Auth() { disabled={loading} className="h-11 w-full" > - {t.login.continueWithGoogle} + + {t.login.continueWithGoogle}