mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
26 lines
966 B
TypeScript
26 lines
966 B
TypeScript
import React, { FC } from "react";
|
|
import Link from "next/link";
|
|
|
|
type Props = {
|
|
isSignUp?: boolean;
|
|
};
|
|
|
|
export const TermsAndConditions: FC<Props> = (props) => {
|
|
const { isSignUp = false } = props;
|
|
return (
|
|
<span className="flex items-center justify-center py-6">
|
|
<p className="text-center text-sm text-onboarding-text-200 whitespace-pre-line">
|
|
{isSignUp ? "By creating an account" : "By signing in"}, you agree to our{" \n"}
|
|
<Link href="https://plane.so/legals/terms-and-conditions" target="_blank" rel="noopener noreferrer">
|
|
<span className="text-sm font-medium underline hover:cursor-pointer">Terms of Service</span>
|
|
</Link>{" "}
|
|
and{" "}
|
|
<Link href="https://plane.so/legals/privacy-policy" target="_blank" rel="noopener noreferrer">
|
|
<span className="text-sm font-medium underline hover:cursor-pointer">Privacy Policy</span>
|
|
</Link>
|
|
{"."}
|
|
</p>
|
|
</span>
|
|
);
|
|
};
|