From b50717c88ff5297e505ad3a663622593c0b8f03d Mon Sep 17 00:00:00 2001 From: EmmaVandewalle Date: Fri, 8 Mar 2024 21:52:36 +0100 Subject: [PATCH] feat: projectcards for student first look done --- .../src/assets/styles/students_components.css | 19 ++++++++++++ frontend/src/components/Header.tsx | 2 +- frontend/src/pages/student/HomeStudent.tsx | 16 ++++++++-- .../src/pages/student/ProjectCardStudent.tsx | 29 +++++++++++++++++++ 4 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 frontend/src/assets/styles/students_components.css create mode 100644 frontend/src/pages/student/ProjectCardStudent.tsx diff --git a/frontend/src/assets/styles/students_components.css b/frontend/src/assets/styles/students_components.css new file mode 100644 index 00000000..4f05acd9 --- /dev/null +++ b/frontend/src/assets/styles/students_components.css @@ -0,0 +1,19 @@ +.student-main { + width: 60vw; + flex-wrap: wrap; + overflow-y: scroll; +} + +.project-card { + background-color: #9c9afd !important; + width: 25vw; + height: 25vh; +} + +.p-negative { + color: red !important; +} + +.p-positive { + color: green !important; +} \ No newline at end of file diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 7c900e71..96584f90 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -5,7 +5,7 @@ export function Header(): JSX.Element { return (