feat: add a1 spanish superblock outline (#62059)

This commit is contained in:
Tom
2025-09-05 13:51:45 -05:00
committed by GitHub
parent 9f9b4cbfb8
commit e17584f89e
16 changed files with 82 additions and 0 deletions
+11
View File
@@ -4802,6 +4802,17 @@
}
}
},
"a1-professional-spanish": {
"title": "A1 Professional Spanish Certification (Beta)",
"note": "This certification is currently in active development. While there isn't a claimable certification available for this section at the moment, one will be available soon. In the meantime, you're welcome to explore the courses we have created below.",
"intro": ["Placeholder intro"],
"blocks": {
"a1-professional-spanish-placeholder-block": {
"title": "A1 Professional Spanish Placeholder Block",
"intro": ["Placeholder intro text."]
}
}
},
"a2-professional-spanish": {
"title": "A2 Professional Spanish Certification (Beta)",
"note": "This certification is currently in active development. While there isn't a claimable certification available for this section at the moment, one will be available soon. In the meantime, you're welcome to explore the courses we have created below.",
@@ -1179,6 +1179,8 @@
"b1-english-for-developers-cert": "B1 English for Developers Certification",
"full-stack-developer-v9": "Full Stack Developer",
"full-stack-developer-v9-cert": "Full Stack Developer Certification",
"a1-professional-spanish": "A1 Professional Spanish",
"a1-professional-spanish-cert": "A1 Professional Spanish Certification",
"a2-professional-spanish": "A2 Professional Spanish",
"a2-professional-spanish-cert": "A2 Professional Spanish Certification",
"a2-professional-chinese": "A2 Professional Chinese",
+1
View File
@@ -43,6 +43,7 @@ const iconMap = {
[SuperBlocks.FullStackDeveloper]: Code,
[SuperBlocks.A2English]: A2EnglishIcon,
[SuperBlocks.B1English]: B1EnglishIcon,
[SuperBlocks.A1Spanish]: A2EnglishIcon,
[SuperBlocks.A2Spanish]: A2EnglishIcon,
[SuperBlocks.A2Chinese]: A2EnglishIcon,
[SuperBlocks.A1Chinese]: A2EnglishIcon,
@@ -0,0 +1,9 @@
---
title: Introduction to the A1 Professional Spanish Placeholder Block
block: a1-professional-spanish-placeholder-block
superBlock: a1-professional-spanish
---
## Introduction to the A1 Professional Spanish Placeholder Block
Introduction to the A1 Professional Spanish Placeholder Block
@@ -0,0 +1,9 @@
---
title: A1 Professional Spanish
superBlock: a1-professional-spanish
certification: a1-professional-spanish
---
## Introduction to A1 Professional Spanish
A1 Professional Spanish
@@ -55,6 +55,7 @@ export const ConditionalDonationAlert = ({
const unfinishedCertifications = [
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
+1
View File
@@ -182,6 +182,7 @@ const superBlockNames = {
'python-for-everybody': 'python-for-everybody',
'b1-english-for-developers': 'b1-english-for-developers',
'full-stack-developer': 'full-stack-developer',
'a1-professional-spanish': 'a1-professional-spanish',
'a2-professional-spanish': 'a2-professional-spanish',
'a2-professional-chinese': 'a2-professional-chinese',
'basic-html': 'basic-html',
@@ -0,0 +1,10 @@
---
id: 68bb001c22f3bcbd1fdf38fa
title: "Dialogue 1: Placeholder Challenge"
challengeType: 21
dashedName: dialogue-1-placeholder-challenge
---
# --description--
Placeholder challenge.
@@ -0,0 +1,13 @@
{
"name": "A1 Professional Spanish Placeholder Block",
"isUpcomingChange": true,
"dashedName": "a1-professional-spanish-placeholder-block",
"helpCategory": "English",
"challengeOrder": [
{
"id": "68bb001c22f3bcbd1fdf38fa",
"title": "Dialogue 1: Placeholder Challenge"
}
],
"blockLayout": "project-list"
}
+1
View File
@@ -23,6 +23,7 @@
"python-for-everybody",
"b1-english-for-developers",
"full-stack-developer",
"a1-professional-spanish",
"a2-professional-spanish",
"a2-professional-chinese",
"basic-html",
@@ -0,0 +1,3 @@
{
"blocks": ["a1-professional-spanish-placeholder-block"]
}
+1
View File
@@ -276,6 +276,7 @@ export const superBlockToCertMap: {
[SuperBlocks.FullStackDeveloper]: Certification.FullStackDeveloper,
[SuperBlocks.A2English]: Certification.A2English,
[SuperBlocks.B1English]: Certification.B1English,
[SuperBlocks.A1Spanish]: null,
[SuperBlocks.A2Spanish]: Certification.A2Spanish,
[SuperBlocks.A2Chinese]: Certification.A2Chinese,
[SuperBlocks.A1Chinese]: Certification.A1Chinese,
+14
View File
@@ -25,6 +25,7 @@ export enum SuperBlocks {
FullStackDeveloper = 'full-stack-developer',
A2English = 'a2-english-for-developers',
B1English = 'b1-english-for-developers',
A1Spanish = 'a1-professional-spanish',
A2Spanish = 'a2-professional-spanish',
A2Chinese = 'a2-professional-chinese',
A1Chinese = 'a1-professional-chinese',
@@ -39,7 +40,9 @@ export enum SuperBlocks {
export const languageSuperBlocks = [
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A1Chinese,
SuperBlocks.A2Chinese
];
@@ -117,6 +120,7 @@ export const superBlockStages: StageMap = {
[SuperBlockStage.Next]: [],
[SuperBlockStage.Upcoming]: [
SuperBlocks.FullStackOpen,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -151,6 +155,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -166,6 +171,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -181,6 +187,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -196,6 +203,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -209,6 +217,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -222,6 +231,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -235,6 +245,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -256,6 +267,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -285,6 +297,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -312,6 +325,7 @@ export const notAuditedSuperBlocks: NotAuditedSuperBlocks = {
SuperBlocks.FullStackDeveloper,
SuperBlocks.A2English,
SuperBlocks.B1English,
SuperBlocks.A1Spanish,
SuperBlocks.A2Spanish,
SuperBlocks.A2Chinese,
SuperBlocks.A1Chinese,
@@ -91,6 +91,10 @@ export const superBlockList = [
name: 'Certified Full Stack Developer',
path: 'full-stack-developer'
},
{
name: 'A1 Professional Spanish (Beta)',
path: 'a1-professional-spanish'
},
{
name: 'A2 Professional Spanish (Beta)',
path: 'a2-professional-spanish'
@@ -14,6 +14,7 @@ const stepBasedSuperblocks = [
const taskBasedSuperblocks = [
'a2-english-for-developers',
'b1-english-for-developers',
'a1-professional-spanish',
'a2-professional-spanish',
'a2-professional-chinese',
'a1-professional-chinese'
@@ -24,6 +24,7 @@ export const superBlockNameMap: { [key: string]: string } = {
'python-for-everybody': 'python-for-everybody',
'b1-english-for-developers': 'b1-english-for-developers',
'front-end-development': 'full-stack-developer',
'a1-professional-spanish': 'a1-professional-spanish',
'a2-professional-spanish': 'a2-professional-spanish',
'a2-professional-chinese': 'a2-professional-chinese',
'a1-professional-chinese': 'a1-professional-chinese'