From 2fd5f4e46a1512ef556374595cf18d6536e7239e Mon Sep 17 00:00:00 2001 From: Davide Carpini Date: Tue, 12 Mar 2024 22:44:25 +0100 Subject: [PATCH] fix: add image and i18n --- app/(auth)/register/page.tsx | 24 ++++++++++++++++-------- lib/i18n/languages/en.json | 11 +++++++++-- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/app/(auth)/register/page.tsx b/app/(auth)/register/page.tsx index d1405887..ee9f7288 100644 --- a/app/(auth)/register/page.tsx +++ b/app/(auth)/register/page.tsx @@ -1,5 +1,7 @@ +/* eslint-disable @next/next/no-img-element */ import Link from "next/link" +import i18n from "@/lib/i18n" import { cn } from "@/lib/utils" import { buttonVariants } from "@/components/ui/button" import { UserAuthForm } from "@/components/app/login/user-auth-form" @@ -20,35 +22,41 @@ export default function RegisterPage() { "absolute right-4 top-4 md:right-8 md:top-8" )} > - Login + {i18n.t("Login")} -
+
+ Image Description +

- Create an account + {i18n.t("Create an account")}

- Enter your email below to create your account + {i18n.t("Enter your email below to create your account")}

- By clicking continue, you agree to our{" "} + {i18n.t("By clicking continue, you agree to our")}{" "} - Terms of Service + {i18n.t("Terms of Service")} {" "} - and{" "} + {i18n.t("and")}{" "} - Privacy Policy + {i18n.t("Privacy Policy")} .

diff --git a/lib/i18n/languages/en.json b/lib/i18n/languages/en.json index 4e0732e1..6fffa896 100644 --- a/lib/i18n/languages/en.json +++ b/lib/i18n/languages/en.json @@ -39,5 +39,12 @@ "The content is not available": "The content is not available", "To achieve a well-done translation, we need to provide context to the AI": "To achieve a well-done translation, we need to provide context to the AI", "TS code": "TS code", - "Upload .json file": "Upload .json file" -} + "Upload .json file": "Upload .json file", + "Login": "Login", + "Create an account": "Create an account", + "Enter your email below to create your account": "Enter your email below to create your account", + "By clicking continue, you agree to our": "By clicking continue, you agree to our", + "Terms of Service": "Terms of Service", + "and": "and", + "Privacy Policy": "Privacy Policy" +} \ No newline at end of file