Skip to content

Commit 19a270c

Browse files
committed
Replace R&R project link with link to new Projects page
1 parent 7e4e740 commit 19a270c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/app/components/site/cs/RoutesCS.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export const RoutesCS = [
8383

8484
// Topics and content
8585
<TrackedRoute key={key++} exact path="/topics" component={AllTopics} />,
86+
<Redirect key={key++} from="/topics/projects_link_pseudo_project" to="/projects" />,
8687
<TrackedRoute key={key++} exact path="/topics/:topicName" component={Topic} />,
8788
<TrackedRoute key={key++} exact path="/exam_specifications_england" component={ExamSpecifications} />,
8889
<TrackedRoute key={key++} exact path="/exam_specifications_wales" component={ExamSpecifications}

src/app/services/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ export enum TAG_ID {
548548
mathsForCs = "maths_for_cs",
549549

550550
// Software project topics
551+
projects_link_pseudo_project = "projects_link_pseudo_project",
551552
database_project = "projdb_repair_and_reform",
552553
aqa_nea_project = "aqa_nea_project",
553554
ocr_nea_project = "ocr_nea_project",

src/app/services/tagsCS.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class CsTagService extends AbstractBaseTagService {
102102
{id: TAG_ID.mathsForCs, title: "Maths for computer science", parent: TAG_ID.theoryOfComputation, stageOverride: GCSE_HIDDEN},
103103

104104
// Software projects topics
105-
{id: TAG_ID.database_project, title: "Database project", parent: TAG_ID.projects, new: true},
105+
{id: TAG_ID.projects_link_pseudo_project, title: "Projects and Scenarios", parent: TAG_ID.projects, new: true},
106106
{id: TAG_ID.aqa_nea_project, title: "AQA NEA (coursework)", parent: TAG_ID.projects},
107107
{id: TAG_ID.ocr_nea_project, title: "OCR NEA (coursework)", parent: TAG_ID.projects},
108108

0 commit comments

Comments
 (0)