changed from label to Typography, changed time format

This commit is contained in:
CodeServer
2022-03-14 23:35:14 +00:00
parent dbbc6225cf
commit c45fb59154
11 changed files with 21 additions and 14 deletions
+4 -3
View File
@@ -1,3 +1,4 @@
import Typography from "@mui/material/Typography";
interface Props {
meetingName: string;
meetingTime: string;
@@ -9,13 +10,13 @@ function Meeting(props: Props) {
<div className="row meeting">
<div className="col-12">
<div className="row">
<label>{props.meetingName}</label>
<Typography className="mylabel" sx={{ ml: 1 }}>{props.meetingName}</Typography>
</div>
<div className="row">
<label>{props.meetingTime}</label>
<Typography className="mylabel" sx={{ ml: 1 }}>{props.meetingTime}</Typography>
</div>
<div className="row">
<label>{props.meetingMembers}</label>
<Typography className="mylabel" sx={{ ml: 1 }}>{props.meetingMembers}</Typography>
</div>
</div>
</div>
+5 -4
View File
@@ -1,17 +1,18 @@
import Meeting from "./Meeting";
import Typography from "@mui/material/Typography";
const MeetingsPanel: React.FC = () => {
return (
<div className="meetings-panel">
<div className="row current-time">
<label>10:34 AM</label>
<Typography className="mylabel" sx={{ ml: 1 }}>10:34 AM</Typography>
</div>
<div className="row current-date">
<label>Sunday, 03 Feb 2022</label>
<Typography className="mylabel" sx={{ ml: 1 }}>Sunday, 03 Feb 2022</Typography>
</div>
<Meeting meetingName="meeting" meetingTime="0800-1200" meetingMembers="" />
<Meeting meetingName="meeting" meetingTime="0830-1100" meetingMembers="" />
<Meeting meetingName="Meeting Name" meetingTime="8:00am - 12:00pm" meetingMembers="Jincheng L., Matt B." />
<Meeting meetingName="Meeting Name" meetingTime="8:30am - 11:00am" meetingMembers="Matt B., Taehee C." />
</div>
);
};
+5 -4
View File
@@ -4,6 +4,7 @@ import PhoneEnabledIcon from "@mui/icons-material/PhoneEnabled";
import CircleIcon from "@mui/icons-material/Circle";
import Button from "@mui/material/Button";
import Grid from "@mui/material/Grid";
import Typography from "@mui/material/Typography";
const ShortCuts: React.FC = () => {
return (
@@ -13,13 +14,13 @@ const ShortCuts: React.FC = () => {
<Button className="tile">
<PeopleIcon className="icon" />
</Button>
<label>New Meeting</label>
<Typography className="mylabel" sx={{ ml: 1 }}>New Meeting</Typography>
</Grid>
<Grid item sm={6}>
<Button className="tile">
<AddIcon className="icon" />
</Button>
<label>Join</label>
<Typography className="mylabel" sx={{ ml: 1 }}>Join</Typography>
</Grid>
</Grid>
<Grid className="row-2" container spacing={1}>
@@ -27,13 +28,13 @@ const ShortCuts: React.FC = () => {
<Button className="tile">
<PhoneEnabledIcon className="icon" />
</Button>
<label>Call Favourites</label>
<Typography className="mylabel" sx={{ ml: 1 }}>Call Favourites</Typography>
</Grid>
<Grid item sm={6}>
<Button className="tile">
<CircleIcon className="icon" />
</Button>
<label>Recordings</label>
<Typography className="mylabel" sx={{ ml: 1 }}>Recordings</Typography>
</Grid>
</Grid>
</div>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB