Skip to content

Commit 3cd653a

Browse files
committed
add support for math
1 parent b0af242 commit 3cd653a

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

dse-react/src/data/index.ts

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const subjects: Subject[] = [
3232
name: 'Mathematics',
3333
icon: '∫',
3434
href: '/subject/mathematics',
35-
active: false
35+
active: true
3636
},
3737
{
3838
id: 'economics',
@@ -57,7 +57,7 @@ export const subjects: Subject[] = [
5757
name: 'History',
5858
icon: '📜',
5959
href: '/subject/history',
60-
active: false
60+
active: true
6161
},
6262
{
6363
id: 'chemistry',
@@ -299,6 +299,25 @@ export const subjectData: Record<string, SubjectData> = {
299299
pastPapers: englishPapers
300300
}
301301
}
302+
,
303+
mathematics: {
304+
name: 'Mathematics',
305+
icon: '∫',
306+
papers: {
307+
sample: [],
308+
practice: [],
309+
pastPapers: []
310+
}
311+
},
312+
history: {
313+
name: 'History',
314+
icon: '📜',
315+
papers: {
316+
sample: [],
317+
practice: [],
318+
pastPapers: []
319+
}
320+
}
302321
};
303322

304323
// Category names for geography essays

0 commit comments

Comments
 (0)