form 1 topics added
This commit is contained in:
@@ -6,11 +6,11 @@ export interface Topic {
|
||||
}
|
||||
|
||||
export interface Unit {
|
||||
number: 1 | 2 | 3 | 4 | 5 | 6;
|
||||
number: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
||||
slug: string;
|
||||
title: string;
|
||||
description: string;
|
||||
color: "unit-1" | "unit-2" | "unit-3" | "unit-4" | "unit-5" | "unit-6";
|
||||
color: "unit-1" | "unit-2" | "unit-3" | "unit-4" | "unit-5" | "unit-6" | "unit-7" | "unit-8";
|
||||
topics: Topic[];
|
||||
}
|
||||
|
||||
@@ -160,6 +160,12 @@ export const curriculum: Unit[] = [
|
||||
description: "Add, subtract, multiply, divide integers and apply to real-world problems",
|
||||
color: "unit-5",
|
||||
topics: [
|
||||
{
|
||||
slug: "order-compare",
|
||||
title: "Order and Compare Integers",
|
||||
shortTitle: "Order & Compare",
|
||||
description: "Place integers on a number line, order them, and compare with < and >",
|
||||
},
|
||||
{
|
||||
slug: "add-subtract",
|
||||
title: "Add and Subtract Integers",
|
||||
@@ -172,6 +178,12 @@ export const curriculum: Unit[] = [
|
||||
shortTitle: "Multiply & Divide",
|
||||
description: "Sign rules for multiplication and division with real-world thermometer problems",
|
||||
},
|
||||
{
|
||||
slug: "negative-fractions",
|
||||
title: "Negative Fractions",
|
||||
shortTitle: "Negative Fractions",
|
||||
description: "Apply the sign rules to add, subtract, multiply and divide fractions with negative signs",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -181,6 +193,12 @@ export const curriculum: Unit[] = [
|
||||
description: "Explore how numbers can be written in different bases, beyond the everyday denary system",
|
||||
color: "unit-6",
|
||||
topics: [
|
||||
{
|
||||
slug: "place-value",
|
||||
title: "Denary Place Value (Base 10)",
|
||||
shortTitle: "Place Value",
|
||||
description: "Powers of 10 and writing numbers in expanded form",
|
||||
},
|
||||
{
|
||||
slug: "binary",
|
||||
title: "Binary Numbers",
|
||||
@@ -195,6 +213,54 @@ export const curriculum: Unit[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
number: 7,
|
||||
slug: "unit-7-coordinates",
|
||||
title: "Coordinates",
|
||||
description: "Plot points and read coordinates on the Cartesian plane",
|
||||
color: "unit-7",
|
||||
topics: [
|
||||
{
|
||||
slug: "plot-points",
|
||||
title: "Plot Points on the Cartesian Plane",
|
||||
shortTitle: "Plot Points",
|
||||
description: "Use x and y coordinates to place points and reveal hidden shapes",
|
||||
},
|
||||
{
|
||||
slug: "read-coordinates",
|
||||
title: "State Coordinates of Points",
|
||||
shortTitle: "Read Coordinates",
|
||||
description: "Read off the (x, y) coordinates of points in all four quadrants",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
number: 8,
|
||||
slug: "unit-8-number-properties",
|
||||
title: "Number Properties",
|
||||
description: "Identity and inverse, the laws of arithmetic, and powers of numbers",
|
||||
color: "unit-8",
|
||||
topics: [
|
||||
{
|
||||
slug: "identity-inverse",
|
||||
title: "Identity and Inverse",
|
||||
shortTitle: "Identity & Inverse",
|
||||
description: "Identity for addition and multiplication, inverses, and the zero facts",
|
||||
},
|
||||
{
|
||||
slug: "number-laws",
|
||||
title: "Commutative, Associative and Distributive Laws",
|
||||
shortTitle: "Number Laws",
|
||||
description: "Which operations can be swapped, regrouped, and expanded",
|
||||
},
|
||||
{
|
||||
slug: "exponents",
|
||||
title: "Powers and Exponents",
|
||||
shortTitle: "Exponents",
|
||||
description: "Base and power, expanding powers, and the index laws",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export function getUnit(slug: string): Unit | undefined {
|
||||
@@ -206,7 +272,7 @@ export function getTopic(unitSlug: string, topicSlug: string): Topic | undefined
|
||||
return unit?.topics.find((t) => t.slug === topicSlug);
|
||||
}
|
||||
|
||||
export function getUnitColor(unitNumber: 1 | 2 | 3 | 4 | 5 | 6): string {
|
||||
export function getUnitColor(unitNumber: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8): string {
|
||||
const colors = {
|
||||
1: "unit-1",
|
||||
2: "unit-2",
|
||||
@@ -214,6 +280,8 @@ export function getUnitColor(unitNumber: 1 | 2 | 3 | 4 | 5 | 6): string {
|
||||
4: "unit-4",
|
||||
5: "unit-5",
|
||||
6: "unit-6",
|
||||
7: "unit-7",
|
||||
8: "unit-8",
|
||||
};
|
||||
return colors[unitNumber];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user