Skip to content

reorder community resources #1672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
14 changes: 4 additions & 10 deletions src/pages/_meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,13 @@ export default {
type: "page",
title: "Learn",
},
code: {
type: "page",
theme: {
layout: "raw",
},
},
community: {
type: "menu",
title: "Community",
items: {
"tools-and-libraries": {
title: "Tools and Libraries",
},
resources: {
title: "Resources",
href: "/community/resources/official-channels",
Expand All @@ -29,6 +26,7 @@ export default {
title: "Contribute to GraphQL",
href: "/community/contribute/essential-links",
},
foundation: { title: "Foundation" },
},
},
faq: {
Expand All @@ -41,10 +39,6 @@ export default {
href: "https://spec.graphql.org",
newWindow: true,
},
foundation: {
type: "page",
title: "Foundation",
},
blog: {
type: "page",
title: "Blog",
Expand Down
6 changes: 6 additions & 0 deletions src/pages/community/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
export default {
"tools-and-libraries": {
theme: {
layout: "raw",
},
},
resources: "Resources",
events: "",
contribute: "Contribute to GraphQL",
foundation: "Foundation",
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ heroText: The official GraphQL conference, hosted by the GraphQL Foundation.

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.

## GraphQLConf 2023
## GraphQLConf 2024

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

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).
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).

## GraphQLConf 2023

Expand Down
File renamed without changes.
6 changes: 2 additions & 4 deletions src/pages/community/resources/_meta.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
export default {
"official-channels": "",
"community-channels": "",
"vendor-channels": "",
brand: "GraphQL Logo & Trademark",
"training-courses": "",
"community-channels": "",
"blogs-and-newsletters": "",
videos: "",
"vendor-channels": "",
books: "",
"more-resources": "",
"code-of-conduct": "",
}
5 changes: 0 additions & 5 deletions src/pages/community/resources/brand.mdx

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/community/resources/code-of-conduct.mdx

This file was deleted.

11 changes: 10 additions & 1 deletion src/pages/community/resources/more-resources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@

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

- [Building Apollo](https://blog.apollographql.com)
- [awesome-graphql](https://github.com/chentsulin/awesome-graphql): A fantastic community maintained collection of libraries, resources, and more.
- [graphql-apis](https://github.com/APIs-guru/graphql-apis): A collective list of public GraphQL APIs.
- [GraphQL Screencasts](https://graphql.wtf): Learn something new with GraphQL, every week.

## GraphQL Logo & Trademark

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/).

Download the GraphQL logo and find guidelines for its use in the [brand guidelines](/brand).

## Code of Conduct

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.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import fg from "fast-glob"
import path from "path"
import { compileMdx } from "nextra/compile"
import { readFile } from "fs/promises"
import slugMap from "../code/slug-map.json"
import slugMap from "../../code/slug-map.json"
import { NextAdapter } from "next-query-params"
import { QueryParamProvider } from "use-query-params"
import { CodePage } from "../components/code-page"
import { getGitHubStats } from "../../scripts/sort-libraries/get-github-stats"
import { CodePage } from "../../components/tools-and-libraries"
import { getGitHubStats } from "../../../scripts/sort-libraries/get-github-stats"
import githubInfo from "@/github-stats.json"

{<QueryParamProvider adapter={NextAdapter}><CodePage {...props} /></QueryParamProvider>}
Expand Down
15 changes: 15 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,21 @@
"source": "/community/",
"destination": "/community/resources/official-channels/",
"permanent": true
},
{
"source": "/code",
"destination": "/community/tools-and-libraries/",
"permanent": true
},
{
"source": "/code/",
"destination": "/community/tools-and-libraries/",
"permanent": true
},
{
"source": "/foundation/:path*",
"destination": "/community/foundation/:path*",
"permanent": true
}
]
}