Skip to content

Commit c68800c

Browse files
authored
feat(login): add terms and privacy to signup and login pages (#1139)
1 parent 5403665 commit c68800c

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

apps/sim/app/(auth)/login/login-form.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,23 @@ export default function LoginPage({
475475
Sign up
476476
</Link>
477477
</div>
478+
479+
<div className='text-center text-neutral-500/80 text-xs leading-relaxed'>
480+
By signing in, you agree to our{' '}
481+
<Link
482+
href='/terms'
483+
className='text-neutral-400 underline-offset-4 transition hover:text-neutral-300 hover:underline'
484+
>
485+
Terms of Service
486+
</Link>{' '}
487+
and{' '}
488+
<Link
489+
href='/privacy'
490+
className='text-neutral-400 underline-offset-4 transition hover:text-neutral-300 hover:underline'
491+
>
492+
Privacy Policy
493+
</Link>
494+
</div>
478495
</div>
479496

480497
<Dialog open={forgotPasswordOpen} onOpenChange={setForgotPasswordOpen}>

apps/sim/app/(auth)/signup/signup-form.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,23 @@ function SignupFormContent({
507507
Sign in
508508
</Link>
509509
</div>
510+
511+
<div className='text-center text-neutral-500/80 text-xs leading-relaxed'>
512+
By creating an account, you agree to our{' '}
513+
<Link
514+
href='/terms'
515+
className='text-neutral-400 underline-offset-4 transition hover:text-neutral-300 hover:underline'
516+
>
517+
Terms of Service
518+
</Link>{' '}
519+
and{' '}
520+
<Link
521+
href='/privacy'
522+
className='text-neutral-400 underline-offset-4 transition hover:text-neutral-300 hover:underline'
523+
>
524+
Privacy Policy
525+
</Link>
526+
</div>
510527
</div>
511528
</div>
512529
)

0 commit comments

Comments
 (0)