Skip to content

Commit fcd725c

Browse files
feat: other bug fixes
1 parent bc2401f commit fcd725c

File tree

21 files changed

+65
-58
lines changed

21 files changed

+65
-58
lines changed

apps/sim/app/(auth)/auth-layout-client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function AuthLayoutClient({ children }: { children: React.ReactNo
1515
return (
1616
<AuthBackground className='dark font-[430] font-season'>
1717
<main className='relative flex min-h-full flex-col text-[var(--landing-text)]'>
18-
<header className='shrink-0 bg-[var(--text-primary)]'>
18+
<header className='shrink-0 bg-[var(--landing-bg)]'>
1919
<Navbar logoOnly />
2020
</header>
2121
<div className='relative z-30 flex flex-1 items-center justify-center px-4 pb-24'>

apps/sim/app/(auth)/components/auth-background.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type AuthBackgroundProps = {
99
export default function AuthBackground({ className, children }: AuthBackgroundProps) {
1010
return (
1111
<div className={cn('fixed inset-0 overflow-hidden', className)}>
12-
<div className='-z-50 pointer-events-none absolute inset-0 bg-[var(--text-primary)]' />
12+
<div className='-z-50 pointer-events-none absolute inset-0 bg-[var(--landing-bg)]' />
1313
<AuthBackgroundSVG />
1414
<div className='relative z-20 h-full overflow-auto'>{children}</div>
1515
</div>

apps/sim/app/(auth)/components/status-page-layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function StatusPageLayout({
1919
return (
2020
<AuthBackground className='dark font-[430] font-season'>
2121
<main className='relative flex min-h-full flex-col text-[var(--landing-text)]'>
22-
<header className='shrink-0 bg-[var(--text-primary)]'>
22+
<header className='shrink-0 bg-[var(--landing-bg)]'>
2323
<Navbar logoOnly />
2424
</header>
2525
<div className='relative z-30 flex flex-1 items-center justify-center px-4 pb-24'>

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,9 @@ export default function LoginPage({
504504
<div className='w-full border-[#2A2A2A] border-t' />
505505
</div>
506506
<div className='relative flex justify-center text-sm'>
507-
<span className='bg-[#1C1C1C] px-4 font-[340] text-[#999]'>Or continue with</span>
507+
<span className='bg-[var(--landing-bg)] px-4 font-[340] text-[var(--text-subtle)]'>
508+
Or continue with
509+
</span>
508510
</div>
509511
</div>
510512
)}
@@ -616,4 +618,4 @@ export default function LoginPage({
616618
</Modal>
617619
</>
618620
)
619-
}
621+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ function SignupFormContent({
554554
<div className='w-full border-[var(--surface-4)] border-t' />
555555
</div>
556556
<div className='relative flex justify-center text-sm'>
557-
<span className='bg-[var(--text-primary)] px-4 font-[340] text-[var(--text-subtle)]'>Or continue with</span>
557+
<span className='bg-[var(--landing-bg)] px-4 font-[340] text-[var(--text-subtle)]'>Or continue with</span>
558558
</div>
559559
</div>
560560
)}

apps/sim/app/(home)/components/collaboration/collaboration.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function VikhyathCursor() {
8989
<div className='absolute top-0 left-[56.02px]'>
9090
<CursorArrow fill='#2ABBF8' />
9191
</div>
92-
<div className='-left-[4px] absolute top-4.5 flex items-center rounded bg-[#2ABBF8] px-[5px] py-[3px] font-[420] font-season text-[var(--surface-1)] text-sm leading-[100%] tracking-[-0.02em]'>
92+
<div className='-left-[4px] absolute top-4.5 flex items-center rounded bg-[#2ABBF8] px-[5px] py-[3px] font-[420] font-season text-[var(--landing-text-dark)] text-sm leading-[100%] tracking-[-0.02em]'>
9393
Vikhyath
9494
</div>
9595
</div>
@@ -113,7 +113,7 @@ function AlexaCursor() {
113113
<div className='absolute top-0 left-0'>
114114
<CursorArrow fill='#FFCC02' />
115115
</div>
116-
<div className='absolute top-4 left-[23px] flex items-center rounded bg-[#FFCC02] px-[5px] py-[3px] font-[420] font-season text-[var(--surface-1)] text-sm leading-[100%] tracking-[-0.02em]'>
116+
<div className='absolute top-4 left-[23px] flex items-center rounded bg-[#FFCC02] px-[5px] py-[3px] font-[420] font-season text-[var(--landing-text-dark)] text-sm leading-[100%] tracking-[-0.02em]'>
117117
Alexa
118118
</div>
119119
</div>
@@ -143,7 +143,7 @@ function YouCursor({ x, y, visible }: YouCursorProps) {
143143
<svg width='23.15' height='21.1' viewBox='0 0 17.5 16.4' fill='none'>
144144
<path d={CURSOR_ARROW_MIRRORED_PATH} fill='#33C482' />
145145
</svg>
146-
<div className='absolute top-4 left-[23px] flex items-center rounded bg-[var(--brand-tertiary-2)] px-[5px] py-[3px] font-[420] font-season text-[var(--surface-1)] text-sm leading-[100%] tracking-[-0.02em]'>
146+
<div className='absolute top-4 left-[23px] flex items-center rounded bg-[var(--brand-tertiary-2)] px-[5px] py-[3px] font-[420] font-season text-[var(--landing-text-dark)] text-sm leading-[100%] tracking-[-0.02em]'>
147147
You
148148
</div>
149149
</div>
@@ -212,7 +212,7 @@ export default function Collaboration() {
212212
ref={sectionRef}
213213
id='collaboration'
214214
aria-labelledby='collaboration-heading'
215-
className='bg-[var(--text-primary)]'
215+
className='bg-[var(--landing-bg)]'
216216
style={{ cursor: isHovering ? 'none' : 'auto' }}
217217
onMouseMove={handleMouseMove}
218218
onMouseEnter={handleMouseEnter}
@@ -222,7 +222,7 @@ export default function Collaboration() {
222222
<style dangerouslySetInnerHTML={{ __html: CURSOR_KEYFRAMES }} />
223223

224224
<DotGrid
225-
className='overflow-hidden border-[var(--surface-4)] border-y bg-[var(--text-primary)] p-1.5'
225+
className='overflow-hidden border-[var(--surface-4)] border-y bg-[var(--landing-bg)] p-1.5'
226226
cols={120}
227227
rows={1}
228228
gap={6}
@@ -306,7 +306,7 @@ export default function Collaboration() {
306306
href='/blog/multiplayer'
307307
target='_blank'
308308
rel='noopener noreferrer'
309-
className='relative mx-4 mb-6 flex cursor-none items-center gap-3.5 rounded-[5px] border border-[var(--surface-4)] bg-[var(--text-primary)] px-3 py-2.5 transition-colors hover:border-[var(--border-1)] hover:bg-[var(--surface-2)] sm:mx-8 md:absolute md:bottom-10 md:left-[80px] md:z-20 md:mx-0 md:mb-0'
309+
className='relative mx-4 mb-6 flex cursor-none items-center gap-3.5 rounded-[5px] border border-[var(--surface-4)] bg-[var(--landing-bg)] px-3 py-2.5 transition-colors hover:border-[var(--border-1)] hover:bg-[var(--surface-2)] sm:mx-8 md:absolute md:bottom-10 md:left-[80px] md:z-20 md:mx-0 md:mb-0'
310310
>
311311
<div className='relative h-7 w-11 shrink-0'>
312312
<Image src='/landing/multiplayer-cursors.svg' alt='' fill className='object-contain' />
@@ -323,7 +323,7 @@ export default function Collaboration() {
323323
</div>
324324

325325
<DotGrid
326-
className='overflow-hidden border-[var(--surface-4)] border-y bg-[var(--text-primary)] p-1.5'
326+
className='overflow-hidden border-[var(--surface-4)] border-y bg-[var(--landing-bg)] p-1.5'
327327
cols={120}
328328
rows={1}
329329
gap={6}

apps/sim/app/(home)/components/enterprise/enterprise.tsx

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ const FEATURE_TAGS = [
6464

6565
function TrustStrip() {
6666
return (
67-
<div className='mx-6 mt-4 grid grid-cols-1 overflow-hidden rounded-[8px] border border-[#2A2A2A] sm:grid-cols-3 md:mx-8'>
67+
<div className='mx-6 mt-4 grid grid-cols-1 overflow-hidden rounded-lg border border-[var(--surface-4)] sm:grid-cols-3 md:mx-8'>
6868
{/* SOC 2 + HIPAA combined */}
6969
<Link
7070
href='https://app.vanta.com/sim.ai/trust/v35ia0jil4l7dteqjgaktn'
7171
target='_blank'
7272
rel='noopener noreferrer'
73-
className='group flex items-center gap-3 border-[#2A2A2A] border-b px-4 py-[14px] transition-colors hover:bg-[#212121] sm:border-r sm:border-b-0'
73+
className='group flex items-center gap-3 border-[var(--surface-4)] border-b px-4 py-3.5 transition-colors hover:bg-[var(--surface-1)] sm:border-r sm:border-b-0'
7474
>
7575
<Image
7676
src='/footer/soc2.png'
@@ -80,10 +80,10 @@ function TrustStrip() {
8080
className='shrink-0 object-contain'
8181
/>
8282
<div className='flex flex-col gap-[3px]'>
83-
<strong className='font-[430] font-season text-[13px] text-white leading-none'>
83+
<strong className='font-[430] font-season text-small text-white leading-none'>
8484
SOC 2 & HIPAA
8585
</strong>
86-
<span className='font-[430] font-season text-[#F6F6F6]/30 text-[11px] leading-none tracking-[0.02em] transition-colors group-hover:text-[#F6F6F6]/55'>
86+
<span className='font-[430] font-season text-[var(--landing-text-subtle)]/30 text-xs leading-none tracking-[0.02em] transition-colors group-hover:text-[var(--landing-text-subtle)]/55'>
8787
Type II · PHI protected →
8888
</span>
8989
</div>
@@ -94,31 +94,31 @@ function TrustStrip() {
9494
href='https://github.com/simstudioai/sim'
9595
target='_blank'
9696
rel='noopener noreferrer'
97-
className='group flex items-center gap-3 border-[#2A2A2A] border-b px-4 py-[14px] transition-colors hover:bg-[#212121] sm:border-r sm:border-b-0'
97+
className='group flex items-center gap-3 border-[var(--surface-4)] border-b px-4 py-3.5 transition-colors hover:bg-[var(--surface-1)] sm:border-r sm:border-b-0'
9898
>
9999
<div className='flex h-[22px] w-[22px] shrink-0 items-center justify-center rounded-full bg-[#FFCC02]/10'>
100100
<GithubIcon width={11} height={11} className='text-[#FFCC02]/75' />
101101
</div>
102102
<div className='flex flex-col gap-[3px]'>
103-
<strong className='font-[430] font-season text-[13px] text-white leading-none'>
103+
<strong className='font-[430] font-season text-small text-white leading-none'>
104104
Open Source
105105
</strong>
106-
<span className='font-[430] font-season text-[#F6F6F6]/30 text-[11px] leading-none tracking-[0.02em] transition-colors group-hover:text-[#F6F6F6]/55'>
106+
<span className='font-[430] font-season text-[var(--landing-text-subtle)]/30 text-xs leading-none tracking-[0.02em] transition-colors group-hover:text-[var(--landing-text-subtle)]/55'>
107107
View on GitHub →
108108
</span>
109109
</div>
110110
</Link>
111111

112112
{/* SSO */}
113-
<div className='flex items-center gap-3 px-4 py-[14px]'>
113+
<div className='flex items-center gap-3 px-4 py-3.5'>
114114
<div className='flex h-[22px] w-[22px] shrink-0 items-center justify-center rounded-full bg-[#2ABBF8]/10'>
115115
<Lock className='h-[14px] w-[14px] text-[#2ABBF8]/75' />
116116
</div>
117117
<div className='flex flex-col gap-[3px]'>
118-
<strong className='font-[430] font-season text-[13px] text-white leading-none'>
118+
<strong className='font-[430] font-season text-small text-white leading-none'>
119119
SSO & SCIM
120120
</strong>
121-
<span className='font-[430] font-season text-[#F6F6F6]/30 text-[11px] leading-none tracking-[0.02em]'>
121+
<span className='font-[430] font-season text-[var(--landing-text-subtle)]/30 text-xs leading-none tracking-[0.02em]'>
122122
Okta, Azure AD, Google
123123
</span>
124124
</div>
@@ -129,9 +129,13 @@ function TrustStrip() {
129129

130130
export default function Enterprise() {
131131
return (
132-
<section id='enterprise' aria-labelledby='enterprise-heading' className='bg-[#F6F6F6]'>
133-
<div className='px-4 pt-[60px] pb-[40px] sm:px-8 sm:pt-[80px] sm:pb-0 md:px-[80px] md:pt-[100px]'>
134-
<div className='flex flex-col items-start gap-3 sm:gap-4 md:gap-[20px]'>
132+
<section
133+
id='enterprise'
134+
aria-labelledby='enterprise-heading'
135+
className='bg-[var(--landing-bg-section)]'
136+
>
137+
<div className='px-4 pt-[60px] pb-10 sm:px-8 sm:pt-[80px] sm:pb-0 md:px-[80px] md:pt-[100px]'>
138+
<div className='flex flex-col items-start gap-3 sm:gap-4 md:gap-5'>
135139
<Badge
136140
variant='blue'
137141
size='md'
@@ -143,7 +147,7 @@ export default function Enterprise() {
143147

144148
<h2
145149
id='enterprise-heading'
146-
className='max-w-[600px] font-[430] font-season text-[#1C1C1C] text-[32px] leading-[100%] tracking-[-0.02em] sm:text-[36px] md:text-[40px]'
150+
className='max-w-[600px] font-[430] font-season text-[var(--landing-text)] text-[32px] leading-[100%] tracking-[-0.02em] sm:text-[36px] md:text-[40px]'
147151
>
148152
Enterprise features for
149153
<br />
@@ -186,7 +190,7 @@ export default function Enterprise() {
186190
<TrustStrip />
187191

188192
{/* Scrolling feature ticker — keyframe loop; pause on hover. Tags use transitions for hover. */}
189-
<div className='enterprise-feature-marquee relative mt-6 overflow-hidden border-[#2A2A2A] border-t'>
193+
<div className='enterprise-feature-marquee relative mt-6 overflow-hidden border-[var(--surface-4)] border-t'>
190194
<style dangerouslySetInnerHTML={{ __html: ENTERPRISE_FEATURE_MARQUEE_STYLES }} />
191195
{/* Fade edges */}
192196
<div
@@ -205,7 +209,7 @@ export default function Enterprise() {
205209
(tag, i) => (
206210
<span
207211
key={i}
208-
className='enterprise-feature-marquee-tag whitespace-nowrap border-[#2A2A2A] border-r px-5 py-4 font-[430] font-season text-[#F6F6F6]/40 text-[13px] leading-none tracking-[0.02em] hover:bg-white/[0.04] hover:text-[#F6F6F6]/55'
212+
className='enterprise-feature-marquee-tag whitespace-nowrap border-[var(--surface-4)] border-r px-5 py-4 font-[430] font-season text-[var(--landing-text-subtle)]/40 text-small leading-none tracking-[0.02em] hover:bg-white/[0.04] hover:text-[var(--landing-text-subtle)]/55'
209213
>
210214
{tag}
211215
</span>
@@ -214,8 +218,8 @@ export default function Enterprise() {
214218
</div>
215219
</div>
216220

217-
<div className='flex items-center justify-between border-[#2A2A2A] border-t px-6 py-5 md:px-8 md:py-6'>
218-
<p className='font-[430] font-season text-[#F6F6F6]/40 text-[15px] leading-[150%] tracking-[0.02em]'>
221+
<div className='flex items-center justify-between border-[var(--surface-4)] border-t px-6 py-5 md:px-8 md:py-6'>
222+
<p className='font-[430] font-season text-[var(--landing-text-subtle)]/40 text-base leading-[150%] tracking-[0.02em]'>
219223
Ready for growth?
220224
</p>
221225
<Link

apps/sim/app/(home)/components/features/features.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function DotGrid({
152152
return (
153153
<div
154154
aria-hidden='true'
155-
className={`h-full shrink-0 bg-[var(--text-primary)] p-1.5 ${borderLeft ? 'border-[var(--divider)] border-l' : ''}`}
155+
className={`h-full shrink-0 bg-[var(--landing-bg-section)] p-1.5 ${borderLeft ? 'border-[var(--divider)] border-l' : ''}`}
156156
style={{
157157
width: width ? `${width}px` : undefined,
158158
display: 'grid',
@@ -181,7 +181,7 @@ export default function Features() {
181181
<section
182182
id='features'
183183
aria-labelledby='features-heading'
184-
className='relative overflow-hidden bg-[var(--text-primary)]'
184+
className='relative overflow-hidden bg-[var(--landing-bg-section)]'
185185
>
186186
<div aria-hidden='true' className='absolute top-0 left-0 w-full'>
187187
<Image
@@ -223,7 +223,7 @@ export default function Features() {
223223
{char}
224224
</ScrollLetter>
225225
))}
226-
<span className='text-[var(--text-primary)]/40'>
226+
<span className='text-[var(--landing-text-subtle)]/40'>
227227
Design powerful workflows, connect your data, and monitor every run — all in one
228228
platform.
229229
</span>
@@ -258,7 +258,7 @@ export default function Features() {
258258
role='tab'
259259
aria-selected={index === activeTab}
260260
onClick={() => setActiveTab(index)}
261-
className={`relative h-full flex-1 items-center justify-center whitespace-nowrap px-3 font-medium font-season text-[var(--surface-1)] text-caption uppercase lg:px-0 lg:text-sm${tab.hideOnMobile ? ' hidden lg:flex' : ' flex'}${index > 0 ? ' border-[var(--divider)] border-l' : ''}`}
261+
className={`relative h-full flex-1 items-center justify-center whitespace-nowrap px-3 font-medium font-season text-[var(--landing-text-dark)] text-caption uppercase lg:px-0 lg:text-sm${tab.hideOnMobile ? ' hidden lg:flex' : ' flex'}${index > 0 ? ' border-[var(--divider)] border-l' : ''}`}
262262
style={{ backgroundColor: index === activeTab ? '#FDFDFD' : '#F6F6F6' }}
263263
>
264264
{tab.mobileLabel ? (
@@ -304,7 +304,7 @@ export default function Features() {
304304
<h3 className='font-[430] font-season text-[var(--text-primary)] text-[24px] leading-[120%] tracking-[-0.02em] lg:text-[28px]'>
305305
{FEATURE_TABS[activeTab].title}
306306
</h3>
307-
<p className='font-[430] font-season text-[var(--text-primary)]/50 text-md leading-[150%] tracking-[0.02em] lg:text-lg'>
307+
<p className='font-[430] font-season text-[var(--landing-text-subtle)]/50 text-md leading-[150%] tracking-[0.02em] lg:text-lg'>
308308
{FEATURE_TABS[activeTab].description}
309309
</p>
310310
</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export function FooterCTA() {
9090
</a>
9191
<Link
9292
href='/signup'
93-
className={`${CTA_BUTTON} gap-2 border-[var(--text-primary)] bg-[var(--text-primary)] text-white transition-colors hover:border-[var(--border)] hover:bg-[var(--border)]`}
93+
className={`${CTA_BUTTON} gap-2 border-[var(--text-primary)] bg-[var(--landing-bg)] text-white transition-colors hover:border-[var(--border)] hover:bg-[var(--border)]`}
9494
>
9595
Get started
9696
</Link>

apps/sim/app/(home)/components/footer/footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ export default function Footer({ hideCTA }: FooterProps) {
113113
return (
114114
<footer
115115
role='contentinfo'
116-
className={`bg-[var(--text-primary)] pb-10 font-[430] font-season text-sm${hideCTA ? ' pt-10' : ''}`}
116+
className={`bg-[var(--landing-bg)] pb-10 font-[430] font-season text-sm${hideCTA ? ' pt-10' : ''}`}
117117
>
118118
{!hideCTA && <FooterCTA />}
119119
<div className='px-4 sm:px-8 md:px-[80px]'>
120-
<div className='relative overflow-hidden rounded-lg bg-[var(--text-primary)] px-6 pt-10 pb-8 sm:px-10 sm:pt-12 sm:pb-10'>
120+
<div className='relative overflow-hidden rounded-lg bg-[var(--landing-bg)] px-6 pt-10 pb-8 sm:px-10 sm:pt-12 sm:pb-10'>
121121
<nav
122122
aria-label='Footer navigation'
123123
className='relative z-[1] grid grid-cols-2 gap-x-8 gap-y-10 sm:grid-cols-3 lg:grid-cols-7'

0 commit comments

Comments
 (0)