2020-06-07 15:57:51 +02:00
|
|
|
import React from "react";
|
|
|
|
import "./index.scss";
|
2020-06-09 20:07:54 +02:00
|
|
|
import Class from "../Class";
|
|
|
|
|
2020-06-07 15:57:51 +02:00
|
|
|
interface RightBarProps {}
|
|
|
|
|
|
|
|
interface RightBarState {}
|
|
|
|
|
|
|
|
export default class RightBar extends React.Component<
|
|
|
|
RightBarProps,
|
|
|
|
RightBarState
|
|
|
|
> {
|
|
|
|
render() {
|
2020-06-12 16:17:48 +02:00
|
|
|
var data = [
|
|
|
|
{
|
|
|
|
classname: "E-gospodarka - narzędzia i bezpieczeństwo",
|
|
|
|
classgroups: [
|
|
|
|
{
|
|
|
|
group_id: "1CB",
|
|
|
|
day: "Pn",
|
|
|
|
time: "10:00",
|
|
|
|
lecturer: "dr inż. Michał Ren",
|
|
|
|
room: "A2-01",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_id: "1CC",
|
|
|
|
day: "Wt",
|
|
|
|
time: "12:00",
|
|
|
|
lecturer: "dr inż. Michał Ren",
|
|
|
|
room: "A3-01",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
classname: "Statystyka",
|
|
|
|
classgroups: [
|
|
|
|
{
|
|
|
|
group_id: "1CB",
|
|
|
|
day: "Pn",
|
|
|
|
time: "10:00",
|
|
|
|
lecturer: "dr inż. Michał Ren",
|
|
|
|
room: "A2-01",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
group_id: "1CC",
|
|
|
|
day: "Wt",
|
|
|
|
time: "12:00",
|
|
|
|
lecturer: "dr inż. Michał Ren",
|
|
|
|
room: "A3-01",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
2020-06-07 15:57:51 +02:00
|
|
|
return (
|
2020-06-12 16:17:48 +02:00
|
|
|
<div className="right-bar">
|
|
|
|
<div className="right-bar__text">
|
2020-06-07 15:57:51 +02:00
|
|
|
Hubert Wrzesiński<br></br>
|
|
|
|
Semestr zimowy 2020/2021
|
|
|
|
</div>
|
2020-06-12 16:17:48 +02:00
|
|
|
<Class data={data[0]} />
|
|
|
|
<Class data={data[1]} />
|
|
|
|
<Class data={data[0]} />
|
|
|
|
<Class data={data[1]} />
|
|
|
|
<Class data={data[0]} />
|
|
|
|
<Class data={data[1]} />
|
2020-06-07 15:57:51 +02:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|