Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { HeroCta } from '@/app/(landing)/components/hero-cta'
import { LANDING_HERO_CTA_GAP } from '@/app/(landing)/components/landing-layout'

interface LandingHeroHeaderProps {
description: string
/** A single paragraph, or an array of paragraphs rendered stacked within the same measure. */
description: string | string[]
eyebrow?: ReactNode
heading: ReactNode
headingId: string
Expand Down Expand Up @@ -33,9 +34,22 @@ export function LandingHeroHeader({
{heading}
</h1>

<p className='w-full min-w-0 max-w-[58ch] text-pretty text-[var(--text-muted)] text-base leading-[1.5]'>
{description}
</p>
{Array.isArray(description) ? (
<div className='flex w-full min-w-0 max-w-[58ch] flex-col gap-3'>
{description.map((paragraph) => (
<p
key={paragraph}
className='text-pretty text-[var(--text-muted)] text-base leading-[1.5]'
>
{paragraph}
</p>
))}
</div>
) : (
<p className='w-full min-w-0 max-w-[58ch] text-pretty text-[var(--text-muted)] text-base leading-[1.5]'>
{description}
</p>
)}

<div className={cn('max-sm:w-full', LANDING_HERO_CTA_GAP)}>
<HeroCta />
Expand Down
5 changes: 4 additions & 1 deletion apps/sim/app/(landing)/components/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ export function Hero() {
and Managing AI Agents.
</>
}
description='Open source, with 1,000+ integrations and every major LLM. Build, deploy, and manage agents visually, conversationally, or with code.'
description={[
'Sim is an AI agent and workflow builder for teams creating agents that automate real work. Design workflows visually, describe what you need in natural language, or use code for complete control.',
'Connect your agents to 1,000+ integrations and every major LLM, then deploy, monitor, and improve them from one collaborative workspace.',
]}
/>

<div
Expand Down
Loading