Skip to content

An AI-powered search engine with a generative UI

style: relocate back-to-home link outside auth form cards

Yoshiki Miura4fadf4d42146
diff --git a/components/login-form.tsx b/components/login-form.tsx
index 85c84e5a..089154ac 100644
--- a/components/login-form.tsx
+++ b/components/login-form.tsx
@@ -150,6 +150,11 @@ export function LoginForm({
</div>
</CardContent>
</Card>
+ <div className="text-center text-xs text-muted-foreground">
+ <Link href="/" className="hover:underline">
+ &larr; Back to Home
+ </Link>
+ </div>
</div>
)
}
diff --git a/components/sign-up-form.tsx b/components/sign-up-form.tsx
index 1dbf1400..1ff06cb7 100644
--- a/components/sign-up-form.tsx
+++ b/components/sign-up-form.tsx
@@ -126,6 +126,11 @@ export function SignUpForm({
</form>
</CardContent>
</Card>
+ <div className="text-center text-xs text-muted-foreground">
+ <Link href="/" className="hover:underline">
+ &larr; Back to Home
+ </Link>
+ </div>
</div>
)
}