Skip to content

Commit

Permalink
feat: hookup pp and tos links (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght authored Jul 23, 2024
1 parent 55923e5 commit 43e3de3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 17 additions & 2 deletions src/components/form/SignUpForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,23 @@ export function SignUpForm() {
</FormControl>
<div className="flex flex-col gap-2">
<FormLabel>
By checking this box you agree to the Terms of Service and
the Privacy Policy.
By checking this box you agree to the{' '}
<Link
href={ROUTES.docs.termsOfService}
target="_blank"
className="text-primary"
>
Terms of Service
</Link>{' '}
and the{' '}
<Link
href={ROUTES.docs.privacyPolicy}
target="_blank"
className="text-primary"
>
Privacy Policy
</Link>
.
</FormLabel>

<FormMessage />
Expand Down
4 changes: 4 additions & 0 deletions src/utils/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ export const ROUTES = {
restore: '/setup/wallet/restore',
},
},
docs: {
privacyPolicy: '/docs/privacy-policy',
termsOfService: '/docs/terms-of-service',
},
external: {
github: 'https://github.com/AmbossTech/amboss-banco',
x: 'https://x.com/ambosstech',
Expand Down

0 comments on commit 43e3de3

Please sign in to comment.