Skip to content

Commit ccfd300

Browse files
authored
Improvements to resources page (#1937)
* use unicode for X logo * make logos bit bigger * feat: add bluesky logo * reorder and add more links * prettier * add talks channel * prettier
1 parent 7330db7 commit ccfd300

File tree

6 files changed

+178
-24
lines changed

6 files changed

+178
-24
lines changed

src/components/cards.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function Cards({
3030
)}
3131
>
3232
{/* @ts-expect-error */}
33-
{typeof Icon === "function" ? <Icon className="h-6" /> : Icon}
33+
{typeof Icon === "function" ? <Icon className="h-12" /> : Icon}
3434
<b className="mb-2 mt-4 text-center text-lg">{title}</b>
3535
<span
3636
className={`text-xs md:text-sm text-center${description ? "" : "break-all"}`}

src/icons/bluesky.svg

+5
Loading

src/icons/github.svg

+1-6
Loading

src/icons/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,5 @@ export { default as AroundIcon } from "./around.svg"
3838
export { default as BusIcon } from "./bus.svg"
3939
export { default as ParkingIcon } from "./parking.svg"
4040
export { default as TrainIcon } from "./train.svg"
41+
export { default as BlueskyIcon } from "./bluesky.svg"
42+
export { default as FoundationTalksChannel } from "./talks-channel.svg"

src/icons/talks-channel.svg

+131
Loading

src/pages/community/resources/official-channels.mdx

+38-17
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ import {
44
DiscordIcon,
55
GoogleCalendarIcon,
66
Facebook2Icon,
7+
LinkedInIcon,
8+
BlueskyIcon,
79
FileTextIcon,
810
CodeIcon,
911
GraphQLLogo,
12+
FoundationTalksChannel
1013
} from "../../../icons"
1114
import { Cards } from "../../../components/cards"
1215

@@ -18,17 +21,17 @@ Please follow these channels for updates and information:
1821

1922
<Cards
2023
items={[
21-
{
22-
icon: TwitterIcon,
23-
title: "X",
24-
link: "https://x.com/graphql",
25-
description: "@graphql",
26-
},
2724
{
2825
icon: GitHubIcon,
2926
title: "GitHub",
3027
link: "https://github.com/graphql",
3128
},
29+
{
30+
icon: FileTextIcon,
31+
title: "Blog",
32+
link: "/blog",
33+
description: "graphql.org/blog",
34+
},
3235
{
3336
icon: GoogleCalendarIcon,
3437
title: "Google Calendar",
@@ -39,28 +42,46 @@ Please follow these channels for updates and information:
3942
title: "Discord",
4043
link: "https://discord.graphql.org",
4144
},
42-
{
43-
icon: Facebook2Icon,
44-
title: "Facebook Group",
45-
link: "https://fb.com/groups/graphql.community",
46-
},
47-
{
48-
icon: FileTextIcon,
49-
title: "Blog",
50-
link: "/blog",
51-
description: "graphql.org/blog",
52-
},
5345
{
5446
icon: CodeIcon,
5547
title: "Tools and libraries",
5648
link: "/code",
5749
description: "graphql.org/code",
5850
},
51+
{
52+
icon: FoundationTalksChannel,
53+
title: "Talks",
54+
link: "https://www.youtube.com/@GraphQLFoundationTalks",
55+
description: "GraphQL Foundation Talks",
56+
},
5957
{
6058
icon: GraphQLLogo,
6159
title: "Shop",
6260
link: "https://store.graphql.org/",
6361
description: "store.graphql.org",
6462
},
63+
{
64+
icon: LinkedInIcon,
65+
title: "LinkedIn",
66+
link: "https://www.linkedin.com/company/graphql-foundation/",
67+
description: "GraphQL Foundation",
68+
},
69+
{
70+
icon: TwitterIcon,
71+
title: "𝕏",
72+
link: "https://x.com/graphql",
73+
description: "@graphql",
74+
},
75+
{
76+
icon: BlueskyIcon,
77+
title: "Bluesky",
78+
link: "https://bsky.app/profile/graphql.org",
79+
description: "@graphql.org",
80+
},
81+
{
82+
icon: Facebook2Icon,
83+
title: "Facebook Group",
84+
link: "https://fb.com/groups/graphql.community",
85+
},
6586
]}
6687
/>

0 commit comments

Comments
 (0)