File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ import {
2525 ASP_DASHBOARD_PAGE ,
2626 HOME_PAGE ,
2727 JOIN_SUCCESS_PAGE ,
28+ TERMS_OF_USE_URL ,
2829} from "../../constants/Routes" ;
2930import AuthContext from "../../contexts/AuthContext" ;
3031import {
@@ -607,11 +608,10 @@ const Join = (): React.ReactElement => {
607608 variant = { { base : "mobile-xs" , lg : "desktop-xs" } }
608609 >
609610 { "By selecting Create Account, you agree to FCK's " }
610- { /* TODO: replace HOME_PAGE with actual terms & conditions route */ }
611611 < Link
612612 color = "primary.blue"
613613 textDecoration = "underline"
614- href = { HOME_PAGE }
614+ href = { TERMS_OF_USE_URL }
615615 isExternal
616616 >
617617 Terms & Conditions
Original file line number Diff line number Diff line change @@ -14,12 +14,14 @@ import { InstagramIcon } from "../../assets/icons/Instagram";
1414import { LinkedinIcon } from "../../assets/icons/LinkedIn" ;
1515import { TwitterIcon } from "../../assets/icons/TwitterSquare" ;
1616import Logo from "../../assets/logo.png" ;
17+ import { TERMS_OF_USE_URL } from "../../constants/Routes" ;
1718import useIsWebView from "../../utils/useIsWebView" ;
1819
20+
1921const TermsOfUse = ( ) => (
2022 < Text
2123 as = "a"
22- href = "https://docs.google.com/document/d/1x1O9uNSVD5WU_hRBPIaaI0gULEp4yYnsJoR6L8XEBvM/edit?usp=sharing"
24+ href = { TERMS_OF_USE_URL }
2325 target = "_blank"
2426 color = "blue.500"
2527 textDecoration = "underline"
Original file line number Diff line number Diff line change 1+
2+ export const TERMS_OF_USE_URL =
3+ "https://docs.google.com/document/d/1x1O9uNSVD5WU_hRBPIaaI0gULEp4yYnsJoR6L8XEBvM/edit?usp=sharing" ;
4+
15export const HOME_PAGE = "/" ;
26
37export const LOGIN_PAGE = "/login" ;
You can’t perform that action at this time.
0 commit comments