Skip to content

Commit b59cdaf

Browse files
committed
Hide HyperSDK course
1 parent b1d607c commit b59cdaf

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

content/courses.tsx

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type Course = {
66
description: string;
77
slug: string;
88
icon: any;
9-
featured?: boolean;
9+
status: "featured" | "normal" | "hidden";
1010
duration?: string;
1111
languages: string[];
1212
tools: string[];
@@ -19,7 +19,7 @@ const officialCourses: Course[] = [
1919
description: "Gain a comprehensive understanding of fundamental blockchain concepts, including how they work, and key components",
2020
slug: "blockchain-fundamentals",
2121
icon: <SquareIcon />,
22-
featured: false,
22+
status: "normal",
2323
duration: "1 hour",
2424
languages: [],
2525
tools: [],
@@ -30,7 +30,7 @@ const officialCourses: Course[] = [
3030
description: "Get a high level overview of Avalanche Consensus, L1s and VMs",
3131
slug: "avalanche-fundamentals",
3232
icon: <Triangle />,
33-
featured: true,
33+
status: "featured",
3434
duration: "1 hour",
3535
languages: [],
3636
tools: ["AvaCloud"],
@@ -41,7 +41,7 @@ const officialCourses: Course[] = [
4141
description: "Dive deeper into the Multi-Chain Architecture and deploy your own Blockchain",
4242
slug: "multi-chain-architecture",
4343
icon: <SquareStackIcon />,
44-
featured: true,
44+
status: "featured",
4545
duration: "1.5 hours",
4646
languages: [],
4747
tools: ["Avalanche-CLI"],
@@ -52,7 +52,7 @@ const officialCourses: Course[] = [
5252
description:"Utilize Avalanche Interchain Messaging to build cross-chain dApps in the Avalanche network",
5353
slug:"interchain-messaging",
5454
icon: <MailIcon />,
55-
featured: true,
55+
status: "featured",
5656
duration: "3 hours",
5757
tools: ["Avalanche-CLI"],
5858
languages: ["Solidity"],
@@ -63,38 +63,19 @@ const officialCourses: Course[] = [
6363
description:"Deploy Avalanche Interchain Token Transfer to transfer assets between Avalanche blockchains",
6464
slug:"interchain-token-transfer",
6565
icon: <ArrowLeftRight />,
66-
featured: true,
66+
status: "featured",
6767
duration: "2.5 hours",
6868
tools: ["ICM", "Foundry"],
6969
languages: ["Solidity"],
7070
instructors: ["Martin Eckardt", "Andrea Vargas", "Ash", "Owen Wahlgren", "Sarp"]
7171
},
72-
/*{
73-
name:"Chainlink VRF with Interchain Messaging ",
74-
description:"Utilize Interchain Messaging to make Chainlink VRF available on any blockchain in the Avalanche Network",
75-
slug:"teleporter-chainlink-vrf",
76-
icon: Dice3Icon,
77-
featured: true,
78-
duration: "2.5 hours",
79-
tools: ["Teleporter", "Chainlink VRF"],
80-
languages: ["Solidity"]
81-
},
82-
{
83-
name:"HyperSDK",
84-
description:"Learn to build customized Virtual Machines using our SDK",
85-
slug:"hypersdk",
86-
icon: Blocks,
87-
duration: "4 hours",
88-
tools: ["Avalanche-CLI"],
89-
languages: ["Go"]
90-
},*/
9172
{
9273
name:"Customizing the EVM",
9374
description:"Learn how to customize the EVM and add your own custom precompiles",
9475
slug:"customizing-evm",
9576
icon: <SquareCode />,
9677
duration: "4 hours",
97-
featured: true,
78+
status: "featured",
9879
tools: ["Avalanche-CLI"],
9980
languages: ["Go"],
10081
instructors: ["Martin Eckardt", "Ash"] // + Usman
@@ -105,7 +86,7 @@ const officialCourses: Course[] = [
10586
slug:"l1-tokenomics",
10687
icon: <Coins />,
10788
duration: "2 hours",
108-
featured: true,
89+
status: "featured",
10990
tools: ["Avalanche-CLI", "ICM"],
11091
languages: ["Solidity"],
11192
instructors: ["Sarp"]
@@ -116,7 +97,7 @@ const officialCourses: Course[] = [
11697
slug:"avacloudapis",
11798
icon: <SquareCode />,
11899
duration: "1 hour",
119-
featured: true,
100+
status: "featured",
120101
tools: ["AvaCloudSDK", "AvaCloud API"],
121102
languages: ["Typescript"],
122103
instructors: ["Owen Wahlgren"]
@@ -128,11 +109,30 @@ const officialCourses: Course[] = [
128109
slug:"hypersdk",
129110
icon: <TerminalIcon />,
130111
duration: "1 hour",
131-
featured: true,
112+
status: "hidden",
132113
tools: ["HyperSDK"],
133114
languages: ["Go", "Typescript"],
134115
instructors: ["Aaron Buchwald", "Ilya", "Rodrigo Villar", "Martin Eckardt", "Owen Wahlgren"]
135116
}
117+
/*{
118+
name:"Chainlink VRF with Interchain Messaging ",
119+
description:"Utilize Interchain Messaging to make Chainlink VRF available on any blockchain in the Avalanche Network",
120+
slug:"teleporter-chainlink-vrf",
121+
icon: Dice3Icon,
122+
status: "featured",
123+
duration: "2.5 hours",
124+
tools: ["Teleporter", "Chainlink VRF"],
125+
languages: ["Solidity"]
126+
},
127+
{
128+
name:"HyperSDK",
129+
description:"Learn to build customized Virtual Machines using our SDK",
130+
slug:"hypersdk",
131+
icon: Blocks,
132+
duration: "4 hours",
133+
tools: ["Avalanche-CLI"],
134+
languages: ["Go"]
135+
},*/
136136
];
137137

138138
const ecosystemCourses: Course[] = [
@@ -157,8 +157,8 @@ const ecosystemCourses: Course[] = [
157157
];
158158

159159
export default {
160-
official: officialCourses,
161-
official_featured: officialCourses.filter((course) => course.featured),
160+
official: officialCourses.filter((course) => ["normal", "featured"].includes(course.status)),
161+
official_featured: officialCourses.filter((course) => course.status === "featured"),
162162
ecosystem: ecosystemCourses,
163163
};
164164

0 commit comments

Comments
 (0)