Skip to content

Commit

Permalink
Improve /federation (#6075)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored Dec 3, 2024
1 parent 893bf88 commit cbc92d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/web/docs/src/components/federation-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function FederationPage(): ReactElement {
size="xl"
className="mx-auto max-w-3xl text-balance text-center text-white"
>
What Is GraphQL Federation?
GraphQL Federation
</Heading>
<p className="mx-auto w-[512px] max-w-[80%] text-center leading-6 text-white/80">
Learn what GraphQL Federation is and how to combine multiple GraphQL APIs called subgraphs
Expand All @@ -48,7 +48,7 @@ function Intro() {
<div className="relative mx-auto flex w-[1392px] max-w-full flex-col gap-x-4 gap-y-6 md:gap-y-12 lg:flex-row [@media(min-width:1400px)]:gap-x-[120px]">
<div className="flex grow flex-col gap-12 px-4 md:px-0 lg:w-[650px]">
<Heading as="h2" size="sm" className="text-green-1000">
Introduction
What is GraphQL Federation?
</Heading>
<div className="mx-auto space-y-4 leading-6 text-green-800 lg:space-y-6">
<p>
Expand Down
5 changes: 2 additions & 3 deletions packages/web/docs/src/pages/federation.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
title: What is GraphQL Federation?
description:
GraphQL Federation allows to combine multiple GraphQL APIs called subgraphs into one unified API
(Supergraph), and serve data from a single endpoint thanks to the GraphQL gateway. Learn what
GraphQL Federation is, its benefits and how to get started.
Discover what GraphQL Federation is, how it unifies multiple APIs into a Supergraph, its core
benefits, and the building blocks like subgraphs, schema composition and gateway.
ogImage: /federation-og-image.png
---

Expand Down

0 comments on commit cbc92d7

Please sign in to comment.