chore: change sign-in box footer to built-with

This commit is contained in:
Bereket Engida
2025-06-12 21:56:53 -07:00
parent 6fcce5e6d1
commit b253130d5e
4 changed files with 26 additions and 10 deletions

View File

@@ -178,15 +178,17 @@ export default function SignIn() {
</div>
</CardContent>
<CardFooter>
<div className="flex justify-center w-full border-t py-4">
<div className="flex justify-center w-full border-t pt-4">
<p className="text-center text-xs text-neutral-500">
Powered by{" "}
built with{" "}
<Link
href="https://better-auth.com"
className="underline"
target="_blank"
>
<span className="dark:text-orange-200/90">better-auth.</span>
<span className="dark:text-white/70 cursor-pointer">
better-auth.
</span>
</Link>
</p>
</div>

View File

@@ -17,6 +17,7 @@ import { Loader2, X } from "lucide-react";
import { signUp } from "@/lib/auth-client";
import { toast } from "sonner";
import { useRouter } from "next/navigation";
import Link from "next/link";
export function SignUp() {
const [firstName, setFirstName] = useState("");
@@ -182,9 +183,18 @@ export function SignUp() {
</div>
</CardContent>
<CardFooter>
<div className="flex justify-center w-full border-t py-4">
<div className="flex justify-center w-full border-t pt-4">
<p className="text-center text-xs text-neutral-500">
Secured by <span className="text-orange-400">better-auth.</span>
built with{" "}
<Link
href="https://better-auth.com"
className="underline"
target="_blank"
>
<span className="dark:text-white/70 cursor-pointer">
better-auth.
</span>
</Link>
</p>
</div>
</CardFooter>

View File

@@ -507,7 +507,7 @@ export function Builder() {
className="cursor-pointer"
htmlFor="label-powered-by"
>
Powered by label
Show Built with label
</Label>
<Switch
id="label-powered-by"

View File

@@ -139,13 +139,15 @@ export default function SignIn() {
<CardFooter>
<div className="flex justify-center w-full border-t py-4">
<p className="text-center text-xs text-neutral-500">
Powered by{" "}
built with{" "}
<Link
href="https://better-auth.com"
className="underline"
target="_blank"
>
<span className="dark:text-orange-200/90">better-auth.</span>
<span className="dark:text-white/70 cursor-pointer">
better-auth.
</span>
</Link>
</p>
</div>
@@ -407,13 +409,15 @@ export default function SignIn() {
? `<CardFooter>
<div className="flex justify-center w-full border-t py-4">
<p className="text-center text-xs text-neutral-500">
Powered by{" "}
built with{" "}
<Link
href="https://better-auth.com"
className="underline"
target="_blank"
>
<span className="dark:text-orange-200/90">better-auth.</span>
<span className="dark:text-white/70 cursor-pointer">
better-auth.
</span>
</Link>
</p>
</div>