mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-24 16:11:53 -05:00
chore: change sign-in box footer to built-with
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user