Skip to content

Commit c24c6d6

Browse files
author
Theodore Li
committed
Remove footer modal
1 parent b59dbd4 commit c24c6d6

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

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

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Image from 'next/image'
22
import Link from 'next/link'
3-
import { DemoRequestModal } from '@/app/(home)/components/demo-request/demo-request-modal'
43
import { FooterCTA } from '@/app/(home)/components/footer/footer-cta'
54

65
const LINK_CLASS = 'text-[14px] text-[#999] transition-colors hover:text-[#ECECEC]'
@@ -9,12 +8,11 @@ interface FooterItem {
98
label: string
109
href: string
1110
external?: boolean
12-
action?: 'demo-request'
1311
}
1412

1513
const PRODUCT_LINKS: FooterItem[] = [
1614
{ label: 'Pricing', href: '/#pricing' },
17-
{ label: 'Enterprise', href: '#', action: 'demo-request' },
15+
{ label: 'Enterprise', href: 'https://form.typeform.com/to/jqCO12pF', external: true },
1816
{ label: 'Self Hosting', href: 'https://docs.sim.ai/self-hosting', external: true },
1917
{ label: 'MCP', href: 'https://docs.sim.ai/mcp', external: true },
2018
{ label: 'Knowledge Base', href: 'https://docs.sim.ai/knowledgebase', external: true },
@@ -85,14 +83,8 @@ function FooterColumn({ title, items }: { title: string; items: FooterItem[] })
8583
<div>
8684
<h3 className='mb-[16px] font-medium text-[#ECECEC] text-[14px]'>{title}</h3>
8785
<div className='flex flex-col gap-[10px]'>
88-
{items.map(({ label, href, external, action }) =>
89-
action === 'demo-request' ? (
90-
<DemoRequestModal key={label}>
91-
<button type='button' className={`${LINK_CLASS} bg-transparent text-left`}>
92-
{label}
93-
</button>
94-
</DemoRequestModal>
95-
) : external ? (
86+
{items.map(({ label, href, external }) =>
87+
external ? (
9688
<a
9789
key={label}
9890
href={href}

0 commit comments

Comments
 (0)