Skip to content

Commit 6b10616

Browse files
authored
Merge pull request #248 from blueshift-gg/pinocchio-for-noobies
Feat: Improve `introduction-to-pinocchio`
2 parents 5d31a5c + 067e57b commit 6b10616

File tree

72 files changed

+1083
-833
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1083
-833
lines changed

messages/en/courses.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"conclusion": "Conclusion"
2424
}
2525
},
26-
"introduction-to-pinocchio": {
27-
"title": "Introduction to Pinocchio",
26+
"pinocchio-for-dummies": {
27+
"title": "Pinocchio for Dummies",
2828
"lessons": {
2929
"pinocchio-101": "Pinocchio 101",
3030
"pinocchio-accounts": "Pinocchio Accounts",
@@ -33,6 +33,8 @@
3333
"reading-and-writing-data": "Reading and Writing Data",
3434
"testing-your-program": "Testing your Program",
3535
"performance": "Performance",
36+
"middleware-entrypoint": "Middleware Entrypoint",
37+
"batch-instructions": "Batch Instructions",
3638
"conclusion": "Conclusion"
3739
}
3840
},

redirects.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ const redirects = [
2424
destination: "/:locale/courses/anchor-for-dummies/:lesson*",
2525
permanent: true,
2626
},
27+
{
28+
source: "/:locale/courses/introduction-to-pinocchio",
29+
destination: "/:locale/courses/pinocchio-for-dummies",
30+
permanent: true,
31+
},
32+
{
33+
source: "/:locale/courses/introduction-to-pinocchio/:lesson*",
34+
destination: "/:locale/courses/pinocchio-for-dummies/:lesson*",
35+
permanent: true,
36+
},
2737
];
2838

2939
export default redirects;

src/app/content/challenges/pinocchio-escrow/en/pages/conclusion.mdx

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

src/app/content/challenges/pinocchio-escrow/en/pages/make.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Below are the accounts the context needs:
1818
- system_program: the system program. Must be executable
1919
- token_program: the token program. Must be executable
2020

21-
**Note**: We're going to use the types that introduced in the [Introduction to Pinocchio](/en/courses/introduction-to-pinocchio/pinocchio-accounts).
21+
**Note**: We're going to use the helpers that we introduced in the [Introduction to Pinocchio](/en/courses/introduction-to-pinocchio/pinocchio-accounts).
2222

2323
In code, this looks like:
2424

src/app/content/courses/courses.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const allCourses: CourseMetadata[] = withCourseNumber([
3333
],
3434
},
3535
{
36-
slug: "introduction-to-pinocchio",
36+
slug: "pinocchio-for-dummies",
3737
language: "Rust",
3838
color: "255,173,102",
3939
difficulty: 1,
@@ -46,6 +46,8 @@ const allCourses: CourseMetadata[] = withCourseNumber([
4646
{ slug: "reading-and-writing-data" },
4747
{ slug: "testing-your-program" },
4848
{ slug: "performance" },
49+
{ slug: "middleware-entrypoint" },
50+
{ slug: "batch-instructions" },
4951
{ slug: "conclusion" },
5052
],
5153
},

src/app/content/courses/introduction-to-pinocchio/performance/en.mdx

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

0 commit comments

Comments
 (0)