mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-08 22:22:17 +02:00
- 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>
21 lines
586 B
TypeScript
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>
|
|
);
|
|
}
|