diff --git a/client/i18n/locales/english/intro.json b/client/i18n/locales/english/intro.json index 82dfd2f8d57..c139b641fa6 100644 --- a/client/i18n/locales/english/intro.json +++ b/client/i18n/locales/english/intro.json @@ -67,7 +67,7 @@ } }, "2022/responsive-web-design": { - "title": "Responsive Web Design", + "title": "(New) Responsive Web Design", "intro": [ "In this Responsive Web Design Certification, you'll learn the languages that developers use to build webpages: HTML (Hypertext Markup Language) for content, and CSS (Cascading Style Sheets) for design.", "First, you'll build a cat photo app to learn the basics of HTML and CSS. Later, you'll learn modern techniques like CSS variables by building a penguin, and best practices for accessibility by building a web form.", diff --git a/client/src/__mocks__/challenge-nodes.ts b/client/src/__mocks__/challenge-nodes.ts index a138205c80d..7824cdb4778 100644 --- a/client/src/__mocks__/challenge-nodes.ts +++ b/client/src/__mocks__/challenge-nodes.ts @@ -168,6 +168,20 @@ const mockChallengeNodes: MockChallengeNodes[] = [ superBlock: 'super-block-three', dashedName: 'challenge-two' } + }, + { + challenge: { + fields: { + slug: '/super-block-three/block-c/challenge-three', + blockName: 'Block C' + }, + id: 'l', + block: 'block-c', + title: 'Challenge Three', + isPrivate: false, + superBlock: 'super-block-three', + dashedName: 'challenge-three' + } } ]; diff --git a/client/src/components/Map/__snapshots__/map.test.tsx.snap b/client/src/components/Map/__snapshots__/map.test.tsx.snap index b0922ca0cce..b1365622b20 100644 --- a/client/src/components/Map/__snapshots__/map.test.tsx.snap +++ b/client/src/components/Map/__snapshots__/map.test.tsx.snap @@ -49,6 +49,46 @@ exports[` snapshot: Map 1`] = ` +
  • + +
    + +
    + +
    +
  • i !== 0 && i !== 11) + ]; return (
    {forLanding - ? renderLandingMap(nodes) - : renderLearnMap(nodes, currentSuperBlock)} + ? renderLandingMap(temp) + : renderLearnMap(temp, currentSuperBlock)}
    ); } diff --git a/cypress/integration/landing.js b/cypress/integration/landing.js index 7fbe2f9b987..e74ed7c8f7c 100644 --- a/cypress/integration/landing.js +++ b/cypress/integration/landing.js @@ -7,7 +7,8 @@ const selectors = { }; const certifications = [ - 'Responsive Web Design', + '(New) Responsive Web Design', + 'Legacy Responsive Web Design', 'JavaScript Algorithms and Data Structures', 'Front End Development Libraries', 'Data Visualization', @@ -17,7 +18,6 @@ const certifications = [ 'Data Analysis with Python', 'Information Security', 'Machine Learning with Python', - 'Legacy Responsive Web Design', 'Relational Database (Beta)' ]; diff --git a/cypress/integration/learn/index.js b/cypress/integration/learn/index.js index 738acab3cdd..95de0865c0e 100644 --- a/cypress/integration/learn/index.js +++ b/cypress/integration/learn/index.js @@ -7,7 +7,8 @@ const locations = { }; const superBlockNames = [ - 'Responsive Web Design Certification', + '(New) Responsive Web Design Certification', + 'Legacy Responsive Web Design Certification', 'JavaScript Algorithms and Data Structures Certification', 'Front End Development Libraries Certification', 'Data Visualization Certification', @@ -18,7 +19,6 @@ const superBlockNames = [ 'Information Security Certification', 'Machine Learning with Python Certification', 'Coding Interview Prep (Thousands of hours of challenges)', - 'Legacy Responsive Web Design Certification', 'Relational Database (Beta) Certification' ]; diff --git a/cypress/integration/learn/responsive-web-design/intro-page.js b/cypress/integration/learn/responsive-web-design/intro-page.js index 9909ad7d2ff..76b10101ce6 100644 --- a/cypress/integration/learn/responsive-web-design/intro-page.js +++ b/cypress/integration/learn/responsive-web-design/intro-page.js @@ -13,7 +13,7 @@ describe('Certification intro page', () => { it('Should render', () => { cy.title().should( 'eq', - 'Responsive Web Design Certification | freeCodeCamp.org' + '(New) Responsive Web Design Certification | freeCodeCamp.org' ); }); diff --git a/tools/challenge-editor/api/configs/superBlockList.ts b/tools/challenge-editor/api/configs/superBlockList.ts index b49693ef010..28b0d6eb7ad 100644 --- a/tools/challenge-editor/api/configs/superBlockList.ts +++ b/tools/challenge-editor/api/configs/superBlockList.ts @@ -48,7 +48,7 @@ export const superBlockList = [ path: '13-relational-databases' }, { - name: 'Responsive Web Design', + name: '(New) Responsive Web Design', path: '14-responsive-web-design-22' }, {