update terms & privacy policy links on sign-in page

This commit is contained in:
MarconLP 2023-05-03 18:27:58 +02:00
parent d555380ab5
commit b8d2fb4602
No known key found for this signature in database
GPG key ID: F4CAFFDFA3451D5E

View file

@ -7,6 +7,7 @@ import Head from "next/head";
import { getProviders, signIn } from "next-auth/react";
import { getServerSession } from "next-auth";
import { authOptions } from "~/server/auth";
import Link from "next/link";
const SignIn = ({
providers,
@ -44,8 +45,8 @@ const SignIn = ({
</div>
<p className="prose prose-sm mx-auto mt-6 max-w-[18rem] text-xs text-gray-500">
By signing in, you agree to our{" "}
<a href="/info/terms-of-service">Terms of Service</a> and{" "}
<a href="/info/privacy-policy">Privacy Policy</a>.
<Link href="/legal/terms">Terms of Service</Link> and{" "}
<Link href="/legal/privacy-policy">Privacy Policy</Link>.
</p>
</div>
</div>