Skip to content

Commit 4f75300

Browse files
committed
fix(shell-docs): remove duplicate backend header on index page
1 parent cc4a22e commit 4f75300

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

showcase/shell-docs/src/components/integration-grid.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
import React from "react";
44
import { useFramework } from "./framework-provider";
55

6-
export function IntegrationGrid({ path }: { path?: string; exclude?: string[] }) {
6+
export function IntegrationGrid({
7+
path,
8+
description,
9+
}: {
10+
path?: string;
11+
exclude?: string[];
12+
description?: string;
13+
}) {
714
const { framework } = useFramework();
815

916
// On a framework-scoped route the user already chose a backend — hide.
@@ -12,6 +19,11 @@ export function IntegrationGrid({ path }: { path?: string; exclude?: string[] })
1219
return (
1320
<>
1421
<h2>Choose your AI backend</h2>
22+
{description && (
23+
<p style={{ marginBottom: "1rem", color: "var(--text-secondary)" }}>
24+
{description}
25+
</p>
26+
)}
1527
<div
1628
style={{
1729
padding: "1rem",

showcase/shell-docs/src/content/docs/index.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,5 @@ Look below to find right guide for your needs, whether you're starting from noth
175175

176176
{/* ── Integrations ── */}
177177

178-
## Explore by AI backend
179-
180-
CopilotKit works with most agent frameworks: LangGraph, CrewAI, Mastra, Google ADK, and more. Pick the one that fits your stack and jump straight into a live demo.
181-
182-
<IntegrationGrid />
178+
<IntegrationGrid description="CopilotKit works with most agent frameworks: LangGraph, CrewAI, Mastra, Google ADK, and more. Pick the one that fits your stack and jump straight into a live demo." />
183179

0 commit comments

Comments
 (0)