mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 09:08:34 +00:00
Dedicated section with link to /federation (#6038)
This commit is contained in:
parent
56aec76a50
commit
6b97b97823
1 changed files with 24 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ export function IndexPage(): ReactElement {
|
|||
<StatsItem label="Collected operations" value={350} suffix="B" />
|
||||
</StatsList>
|
||||
<UltimatePerformanceCards />
|
||||
<LearnGraphQLFederationSection className="mx-4 md:mx-6" />
|
||||
<CompanyTestimonialsSection className="mx-4 mt-6 md:mx-6" />
|
||||
<GetStartedTodaySection className="mx-4 mt-6 md:mx-6" />
|
||||
<EnterpriseFocusedCards className="mx-4 my-6 md:mx-6" />
|
||||
|
|
@ -204,6 +205,29 @@ function UltimatePerformanceCards() {
|
|||
);
|
||||
}
|
||||
|
||||
function LearnGraphQLFederationSection(props: { className?: string }) {
|
||||
return (
|
||||
<section className={cn('bg-green-1000 rounded-3xl p-24 text-center', props.className)}>
|
||||
<Heading as="h2" size="md" className="flex items-center justify-center gap-4 text-white">
|
||||
What Is GraphQL Federation?
|
||||
</Heading>
|
||||
|
||||
<p className="mt-8 font-medium text-white/80">
|
||||
Understand what federated GraphQL API is, how it works, and why it may be the right choice
|
||||
for your API.
|
||||
</p>
|
||||
<CallToAction
|
||||
variant="secondary"
|
||||
href="/federation"
|
||||
className="mx-auto mt-8"
|
||||
title="Introduction to federated GraphQL APIs"
|
||||
>
|
||||
Introduction to Federation
|
||||
</CallToAction>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
function PerformanceListItemIcon() {
|
||||
return (
|
||||
<svg width="24" height="24" fill="currentColor">
|
||||
|
|
|
|||
Loading…
Reference in a new issue