color croups and lectures

This commit is contained in:
wrzesinski-hubert
2020-09-28 20:16:54 +02:00
parent 45a226b4b8
commit 12d50c790b
4 changed files with 44 additions and 16 deletions

View File

@ -27,9 +27,23 @@ const RightbarStyled = styled.div`
}
`;
const RightbarTextStyled = styled.div`
display: flex;
flex-direction: column;
border-bottom: 1px solid;
`;
const SaveButton = styled.div`
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(100, 181, 246) !important;
border-radius: 10px;
cursor: pointer;
height: 40px;
background-color: red;
margin-bottom: 10px;
`;
export const Rightbar = () => {
const { courses, basket } = useContext(coursesContext)!;
@ -44,14 +58,14 @@ export const Rightbar = () => {
return (
<RightbarStyled>
<RightbarTextStyled>
Hubert Wrzesiński<br></br>
Semestr zimowy 2020/2021
<p>
Hubert Wrzesiński<br></br>
Semestr zimowy 2020/2021
</p>
<SaveButton>SAVE</SaveButton>
</RightbarTextStyled>
{filteredCourses.map((course, index) => (
<CourseCard
course={course}
key={index}
/>
<CourseCard course={course} key={index} />
))}
</RightbarStyled>
);