Skip to content

Commit 5daf716

Browse files
committed
h1 removed
1 parent 909af2d commit 5daf716

4 files changed

Lines changed: 2 additions & 32 deletions

File tree

‎front/src/pods/student/student.component.tsx‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,10 @@ interface Props {
1111

1212
export const StudentComponent: React.FC<Props> = props => {
1313
const { room, log } = props;
14-
const {
15-
mainContainer,
16-
title,
17-
sessionName,
18-
studentBoard,
19-
labelTextarea,
20-
} = classes;
14+
const { mainContainer, sessionName, studentBoard, labelTextarea } = classes;
2115

2216
return (
2317
<>
24-
<header>
25-
<Typography className={title} variant="h1">
26-
Student page
27-
</Typography>
28-
</header>
2918
<main className={mainContainer}>
3019
<Typography className={sessionName} variant="body1">
3120
Session name: {room}

‎front/src/pods/student/student.styles.ts‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ export const mainContainer = css`
77
margin: ${spacing(40)} auto 0 auto;
88
`;
99

10-
export const title = css`
11-
font-size: 3rem;
12-
text-align: center;
13-
margin-bottom: 2rem;
14-
margin-top: 2rem;
15-
`;
16-
1710
export const studentBoard = css`
1811
box-sizing: border-box;
1912
width: 100%;

‎front/src/pods/trainer/trainer.component.tsx‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,10 @@ export const TrainerComponent: React.FC<Props> = props => {
2020
log,
2121
} = props;
2222

23-
const { mainContainer, title } = classes;
23+
const { mainContainer } = classes;
2424

2525
return (
2626
<>
27-
<header>
28-
<Typography className={title} variant="h1">
29-
Trainer page
30-
</Typography>
31-
</header>
3227
<main className={mainContainer}>
3328
<HeaderComponent
3429
currentTrainerUrl={currentTrainerUrl}

‎front/src/pods/trainer/trainer.styles.ts‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,3 @@ export const mainContainer = css`
44
width: 60%;
55
margin: 40px auto 0 auto;
66
`;
7-
8-
export const title = css`
9-
font-size: 3rem;
10-
text-align: center;
11-
margin-bottom: 2rem;
12-
margin-top: 2rem;
13-
`;

0 commit comments

Comments
 (0)