Skip to content

Commit dd598f0

Browse files
authored
reorder community resources (#1672)
* reorder community resources * aa * add redirects * prettier * fix redirects * fixx * tiny fix
1 parent 22f8ca3 commit dd598f0

18 files changed

+42
-28
lines changed
File renamed without changes.

src/pages/_meta.tsx

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@ export default {
1010
type: "page",
1111
title: "Learn",
1212
},
13-
code: {
14-
type: "page",
15-
theme: {
16-
layout: "raw",
17-
},
18-
},
1913
community: {
2014
type: "menu",
2115
title: "Community",
2216
items: {
17+
"tools-and-libraries": {
18+
title: "Tools and Libraries",
19+
},
2320
resources: {
2421
title: "Resources",
2522
href: "/community/resources/official-channels",
@@ -29,6 +26,7 @@ export default {
2926
title: "Contribute to GraphQL",
3027
href: "/community/contribute/essential-links",
3128
},
29+
foundation: { title: "Foundation" },
3230
},
3331
},
3432
faq: {
@@ -41,10 +39,6 @@ export default {
4139
href: "https://spec.graphql.org",
4240
newWindow: true,
4341
},
44-
foundation: {
45-
type: "page",
46-
title: "Foundation",
47-
},
4842
blog: {
4943
type: "page",
5044
title: "Blog",

src/pages/community/_meta.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
export default {
2+
"tools-and-libraries": {
3+
theme: {
4+
layout: "raw",
5+
},
6+
},
27
resources: "Resources",
38
events: "",
49
contribute: "Contribute to GraphQL",
10+
foundation: "Foundation",
511
}

src/pages/foundation/graphql-conf.mdx renamed to src/pages/community/foundation/graphql-conf.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ heroText: The official GraphQL conference, hosted by the GraphQL Foundation.
66

77
By the community and for the community, GraphQLConf is a vendor-neutral event that brings together core contributors, community members, open source leaders, academics, vendors, and industry practitioners to discuss recent work, share techniques, and plan for the future.
88

9-
## GraphQLConf 2023
9+
## GraphQLConf 2024
1010

1111
We're looking forward to [GraphQLConf 2024](/conf/2024) in SF Bay Area, CA on September 10-12, 2024.
1212

13-
Join us by [registering](/conf/2024), consider [submitting a talk](/conf/2024/speak/), and help produce an incredible event by [sponsoring us](/conf/2024/sponsor).
13+
Join us by [registering](/conf/2024), consider [submitting a talk](/conf/2024/speak), and help produce an incredible event by [sponsoring us](/conf/2024/sponsor).
1414

1515
## GraphQLConf 2023
1616

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
export default {
22
"official-channels": "",
3-
"community-channels": "",
4-
"vendor-channels": "",
5-
brand: "GraphQL Logo & Trademark",
63
"training-courses": "",
4+
"community-channels": "",
75
"blogs-and-newsletters": "",
86
videos: "",
7+
"vendor-channels": "",
98
books: "",
109
"more-resources": "",
11-
"code-of-conduct": "",
1210
}

src/pages/community/resources/brand.mdx

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

src/pages/community/resources/code-of-conduct.mdx

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

src/pages/community/resources/more-resources.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22

33
To explore other community-developed resources and content about GraphQL, take a look at these sites:
44

5-
- [Building Apollo](https://blog.apollographql.com)
65
- [awesome-graphql](https://github.com/chentsulin/awesome-graphql): A fantastic community maintained collection of libraries, resources, and more.
76
- [graphql-apis](https://github.com/APIs-guru/graphql-apis): A collective list of public GraphQL APIs.
87
- [GraphQL Screencasts](https://graphql.wtf): Learn something new with GraphQL, every week.
8+
9+
## GraphQL Logo & Trademark
10+
11+
The GraphQL name and logo are registered trademarks, and are neutrally held by The Linux Foundation. You may use the GraphQL mark so long as you adhere to the [trademark policy](https://lfprojects.org/policies/trademark-policy/).
12+
13+
Download the GraphQL logo and find guidelines for its use in the [brand guidelines](/brand).
14+
15+
## Code of Conduct
16+
17+
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.

src/pages/code.mdx renamed to src/pages/community/tools-and-libraries.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import fg from "fast-glob"
22
import path from "path"
33
import { compileMdx } from "nextra/compile"
44
import { readFile } from "fs/promises"
5-
import slugMap from "../code/slug-map.json"
5+
import slugMap from "../../code/slug-map.json"
66
import { NextAdapter } from "next-query-params"
77
import { QueryParamProvider } from "use-query-params"
8-
import { CodePage } from "../components/code-page"
9-
import { getGitHubStats } from "../../scripts/sort-libraries/get-github-stats"
8+
import { CodePage } from "../../components/tools-and-libraries"
9+
import { getGitHubStats } from "../../../scripts/sort-libraries/get-github-stats"
1010
import githubInfo from "@/github-stats.json"
1111

1212
{<QueryParamProvider adapter={NextAdapter}><CodePage {...props} /></QueryParamProvider>}

vercel.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,21 @@
459459
"source": "/community/",
460460
"destination": "/community/resources/official-channels/",
461461
"permanent": true
462+
},
463+
{
464+
"source": "/code",
465+
"destination": "/community/tools-and-libraries/",
466+
"permanent": true
467+
},
468+
{
469+
"source": "/code/",
470+
"destination": "/community/tools-and-libraries/",
471+
"permanent": true
472+
},
473+
{
474+
"source": "/foundation/:path*",
475+
"destination": "/community/foundation/:path*",
476+
"permanent": true
462477
}
463478
]
464479
}

0 commit comments

Comments
 (0)