diff --git a/apps/web/app/(main)/page.tsx b/apps/web/app/(main)/page.tsx index dbc3552..f6f073f 100644 --- a/apps/web/app/(main)/page.tsx +++ b/apps/web/app/(main)/page.tsx @@ -1,6 +1,6 @@ import Link from "next/link" import { getCategories, getFeaturedArticles } from "@/lib/content" -import { SearchTriggerHero } from "@/components/search-trigger" +import HeroSection from "@/components/hero-section" const CATEGORY_ICONS: Record = { "getting-started": ( @@ -65,26 +65,7 @@ export default async function HomePage() { return (
- {/* Hero */} -
- {/* Grid pattern background */} -
-
-
-
-

- The AI-native knowledge layer, as code you own. -

-

- Helpbase ships MCP, llms.txt, and codebase-grounded doc sync as primitives that run in your repo. Open source, self-hostable, built on shadcn/ui + Next.js. -

- - {/* Search bar in hero */} -
- -
-
-
+ {/* Categories */}
diff --git a/apps/web/components/hero-section.tsx b/apps/web/components/hero-section.tsx new file mode 100644 index 0000000..d4aa117 --- /dev/null +++ b/apps/web/components/hero-section.tsx @@ -0,0 +1,133 @@ +import Link from "next/link" + +/** + * Marketing hero for the (main) landing page. Centered column on a + * bordered container, soft grid background. Mirrors the existing landing + * aesthetic (grid lines + radial wash) so it composes cleanly with the + * categories block below. + */ +export default function HeroSection() { + return ( +
+ {/* Background: subtle grid + radial wash */} +
+
+
+ +
+ {/* Status pill */} + + + Open source ยท Live today + + + + {/* Headline */} +

+ Docs your AI agent can actually use. +

+ + {/* Subline */} +

+ Helpbase turns your repo into an AI-native knowledge layer. One + command gives you an MCP server, an{" "} + + llms.txt + + , and a Next.js help center generated from your code. You own + every file. +

+ + {/* CTAs */} +
+ + + See the live demo + + +
+ +

+ Free tier: 500k AI tokens/day. No card. +

+ + {/* Built-on row */} +
+ Built on + shadcn/ui + Next.js + + Model Context Protocol + +
+
+
+ ) +} + +function CommandPill({ command }: { command: string }) { + return ( +
+ $ + {command} +
+ ) +} + +function BuiltOnLink({ + href, + children, +}: { + href: string + children: React.ReactNode +}) { + return ( + + {children} + + ) +} + +function ChevronRight({ className }: { className?: string }) { + return ( + + + + ) +} + +function ArrowRight({ className }: { className?: string }) { + return ( + + + + + ) +}