-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'sync/ce-ee' of github.com:makeplane/plane-ee into develop
- Loading branch information
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
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> | ||
); | ||
}; |