SurfSense/surfsense_web/components/marketing/section.tsx
DESKTOP-RTLN3BA\$punk fb5b0da816 feat(marketing): CI-first homepage, connector API pages, and hero chat demo
- Homepage rebuilt around competitive-intelligence positioning: connector grid,
  how-it-works, use-case art, compare table, FAQ, and a scripted new-chat hero
  demo (typewriter prompt, agent timeline, streamed answer, /login on send)
- Marketing pages for the Reddit/YouTube/Maps/SERP/Web Crawl scrape APIs at
  /<slug>, a /connectors hub, and a bespoke /mcp-connector page
- Remove stale app/dashboard/[search_space_id] tree that broke the build
  (canonical route is [workspace_id])

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 20:28:27 -07:00

21 lines
586 B
TypeScript

import type { ReactNode } from "react";
import { cn } from "@/lib/utils";
/**
* Shared marketing-page section container. Mirrors the navbar/hero grid exactly
* (max-w-7xl with px-2 md:px-8 xl:px-0 gutters) so every section edge aligns
* across the homepage, connector pages, and the connectors hub.
*/
export function MarketingSection({
children,
className,
}: {
children: ReactNode;
className?: string;
}) {
return (
<section className={cn("py-12 sm:py-16", className)}>
<div className="mx-auto w-full max-w-7xl px-2 md:px-8 xl:px-0">{children}</div>
</section>
);
}