Skip to content

Commit 8c1bf8e

Browse files
committed
fix(ai): update hero headline and make AI WG badge a link
- Replace hero headline with 'The API language for humans and agents'. - Wrap the 'New: GraphQL AI Working Group' badge in a link to https://github.com/graphql/ai-wg/. - Update openGraph/twitter metadata titles to match the new headline.
1 parent fe30965 commit 8c1bf8e

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/app/(main)/ai/components/hero.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,21 @@ export function Hero() {
4040
<div className="gql-container relative">
4141
<div className="flex flex-col items-center px-4 pb-16 pt-24 text-center lg:min-h-[640px] lg:justify-center lg:pb-24 lg:pt-32 xl:min-h-[720px] xl:px-24 xl:pt-40">
4242
{/* Badge */}
43-
<div className="mb-8 inline-flex items-center gap-2 rounded-full border border-sec-light/30 bg-sec-light/10 px-4 py-1.5 backdrop-blur-sm">
43+
<a
44+
href="https://github.com/graphql/ai-wg/"
45+
className="mb-8 inline-flex items-center gap-2 rounded-full border border-sec-light/30 bg-sec-light/10 px-4 py-1.5 backdrop-blur-sm transition-colors hover:bg-sec-light/20"
46+
>
4447
<span className="relative flex size-2">
4548
<span className="absolute inline-flex size-2 animate-ping rounded-full bg-sec-base opacity-75" />
4649
<span className="relative inline-flex size-2 rounded-full bg-sec-base" />
4750
</span>
4851
<span className="typography-body-sm font-medium text-sec-light">
4952
New: GraphQL AI Working Group
5053
</span>
51-
</div>
54+
</a>
5255

5356
<h1 className="typography-h1 max-w-4xl text-balance">
54-
The API protocol
55-
<br />
56-
<span className="text-sec-light">for intelligent systems</span>
57+
The API language for humans and agents
5758
</h1>
5859

5960
<p className="typography-body-lg mt-6 max-w-2xl text-pretty text-white/80">

src/app/(main)/ai/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const metadata: Metadata = {
1313
description:
1414
"Discover how GraphQL's self-describing schemas, strong typing, and composability make it the ideal API protocol for AI systems, MCP servers, and LLM-powered applications.",
1515
openGraph: {
16-
title: "GraphQL & AI — The API protocol for intelligent systems",
16+
title: "GraphQL & AI — The API language for humans and agents",
1717
description:
1818
"When AI agents need to interact with APIs, GraphQL's self-describing schemas, strong typing, and composable queries make it the natural choice.",
1919
},

0 commit comments

Comments
 (0)