feat(site): consistent card radius and remove duplicate login CTAs
Professional tidy-up of the landing experience: - SurfaceCard: unified rounded-xl radius for a crisper, consistent look. - Hero: matches the new card radius and gains a dual-direction title shadow so the headline stays readable over the header artwork. - Login/register: drop the duplicated "no account / have an account" paragraphs — the forms already ship an inline footer, so one clear CTA cluster remains and the side column is cleaner.
This commit is contained in:
1 parent
29b9a4b0dc
commit
3265cf1fad
4 files changed
+6
-38
No files matched your search
@@ -4,7 +4,6 @@ import Image from "next/image";
|
||||
import { getTranslations } from "next-intl/server";
|
||||
import { AuthTopBar } from "@/components/auth/auth-top-bar";
|
||||
import { RegisterForm } from "@/components/auth/register-form";
|
||||
import Link from "@/components/link";
|
||||
import { Reveal } from "@/components/motion-reveal";
|
||||
import { UserAvatarThumbnail } from "@/components/shared/user-avatar-thumbnail";
|
||||
import { SurfaceCard } from "@/components/surface-card";
|
||||
@@ -197,22 +196,6 @@ export default async function RegisterPage() {
|
||||
</div>
|
||||
</SurfaceCard>
|
||||
)}
|
||||
|
||||
<p
|
||||
className="text-sm text-center"
|
||||
style={{ color: "var(--color-text-muted)" }}
|
||||
>
|
||||
{tpr("alreadyHaveAccountPre")}{" "}
|
||||
<Link
|
||||
href="/login"
|
||||
className="font-extrabold hover:underline"
|
||||
style={{
|
||||
color: "var(--color-primary-readable, var(--color-primary))",
|
||||
}}
|
||||
>
|
||||
{tpr("alreadyHaveAccountLink")}
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Right: form */}
|
||||
@@ -220,7 +203,7 @@ export default async function RegisterPage() {
|
||||
<SurfaceCard
|
||||
title={tpr("title")}
|
||||
icon="/assets/images/icons/navigation/me.png"
|
||||
bodyClassName="p-6"
|
||||
bodyClassName="p-6 sm:p-7"
|
||||
>
|
||||
<p
|
||||
className="text-sm mb-6"
|
||||
|
||||
Reference in new issue
Block a user