Skip to content

Commit c5714a7

Browse files
committed
Add Powered by the Community card
1 parent e61f0c5 commit c5714a7

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

src/components/index-page/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { WhoIsUsing } from "./who-is-using"
1010
import { HowItWorks } from "./how-it-works"
1111
import { ProvenSolution } from "./proven-solution"
1212
import { FivePillars } from "./five-pillars"
13+
import { PoweredByCommunity } from "./powered-by-community"
1314

1415
export function IndexPage() {
1516
return (
@@ -19,6 +20,7 @@ export function IndexPage() {
1920
<HowItWorks />
2021
<ProvenSolution />
2122
<FivePillars />
23+
<PoweredByCommunity />
2224
<section className="conf-block container flex max-w-3xl flex-col items-center text-center">
2325
<h2>A query language for your API</h2>
2426
<p>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
import { Anchor } from "@/app/conf/_design-system/anchor"
2+
3+
import ArrowDownIcon from "@/app/conf/_design-system/pixelarticons/arrow-down.svg?svgr"
4+
5+
export function PoweredByCommunity() {
6+
return (
7+
<section className="gql-section">
8+
<div className="gql-container typography-body-lg flex bg-pri-darker text-white max-lg:flex-col">
9+
<div className="border-pri-light p-6 max-lg:border-b lg:border-r lg:p-16">
10+
<h2 className="typography-h2 text-balance">
11+
Powered by the community
12+
</h2>
13+
<p className="mt-8">
14+
GraphQL is an ecosystem shaped by thousands of collaborating
15+
developers and companies around the world. From solo contributors to
16+
full-time maintainers, the GraphQL community builds libraries, runs
17+
meetups, funds innovation and helps move the technology forward.
18+
</p>
19+
</div>
20+
<div>
21+
<Anchor
22+
href="/community/tools-and-libraries"
23+
className="flex items-center justify-between gap-4 whitespace-pre border-b border-pri-light px-6 py-8 hover:bg-white/10 lg:h-1/3 lg:px-8 lg:pr-12 xl:gap-6"
24+
>
25+
Browse libraries
26+
<ArrowDownIcon className="size-10 -rotate-90 text-pri-light" />
27+
</Anchor>
28+
<Anchor
29+
href="/community/events"
30+
className="flex items-center justify-between gap-4 whitespace-pre border-b border-pri-light px-6 py-8 hover:bg-white/10 lg:h-1/3 lg:px-8 lg:pr-12 xl:gap-6"
31+
>
32+
Explore events & meetups
33+
<ArrowDownIcon className="size-10 -rotate-90 text-pri-light" />
34+
</Anchor>
35+
<Anchor
36+
href="/community/foundation"
37+
className="flex items-center justify-between gap-4 whitespace-pre px-6 py-8 hover:bg-white/10 lg:h-1/3 lg:px-8 lg:pr-12 xl:gap-6"
38+
>
39+
Learn about GraphQL Foundation
40+
<ArrowDownIcon className="size-10 -rotate-90 text-pri-light" />
41+
</Anchor>
42+
</div>
43+
</div>
44+
</section>
45+
)
46+
}

0 commit comments

Comments
 (0)