Skip to content

Commit 362b8b2

Browse files
committed
Add Join the Community section
1 parent eaf8469 commit 362b8b2

File tree

5 files changed

+41
-110
lines changed

5 files changed

+41
-110
lines changed

src/app/conf/2025/components/testimonials/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ export function TestimonialAuthor({
113113
alt={author.name}
114114
width={128}
115115
height={128}
116-
className="size-16 saturate-0 xl:size-32"
116+
className="size-16 saturate-[.1] xl:size-32"
117117
/>
118-
<div className="absolute inset-0 z-[1] bg-pri-darker mix-blend-plus-lighter" />
118+
<div className="absolute inset-0 z-[1] bg-pri-darker opacity-80 mix-blend-plus-lighter" />
119119
<Stripes />
120120
</div>
121121
<AuthorNameAndRole author={author} className="contents md:hidden" />

src/components/index-page/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { Hero } from "./hero"
22
import { TrustedBy } from "./trusted-by"
3-
import { SingleRequest } from "./single-request"
43
import { BringYourOwnCode } from "./bring-your-own-code"
54
import { HowItWorks } from "./how-it-works"
65
import { ProvenSolution } from "./proven-solution"
76
import { FivePillars } from "./five-pillars"
87
import { PoweredByCommunity } from "./powered-by-community"
98
import { GraphQLAdvantages } from "./graphql-advantages"
109
import { QuotesFromTheIndustry } from "./quotes-from-the-industry"
10+
import { JoinTheCommunity } from "./join-the-community"
1111

1212
export function IndexPage() {
1313
return (
@@ -20,7 +20,7 @@ export function IndexPage() {
2020
<PoweredByCommunity />
2121
<GraphQLAdvantages />
2222
<QuotesFromTheIndustry />
23-
<SingleRequest />
23+
<JoinTheCommunity />
2424
<BringYourOwnCode />
2525
</div>
2626
)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import { Anchor } from "@/app/conf/_design-system/anchor"
2+
3+
import ArrowDownIcon from "@/app/conf/_design-system/pixelarticons/arrow-down.svg?svgr"
4+
import { DiscordIcon } from "@/icons"
5+
6+
export function JoinTheCommunity() {
7+
return (
8+
<section className="gql-section lg:pb-16 xl:pb-24">
9+
<div className="gql-container typography-body-lg flex bg-pri-dark text-white dark:bg-pri-darker max-lg:flex-col">
10+
<div className="border-pri-light p-6 max-lg:border-b lg:border-r lg:p-16">
11+
<h2 className="typography-h2 text-balance">Join the community</h2>
12+
<p className="mt-8">
13+
GraphQL is community-driven, backed by thousands of developers and
14+
companies worldwide. Become part of a network shaping the future of
15+
API development.
16+
</p>
17+
</div>
18+
<div className="flex flex-col *:flex-1">
19+
<Anchor
20+
href="/community/tools-and-libraries"
21+
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"
22+
>
23+
Discord
24+
<DiscordIcon className="size-8 fill-white" />
25+
</Anchor>
26+
<Anchor
27+
href="/community/events"
28+
className="flex items-center justify-between gap-4 whitespace-pre border-pri-light px-6 py-8 hover:bg-white/10 lg:h-1/3 lg:px-8 lg:pr-12 xl:gap-6"
29+
>
30+
Explore community resources
31+
<ArrowDownIcon className="size-10 -rotate-90 text-pri-light" />
32+
</Anchor>
33+
</div>
34+
</div>
35+
</section>
36+
)
37+
}

src/components/index-page/single-request/index.module.css

Lines changed: 0 additions & 59 deletions
This file was deleted.

src/components/index-page/single-request/index.tsx

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)