Skip to content

Commit

Permalink
improve: add terms of service and privacy policy at signup (#3143)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca authored Sep 7, 2022
1 parent 361fbbe commit e7e1c42
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ui/pages/signup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,27 @@ export default function Signup() {
>
Get Started
</button>
<div className='my-3 text-center text-2xs text-gray-400'>
By continuing, you agree to Infra&apos;s{' '}
<a
className='underline'
href='https://infrahq.com/terms'
target='_blank'
rel='noreferrer'
>
Terms of Service
</a>{' '}
and{' '}
<a
className='underline'
href='https://infrahq.com/legal/privacy'
target='_blank'
rel='noreferrer'
>
Privacy Policy
</a>
.
</div>
{error && <ErrorMessage message={error} center />}
</form>
</>
Expand Down
12 changes: 12 additions & 0 deletions website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ module.exports = {
destination: '/docs/reference/how-infra-works',
permanent: true,
},
{
source: '/terms',
destination:
'https://infrahq.notion.site/Terms-of-Service-6f3a635c638f4cb59f04df509208b1a3',
permanent: false,
},
{
source: '/privacy',
destination:
'https://infrahq.notion.site/Privacy-Policy-1b320c4f95904f9a83931d01a326a10b',
permanent: false,
},
]
},
images: {
Expand Down

0 comments on commit e7e1c42

Please sign in to comment.