Skip to content

Commit 5d56f28

Browse files
authored
Merge pull request #1631 from fturmel/PR/minor-fixes
Minor URL and copy updates
2 parents ebb804b + 33f543b commit 5d56f28

14 files changed

+23
-22
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Here are the types of contributions we are looking for:
2323

2424
1. Share your creative work inspired by a coding challenge or tutorial in the showcase!
2525

26-
- You can submit your showcase with the [Passenger Showcase Form](http://thecodingtrain.com/submit)
26+
- You can submit your showcase with the [Passenger Showcase Form](https://thecodingtrain.com/submit)
2727

2828
2. Add a new track to the site! (https://github.com/CodingTrain/thecodingtrain.com/issues/279)
2929

HACKTOBERFEST.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This Hacktoberfest, here are the ways you can contribute to The Coding Train:
44

55
1. **Share your creative work on the Passenger Showcase!**
66

7-
- For your submission to count towards Hacktoberfest, you must manually create a Pull Request to the website repository. You can follow along with the [Passenger Showcase Guide](http://thecodingtrain.com/guides/passenger-showcase-guide) (scroll down below the form) to create your Pull Request.
7+
- For your submission to count towards Hacktoberfest, you must manually create a Pull Request to the website repository. You can follow along with the [Passenger Showcase Guide](https://thecodingtrain.com/guides/passenger-showcase-guide) (scroll down below the form) to create your Pull Request.
88

99
2. **Curate content for the website**
1010

@@ -21,6 +21,7 @@ This Hacktoberfest, here are the ways you can contribute to The Coding Train:
2121
- You can contribute to other [Coding Train repositories](https://github.com/CodingTrain/) as well. You will need to ask for the Pull Request to be accepted for Hacktoberfest to count it towards your progress.
2222

2323
## Guide For Newer Contributors
24+
2425
If you are new to open source contributions, here are some useful resources that can help you get started:
2526

2627
- [Git and GitHub for Poets](https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZF9C0YMKuns9sLDzK6zoiV): A Coding Train video series for Git and GitHub beginners.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Coding Train Website
22

33
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4+
45
[![All Contributors](https://img.shields.io/badge/all_contributors-24-orange.svg?style=flat-square)](#contributors-)
6+
57
<!-- ALL-CONTRIBUTORS-BADGE:END -->
68

79
This repo holds the website for [thecodingtrain.com](https://thecodingtrain.com/). The website is built with:
810

911
- [Gatsby](https://www.gatsbyjs.com/) to perform the static site rendering
10-
- [React](https://reactjs.org/) as the general JavaScript framework
12+
- [React](https://react.dev/) as the general JavaScript framework
1113

1214
## Table of Contents
1315

content-testing/schemas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const socialGroup = strictObject({
289289
title: string().required(),
290290
links: array(
291291
strictObject({
292-
url: string().url().required(),
292+
url: urlOrRelativeLinkValidator.required(),
293293
site: string()
294294
.oneOf(['twitter', 'discord', 'instagram', 'youtube', 'github'])
295295
.required()

content-testing/validators.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ const relativeLinks = {
319319
'/guides': slugs.guides,
320320
'/showcase': new Set(),
321321
'/faq': new Set(),
322-
'/about': new Set()
322+
'/about': new Set(),
323+
'/discord': new Set()
323324
};
324325

325326
const urlOrRelativeLinkValidator = string().test(

content/pages/about/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"url": "https://www.youtube.com/c/TheCodingTrain/",
3737
"site": "youtube"
3838
},
39-
{ "url": "https://thecodingtrain.com/discord", "site": "discord" },
39+
{ "url": "/discord", "site": "discord" },
4040
{ "url": "https://github.com/CodingTrain", "site": "github" }
4141
]
4242
}

content/pages/faqs/cafe-car.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"question": "Cafe Car",
33
"answer": {
4-
"text": "The Cafe Car is the place to meet and chat with the Coding Train community! Your first stop is the [Discord](https://thecodingtrain.com/discord), but we’d also love for you to say hi on [Twitter](https://twitter.com/thecodingtrain) and [Instagram](https://www.instagram.com/the.coding.train)!"
4+
"text": "The Cafe Car is the place to meet and chat with the Coding Train community! Your first stop is the [Discord](/discord), but we’d also love for you to say hi on [Twitter](https://twitter.com/thecodingtrain) and [Instagram](https://www.instagram.com/the.coding.train)!"
55
}
66
}

content/pages/faqs/find-help.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"question": "Where can I find help with my code?",
33
"answer": {
4-
"text": "We have a friendly and helpful community in the [Coding Train Discord](https://thecodingtrain.com/discord), which has a number of help channels. You can also visit [The Processing Foundation's forum](https://discourse.processing.org/), a great place to ask specific questions related to Processing and p5.js.",
5-
"list": [
6-
"[The Coding Train's Discord](https://thecodingtrain.com/discord)",
7-
"[The Processing Foundation's Forum](https://discourse.processing.org/)"
8-
]
4+
"text": "We have a friendly and helpful community in the [Coding Train Discord](/discord), which has a number of help channels. You can also visit [The Processing Foundation's forum](https://discourse.processing.org/), a great place to ask specific questions related to Processing and p5.js.",
5+
"list": ["[The Coding Train's Discord](/discord)", "[The Processing Foundation's Forum](https://discourse.processing.org/)"]
96
}
107
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"question": "Where and when do you live stream? Can I get a notification?",
33
"answer": {
4-
"text": "The best way to stay up to date on my schedule is to [join the Coding Train discord](https://thecodingtrain.com/discord) and subscribe to the “notifications” role.\n Live streams occur on both [Twitch](https://www.twitch.tv/codingtrainchoochoo) and [YouTube](https://www.youtube.com/c/TheCodingTrain/featured). Each platform has various options for receiving notifications. On YouTube, for example you can [subscribe to The Coding Train](https://www.youtube.com/c/TheCodingTrain) and click the bell for all notifications. For streams scheduled in advance, they’ll be listed on the [homepage of this website](/)."
4+
"text": "The best way to stay up to date on my schedule is to [join the Coding Train discord](/discord) and subscribe to the “notifications” role.\n Live streams occur on both [Twitch](https://www.twitch.tv/codingtrainchoochoo) and [YouTube](https://www.youtube.com/c/TheCodingTrain/featured). Each platform has various options for receiving notifications. On YouTube, for example you can [subscribe to The Coding Train](https://www.youtube.com/c/TheCodingTrain) and click the bell for all notifications. For streams scheduled in advance, they’ll be listed on the [homepage of this website](/)."
55
}
66
}

content/pages/faqs/suggest-topic.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"question": "How do I suggest a topic for a Coding Challenge or Track?",
33
"answer": {
4-
"text": "You can share ideas by [opening an issue in the Coding Train Suggestion Box](https://github.com/CodingTrain/Suggestion-Box) or by [joining the Coding Train discord](https://thecodingtrain.com/discord)."
4+
"text": "You can share ideas by [opening an issue in the Coding Train Suggestion Box](https://github.com/CodingTrain/Suggestion-Box) or by [joining the Coding Train discord](/discord)."
55
}
66
}

0 commit comments

Comments
 (0)