Skip to content

Commit 67a38e0

Browse files
committed
Move CoC to footer, add to community page
The header menu had too many items and was causing strange wrapping with the Algolia search box. This moves the link to the CoC to the footer in a logical place, and also adds a link to the Community Resources page. It also adds a link to GitHub to the community page. Signed-off-by: Brian Warner <[email protected]>
1 parent 75f6424 commit 67a38e0

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

src/components/Footer/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ const getLinks = (sourcePath: string): FooterLinks[] => [
3737
text: "Community",
3838
href: "/community",
3939
subsections: [
40-
{ text: "Upcoming Events", href: "/community/upcoming-events/" },
40+
{ text: "Code of Conduct", href: "/codeofconduct/" },
41+
{ text: "GitHub", href: "https://github.com/graphql" },
4142
{
4243
text: "Stack Overflow",
4344
href: "http://stackoverflow.com/questions/tagged/graphql",
@@ -47,14 +48,15 @@ const getLinks = (sourcePath: string): FooterLinks[] => [
4748
href: "https://www.facebook.com/groups/graphql.community/",
4849
},
4950
{ text: "Twitter", href: "https://twitter.com/GraphQL" },
51+
{ text: "Upcoming Events", href: "/community/upcoming-events/" },
5052
],
5153
},
5254
{
5355
text: "More",
5456
subsections: [
5557
{
5658
text: "GraphQL Specification",
57-
href: "https://graphql.github.io/graphql-spec/",
59+
href: "https://spec.graphql.org/",
5860
},
5961
{ text: "GraphQL Foundation", href: "https://foundation.graphql.org/" },
6062
{

src/components/HeaderLinks/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,10 @@ const links: LinkItem[] = [
1717
text: "Spec",
1818
href: "https://graphql.github.io/graphql-spec/",
1919
},
20-
{
21-
section: "codeofconduct",
22-
text: "Code of Conduct",
23-
href: "/codeofconduct/",
24-
},
2520
{
2621
section: "foundation",
2722
text: "Foundation",
28-
href: "https://foundation.graphql.org/",
23+
href: "/foundation/",
2924
},
3025
{ section: "landscape", text: "Landscape", href: "https://l.graphql.org/" },
3126
]

src/content/community/Community-Resources.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,21 @@ layout: docs
44
category: Community
55
permalink: /community/
66
next: /community/upcoming-events/
7-
sublinks: Blogs,Videos,Books,More Resources
7+
sublinks: Code of Conduct,GitHub,Blogs,Videos,Books,More Resources
88
---
99

10+
## Code of Conduct
11+
12+
The [GraphQL Code of Conduct](/codeofconduct/) applies both within project spaces and in public spaces when an individual is representing the project or its community.
13+
14+
## GitHub
15+
16+
All official GraphQL development is done on [GitHub](https://github.com/graphql). Participants must sign the GraphQL Specification membership agreement, but this process is both easy and free.
17+
18+
To participate in any project or meeting, please open a PR to add yourself to the agenda. This will initiate an automated check to determine if you still need to sign the document.
19+
20+
If you maintain a tool or reference implementation that you'd like to transfer to the [GraphQL GitHub org](https://github.com/graphql), please add your name to the agenda of an upcoming [GraphQL Working Group meeting](https://github.com/graphql/graphql-wg/tree/HEAD/agendas) to introduce your idea.
21+
1022
## Stack Overflow
1123

1224
Many members of the community use Stack Overflow to ask and answer questions. [Read through the existing questions tagged with **graphql** or ask your own!](http://stackoverflow.com/questions/tagged/graphql)

0 commit comments

Comments
 (0)