Skip to content

Commit 52539a5

Browse files
authored
feat: add Terms and Conditions link to login page (#85)
1 parent 80ffb08 commit 52539a5

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ REQUEST_API_KEY=""
88
NEXT_PUBLIC_REOWN_PROJECT_ID=""
99
WEBHOOK_SECRET=""
1010
CRYPTO_TO_FIAT_PAYEE_ADDRESS=""
11+
NEXT_PUBLIC_API_TERMS_CONDITIONS="https://request.network/api-terms"
1112

1213
FEE_PERCENTAGE_FOR_PAYMENT=""
1314
FEE_ADDRESS_FOR_PAYMENT=""

src/app/page.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ export default async function LoginPage() {
4949
/>
5050
Continue with Google
5151
</Link>
52+
<p className="text-center text-sm text-zinc-500">
53+
By continuing, you agree to our{" "}
54+
<Link
55+
href={process.env.NEXT_PUBLIC_API_TERMS_CONDITIONS as string}
56+
className="underline hover:text-zinc-900"
57+
target="_blank"
58+
rel="noopener noreferrer"
59+
>
60+
Terms and Conditions
61+
</Link>
62+
.
63+
</p>
5264
</div>
5365
</div>
5466
</main>

0 commit comments

Comments
 (0)