Skip to content

Commit 1c8d0d2

Browse files
Add MPE page introduction content (#3183)
1 parent 1cc25c8 commit 1c8d0d2

File tree

2 files changed

+49
-2
lines changed

2 files changed

+49
-2
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
@import '~styles/utils/modules-entry';
2+
3+
.pageContainer {
4+
composes: page-container from global;
5+
height: 100%;
6+
7+
:global {
8+
animation-name: $page-entering-animation;
9+
}
10+
}
11+
12+
.header {
13+
padding: 0 0 1rem;
14+
margin-bottom: 1rem;
15+
border-bottom: 1px solid var(--gray-lighter);
16+
h2 {
17+
margin-bottom: 0.5rem;
18+
font-weight: bold;
19+
}
20+
h4 {
21+
margin-bottom: 0.5rem;
22+
font-weight: bold;
23+
}
24+
}
25+
26+
.subtitle {
27+
padding-top: 1rem;
28+
font-weight: bold;
29+
}

website/src/views/mpe/MpeContainer.tsx

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
1+
import styles from './MpeContainer.scss';
2+
13
type Props = {
24
placeholder: true; // Remove this when new props are added.
35
};
46

57
const MpeContainer: React.FC<Props> = () => (
6-
<div>
7-
<h1>MPE</h1>
8+
<div className={styles.pageContainer}>
9+
<div className="col-md-9">
10+
<header className={styles.header}>
11+
<h2>Module Preference Exercise</h2>
12+
<h4>AY2021/2022 - Semester 2</h4>
13+
</header>
14+
<h4 className={styles.subtitle}>Overview</h4>
15+
16+
<p>
17+
The Module Preference Exercise (MPE) is a project initiated by NUS to better understand
18+
students’ demand for specific modules. Students who have completed this exercise{' '}
19+
<strong>will receive tie-breaker benefit</strong> during the ModReg period.
20+
</p>
21+
<p>
22+
Do take note that this is only a planning exercise;{' '}
23+
<strong>it does not enroll you in the modules.</strong>
24+
</p>
25+
</div>
826
</div>
927
);
1028

0 commit comments

Comments
 (0)