Skip to content

Commit 0ec97d1

Browse files
authored
fix: Add ToS and Privacy Policy to OnchainKit page (#2613)
1 parent 27e86d7 commit 0ec97d1

File tree

1 file changed

+33
-0
lines changed
  • apps/web/app/(base-org-dark)/(builders)/build/onchainkit

1 file changed

+33
-0
lines changed

apps/web/app/(base-org-dark)/(builders)/build/onchainkit/page.tsx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ const templateCardItems: {
4545
},
4646
];
4747

48+
const CDP_TERMS_OF_SERVICE_LINK =
49+
'https://www.coinbase.com/legal/developer-platform/terms-of-service';
50+
const CDP_PRIVACY_POLICY_LINK = 'https://www.coinbase.com/legal/privacy';
51+
4852
export default function OnchainKit() {
4953
return (
5054
<BuildersContainer
@@ -61,6 +65,35 @@ export default function OnchainKit() {
6165
<div className="text-3xl leading-[1.125] tracking-[-0.96px]">
6266
Ready-to-use, full-stack components to make building onchain faster and easier.
6367
</div>
68+
<div className="mt-4 text-xs text-base-gray-200" key="ock-terms-of-service">
69+
By continuing, I have read and agree to the{' '}
70+
<a
71+
href={CDP_TERMS_OF_SERVICE_LINK}
72+
target="_blank"
73+
rel="noopener noreferrer"
74+
className="text-white"
75+
>
76+
Terms&nbsp;of&nbsp;Service
77+
</a>{' '}
78+
and{' '}
79+
<a
80+
href={CDP_PRIVACY_POLICY_LINK}
81+
target="_blank"
82+
rel="noopener noreferrer"
83+
className="text-white"
84+
>
85+
Privacy&nbsp;Policy
86+
</a>
87+
. For users in EU/UK, I confirm I have read and understood the{' '}
88+
<a
89+
href={CDP_PRIVACY_POLICY_LINK}
90+
target="_blank"
91+
rel="noopener noreferrer"
92+
className="text-white"
93+
>
94+
Privacy&nbsp;Policy
95+
</a>
96+
</div>
6497
</div>,
6598
<div className="order-1 md:order-2" key="ock-hero-cta">
6699
<CtaActions />

0 commit comments

Comments
 (0)