diff --git a/apps/sim/app/(landing)/components/footer/footer.tsx b/apps/sim/app/(landing)/components/footer/footer.tsx index 44be284c0d4..c2908323e8c 100644 --- a/apps/sim/app/(landing)/components/footer/footer.tsx +++ b/apps/sim/app/(landing)/components/footer/footer.tsx @@ -63,6 +63,7 @@ const PRODUCT_LINKS: FooterItem[] = [ { label: 'Chat', href: 'https://docs.sim.ai/mothership', external: true }, { label: 'Workflows', href: '/workflows' }, { label: 'Knowledge Base', href: '/knowledge' }, + { label: 'Sim Search', href: '/search' }, { label: 'Tables', href: '/tables' }, { label: 'Files', href: '/files' }, { label: 'Logs', href: '/logs' }, diff --git a/apps/sim/app/(landing)/components/hero-cta/hero-cta.tsx b/apps/sim/app/(landing)/components/hero-cta/hero-cta.tsx index e8b9d04c3bc..962fee807d3 100644 --- a/apps/sim/app/(landing)/components/hero-cta/hero-cta.tsx +++ b/apps/sim/app/(landing)/components/hero-cta/hero-cta.tsx @@ -1,3 +1,6 @@ +'use client' + +import { usePathname } from 'next/navigation' import { LandingCtaLink, type LandingCtaSection } from '@/app/(landing)/components/landing-cta-link' import { DEMO_HREF, SIGNUP_HREF } from '@/app/(landing)/constants' @@ -18,6 +21,8 @@ export function HeroCta({ secondaryLabel = 'Sign up', trackingSection, }: HeroCtaProps) { + const demoOnly = usePathname() === '/search' + return (