fix(auth): remove duplicate headings and subtitle on register page

This commit is contained in:
openhands committed 2026-10-22 18:28:58 +02:00
1 parent 30583b8e2e
commit e4564abc5e
3 files changed
+14 -15

No files matched your search

+3 -7
View File
@@ -16,6 +16,7 @@ export async function generateMetadata(): Promise<Metadata> {
return {
title,
description,
robots: { index: false, follow: false },
openGraph: { title, description, type: "website" },
};
}
@@ -35,13 +36,8 @@ export default async function RegisterPage() {
copy={{
title: t("title"),
subtitle: t("subtitle"),
promoTitle: (
<>
{t("title")} —{" "}
<span className="gradient-text">{data.hotelName}</span>
</>
),
promoSubtitle: t("subtitle"),
promoTitle: t("subtitle"),
promoSubtitle: undefined,
usersOnlineLabel: t("usersOnline", { count: data.online }),
whoIsOnlineLabel: t("whoIsOnline"),
newestCitizensLabel: t("newestCitizens"),