Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added more things to pricing sheet
  • Loading branch information
waleedlatif1 committed Mar 18, 2026
commit 9e125f071939f5ffdc251b274222b02e27e632e2
16 changes: 11 additions & 5 deletions apps/sim/app/(home)/components/enterprise/enterprise.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@

import { useEffect, useRef, useState } from 'react'
import { AnimatePresence, motion } from 'framer-motion'
import Image from 'next/image'
import Link from 'next/link'
import { Badge, ChevronDown } from '@/components/emcn'
import { Lock } from '@/components/emcn/icons'
import { GithubIcon } from '@/components/icons'

/** Consistent color per actor — same pattern as Collaboration section cursors. */
Expand Down Expand Up @@ -169,7 +171,7 @@ const FEATURE_TAGS = [
'Admin API',
'White Labeling',
'Dedicated Support',
'99.9% Uptime SLA',
'99.99% Uptime SLA',
'Workflow Versioning',
'On-Premise',
'Organizations',
Expand Down Expand Up @@ -357,9 +359,13 @@ function TrustStrip() {
rel='noopener noreferrer'
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'
>
<div className='flex h-[22px] w-[22px] shrink-0 items-center justify-center rounded-full bg-[#33C482]/10'>
<div className='h-[5px] w-[5px] rounded-full bg-[#33C482]' />
</div>
<Image
src='/footer/soc2.png'
alt='SOC 2 Type II'
width={22}
height={22}
className='shrink-0 object-contain'
/>
<div className='flex flex-col gap-[3px]'>
<strong className='font-[430] font-season text-[13px] text-white leading-none'>
SOC 2 & HIPAA
Expand Down Expand Up @@ -393,7 +399,7 @@ function TrustStrip() {
{/* SSO */}
<div className='flex items-center gap-3 px-4 py-[14px]'>
<div className='flex h-[22px] w-[22px] shrink-0 items-center justify-center rounded-full bg-[#2ABBF8]/10'>
<div className='h-[5px] w-[5px] rounded-full bg-[#2ABBF8]' />
<Lock className='h-[14px] w-[14px] text-[#2ABBF8]/75' />
</div>
<div className='flex flex-col gap-[3px]'>
<strong className='font-[430] font-season text-[13px] text-white leading-none'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { type SVGProps, useEffect, useRef, useState } from 'react'
import { AnimatePresence, motion, useInView } from 'framer-motion'
import ReactMarkdown from 'react-markdown'
import ReactMarkdown, { type Components } from 'react-markdown'
import remarkGfm from 'remark-gfm'
import { ChevronDown } from '@/components/emcn'
import { Database, File, Library, Table } from '@/components/emcn/icons'
Expand Down Expand Up @@ -606,29 +606,23 @@ const MOCK_KB_DATA = [
['metrics.csv', '1.4 MB', '5.8k', '38', 'enabled'],
] as const

const MD_COMPONENTS = {
h1: ({ children }: { children: React.ReactNode }) => (
const MD_COMPONENTS: Components = {
h1: ({ children }) => (
<h1 className='mb-4 border-[#E5E5E5] border-b pb-2 font-semibold text-[#1C1C1C] text-[20px]'>
{children}
</h1>
),
h2: ({ children }: { children: React.ReactNode }) => (
h2: ({ children }) => (
<h2 className='mt-5 mb-3 border-[#E5E5E5] border-b pb-1.5 font-semibold text-[#1C1C1C] text-[16px]'>
{children}
</h2>
),
ul: ({ children }: { children: React.ReactNode }) => (
<ul className='mb-3 list-disc pl-[24px]'>{children}</ul>
),
ol: ({ children }: { children: React.ReactNode }) => (
<ol className='mb-3 list-decimal pl-[24px]'>{children}</ol>
),
li: ({ children }: { children: React.ReactNode }) => (
ul: ({ children }) => <ul className='mb-3 list-disc pl-[24px]'>{children}</ul>,
ol: ({ children }) => <ol className='mb-3 list-decimal pl-[24px]'>{children}</ol>,
li: ({ children }) => (
<li className='mb-1 text-[#1C1C1C] text-[14px] leading-[1.6]'>{children}</li>
),
p: ({ children }: { children: React.ReactNode }) => (
<p className='mb-3 text-[#1C1C1C] text-[14px] leading-[1.6]'>{children}</p>
),
p: ({ children }) => <p className='mb-3 text-[#1C1C1C] text-[14px] leading-[1.6]'>{children}</p>,
}

function MockFullFiles() {
Expand Down
33 changes: 22 additions & 11 deletions apps/sim/app/(home)/components/pricing/pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ const PRICING_TIERS: PricingTier[] = [
features: [
'1,000 credits (trial)',
'5GB file storage',
'3 tables · 1,000 rows each',
'5 min execution limit',
'Limited log retention',
'CLI/SDK Access',
'7-day log retention',
'CLI/SDK/MCP Access',
],
cta: { label: 'Get started', href: '/signup' },
},
Expand All @@ -36,11 +37,12 @@ const PRICING_TIERS: PricingTier[] = [
billingPeriod: 'per month',
color: '#00F701',
features: [
'6,000 credits/mo',
'+50 daily refresh credits',
'150 runs/min (sync)',
'50 min sync execution limit',
'6,000 credits/mo · +50/day',
'50GB file storage',
'25 tables · 5,000 rows each',
'50 min execution · 150 runs/min',
'Unlimited log retention',
'CLI/SDK/MCP Access',
],
cta: { label: 'Get started', href: '/signup' },
},
Expand All @@ -52,11 +54,12 @@ const PRICING_TIERS: PricingTier[] = [
billingPeriod: 'per month',
color: '#FA4EDF',
features: [
'25,000 credits/mo',
'+200 daily refresh credits',
'300 runs/min (sync)',
'50 min sync execution limit',
'25,000 credits/mo · +200/day',
'500GB file storage',
'25 tables · 5,000 rows each',
'50 min execution · 300 runs/min',
'Unlimited log retention',
'CLI/SDK/MCP Access',
],
cta: { label: 'Get started', href: '/signup' },
},
Expand All @@ -66,7 +69,15 @@ const PRICING_TIERS: PricingTier[] = [
description: 'For organizations needing security and scale',
price: 'Custom',
color: '#FFCC02',
features: ['Custom infra limits', 'SSO', 'SOC2', 'Self hosting', 'Dedicated support'],
features: [
'Custom credits & infra limits',
'Custom file storage',
'10,000 tables · 1M rows each',
'Custom execution limits',
'Unlimited log retention',
'SSO & SCIM · SOC2 & HIPAA',
'Self hosting · Dedicated support',
],
cta: { label: 'Book a demo', href: '/contact' },
},
]
Expand Down
15 changes: 15 additions & 0 deletions apps/sim/app/api/debug-log/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { appendFileSync } from 'fs'
import { NextResponse } from 'next/server'

const LOG_PATH = process.env.DEBUG_LOG_PATH || '.cursor/debug.log'

export async function POST(request: Request) {
try {
const body = await request.json()
const line = `${JSON.stringify({ ...body, timestamp: body.timestamp || Date.now() })}\n`
appendFileSync(LOG_PATH, line, 'utf-8')
return NextResponse.json({ ok: true })
} catch {
return NextResponse.json({ ok: false }, { status: 500 })
}
}
Loading