Skip to content

Commit f13f6d5

Browse files
committed
Recover old pages that don't have Resources equivalent. Add redirects.
1 parent 3ac4515 commit f13f6d5

File tree

12 files changed

+71
-147
lines changed

12 files changed

+71
-147
lines changed

src/pages/_meta.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ export default {
2222
ai: "AI",
2323
security: "",
2424
monitoring: "",
25-
"tools-and-libraries": "Tools & Libraries",
25+
"tools-and-libraries": {
26+
type: "page",
27+
title: "Tools & Libraries",
28+
// for now, until we have bandwidth to migrate it to App Router
29+
href: "/community/tools-and-libraries",
30+
},
2631
spec: {
2732
type: "page",
2833
title: "Specification",
@@ -37,12 +42,16 @@ export default {
3742
type: "menu",
3843
title: "Community",
3944
items: {
40-
// TODO: Set a redirect from /community/tools-and-libraries to /resources/tools-and-libraries
4145
events: {
4246
title: "Events",
4347
type: "page",
4448
href: "/community/events",
4549
},
50+
"official-channels": { title: "Official Channels" },
51+
"training-courses": { title: "Training Courses" },
52+
"community-channels": { title: "Community Channels" },
53+
"vendor-channels": { title: "Vendor Channels" },
54+
"more-resources": { title: "Community Resources" },
4655
ambassadors: { title: "Ambassador Program" },
4756
contribute: {
4857
title: "Contribute to GraphQL",

src/pages/community/_meta.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
export default {
2-
resources: "Resources",
2+
"official-channels": "",
3+
"training-courses": "",
4+
"community-channels": "",
5+
"vendor-channels": "",
6+
"more-resources": "Community Resources",
37
"tools-and-libraries": {
48
theme: {
59
layout: "raw",

src/pages/community/resources/community-channels.mdx renamed to src/pages/community/community-channels.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import {
33
ReactifluxIcon,
44
FreenodeIcon,
55
StackOverflowIcon,
6-
} from "../../../icons"
7-
import { Cards } from "../../../components/cards"
6+
} from "../../icons"
7+
import { Cards } from "../../components/cards"
88

99
# Community Channels
1010

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# More Resources
1+
# Community Resources
22

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import {
1010
CodeIcon,
1111
GraphQLLogo,
1212
FoundationTalksChannel
13-
} from "../../../icons"
14-
import { Cards } from "../../../components/cards"
13+
} from "../../icons"
14+
import { Cards } from "../../components/cards"
1515

1616
# Official Channels
1717

src/pages/community/resources/_meta.ts

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

src/pages/community/resources/blogs-and-newsletters.mdx

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

src/pages/community/resources/books.mdx

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

src/pages/community/resources/videos.mdx

Lines changed: 0 additions & 30 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)