Skip to content

Commit 637e680

Browse files
waleedlatif1claude
andcommitted
style(landing): apply linter formatting fixes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cdcca53 commit 637e680

4 files changed

Lines changed: 21 additions & 9 deletions

File tree

apps/sim/app/(landing)/components/auth-modal/auth-modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ export function AuthModal({ children, defaultView = 'login', source }: AuthModal
125125
className='h-[22px] w-auto shrink-0 object-contain'
126126
/>
127127
<div className='flex flex-col gap-1 text-left'>
128-
<p className='text-[color-mix(in_srgb,var(--landing-text-subtle)_60%,transparent)] text-[22px] leading-[125%] tracking-[0.02em]'>
128+
<p className='text-[22px] text-[color-mix(in_srgb,var(--landing-text-subtle)_60%,transparent)] leading-[125%] tracking-[0.02em]'>
129129
Start building.
130130
</p>
131-
<h2 className='text-white text-[22px] leading-[110%] tracking-[-0.02em]'>
131+
<h2 className='text-[22px] text-white leading-[110%] tracking-[-0.02em]'>
132132
{view === 'login' ? 'Log in to continue' : 'Create free account'}
133133
</h2>
134134
</div>

apps/sim/app/(landing)/components/footer/footer-cta.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ export function FooterCTA() {
9797
href='https://docs.sim.ai'
9898
target='_blank'
9999
rel='noopener noreferrer'
100-
className={cn(CTA_BUTTON, 'border-[var(--landing-border-strong)] text-[var(--landing-text)] transition-colors hover:bg-[var(--landing-bg-elevated)]')}
100+
className={cn(
101+
CTA_BUTTON,
102+
'border-[var(--landing-border-strong)] text-[var(--landing-text)] transition-colors hover:bg-[var(--landing-bg-elevated)]'
103+
)}
101104
onClick={() =>
102105
trackLandingCta({
103106
label: 'Docs',
@@ -111,7 +114,10 @@ export function FooterCTA() {
111114
<AuthModal defaultView='signup' source='footer_cta'>
112115
<button
113116
type='button'
114-
className={cn(CTA_BUTTON, 'gap-2 border-white bg-white text-black transition-colors hover:border-[#E0E0E0] hover:bg-[#E0E0E0]')}
117+
className={cn(
118+
CTA_BUTTON,
119+
'gap-2 border-white bg-white text-black transition-colors hover:border-[#E0E0E0] hover:bg-[#E0E0E0]'
120+
)}
115121
onClick={() =>
116122
trackLandingCta({
117123
label: 'Get started',

apps/sim/app/(landing)/components/hero/hero.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ export default function Hero() {
5656
<DemoRequestModal theme='light'>
5757
<button
5858
type='button'
59-
className={cn(CTA_BASE, 'border-[var(--landing-border-strong)] bg-transparent text-[var(--landing-text)] transition-colors hover:bg-[var(--landing-bg-elevated)]')}
59+
className={cn(
60+
CTA_BASE,
61+
'border-[var(--landing-border-strong)] bg-transparent text-[var(--landing-text)] transition-colors hover:bg-[var(--landing-bg-elevated)]'
62+
)}
6063
aria-label='Get a demo'
6164
onClick={() =>
6265
trackLandingCta({ label: 'Get a demo', section: 'hero', destination: 'demo_modal' })
@@ -68,7 +71,10 @@ export default function Hero() {
6871
<AuthModal defaultView='signup' source='hero'>
6972
<button
7073
type='button'
71-
className={cn(CTA_BASE, 'gap-2 border-white bg-white text-black transition-colors hover:border-[#E0E0E0] hover:bg-[#E0E0E0]')}
74+
className={cn(
75+
CTA_BASE,
76+
'gap-2 border-white bg-white text-black transition-colors hover:border-[#E0E0E0] hover:bg-[#E0E0E0]'
77+
)}
7278
aria-label='Get started with Sim'
7379
onClick={() =>
7480
trackLandingCta({

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import Link from 'next/link'
44
import { notFound } from 'next/navigation'
55
import { getBaseUrl } from '@/lib/core/utils/urls'
66
import { AuthModal } from '@/app/(landing)/components/auth-modal/auth-modal'
7-
import { TEMPLATES } from '@/app/workspace/[workspaceId]/home/components/template-prompts/consts'
7+
import { IntegrationFAQ } from '@/app/(landing)/integrations/[slug]/components/integration-faq'
8+
import { TemplateCardButton } from '@/app/(landing)/integrations/[slug]/components/template-card-button'
89
import { IntegrationIcon } from '@/app/(landing)/integrations/components/integration-icon'
910
import { blockTypeToIconMap } from '@/app/(landing)/integrations/data/icon-mapping'
1011
import integrations from '@/app/(landing)/integrations/data/integrations.json'
1112
import type { AuthType, FAQItem, Integration } from '@/app/(landing)/integrations/data/types'
12-
import { IntegrationFAQ } from '@/app/(landing)/integrations/[slug]/components/integration-faq'
13-
import { TemplateCardButton } from '@/app/(landing)/integrations/[slug]/components/template-card-button'
13+
import { TEMPLATES } from '@/app/workspace/[workspaceId]/home/components/template-prompts/consts'
1414

1515
const allIntegrations = integrations as Integration[]
1616
const INTEGRATION_COUNT = allIntegrations.length

0 commit comments

Comments
 (0)