Skip to content

Commit 611f55d

Browse files
committed
fix(landing): render privacy section independently, align CTA analytics label
1 parent 4eeb624 commit 611f55d

1 file changed

Lines changed: 26 additions & 13 deletions

File tree

  • apps/sim/app/(landing)/integrations/(shell)/[slug]

apps/sim/app/(landing)/integrations/(shell)/[slug]/page.tsx

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -482,24 +482,37 @@ export default async function IntegrationPage({ params }: { params: Promise<{ sl
482482
</ol>
483483
<div className='mt-8 flex flex-wrap gap-2'>
484484
<IntegrationCtaButton
485-
label={`Add ${name}`}
485+
label={`Add to ${name}`}
486486
className='inline-flex h-[32px] items-center gap-2 rounded-[5px] border border-white bg-white px-2.5 font-season text-black text-sm transition-colors hover:border-[#E0E0E0] hover:bg-[#E0E0E0]'
487487
>
488488
Add to {name}
489489
</IntegrationCtaButton>
490490
</div>
491-
{landingContent.privacy && (
492-
<p className='mt-6 max-w-[700px] text-[13px] text-[var(--landing-text-muted)] leading-[150%] tracking-[0.02em]'>
493-
{landingContent.privacy.body}{' '}
494-
<Link
495-
href={landingContent.privacy.href}
496-
className='text-[var(--landing-text)] underline underline-offset-2 hover:text-white'
497-
>
498-
Privacy Policy
499-
</Link>
500-
.
501-
</p>
502-
)}
491+
</section>
492+
<div className='h-px w-full bg-[var(--landing-bg-elevated)]' />
493+
</>
494+
)}
495+
496+
{/* Privacy & data (integration-specific) */}
497+
{landingContent?.privacy && (
498+
<>
499+
<section aria-labelledby='privacy-heading' className='px-6 py-10'>
500+
<h2
501+
id='privacy-heading'
502+
className='mb-4 text-[20px] text-white leading-[100%] tracking-[-0.02em]'
503+
>
504+
Privacy & data
505+
</h2>
506+
<p className='max-w-[700px] text-[15px] text-[var(--landing-text-body)] leading-[150%] tracking-[0.02em]'>
507+
{landingContent.privacy.body}{' '}
508+
<Link
509+
href={landingContent.privacy.href}
510+
className='text-[var(--landing-text)] underline underline-offset-2 hover:text-white'
511+
>
512+
Privacy Policy
513+
</Link>
514+
.
515+
</p>
503516
</section>
504517
<div className='h-px w-full bg-[var(--landing-bg-elevated)]' />
505518
</>

0 commit comments

Comments
 (0)