Archived
sidebar position fixed
This commit is contained in:
@@ -5,16 +5,16 @@ import Grid from "@mui/material/Grid";
|
||||
|
||||
const Home: React.FC = () => {
|
||||
return (
|
||||
<Container className="main-home">
|
||||
<Grid container>
|
||||
<Grid item sm={8}>
|
||||
<MeetingsPanel />
|
||||
</Grid>
|
||||
<Grid item sm={4}>
|
||||
<ShortCuts />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Container>
|
||||
<Container className="main-home">
|
||||
<Grid container>
|
||||
<Grid item sm={8}>
|
||||
<MeetingsPanel />
|
||||
</Grid>
|
||||
<Grid item sm={4}>
|
||||
<ShortCuts />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Container>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -1,17 +1,21 @@
|
||||
function Meeting(props: any) {
|
||||
return (
|
||||
interface Props {
|
||||
meetingName: string;
|
||||
meetingTime: string;
|
||||
}
|
||||
|
||||
<div className="row meeting">
|
||||
<div className="col-12">
|
||||
<div className="row">
|
||||
<label>{props.meetingName}</label>
|
||||
</div>
|
||||
<div className="row">
|
||||
<label>{props.meetingTime}</label>
|
||||
</div>
|
||||
</div>
|
||||
function Meeting(props: Props) {
|
||||
return (
|
||||
<div className="row meeting">
|
||||
<div className="col-12">
|
||||
<div className="row">
|
||||
<label>{props.meetingName}</label>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Meeting;
|
||||
<div className="row">
|
||||
<label>{props.meetingTime}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Meeting;
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
import Meeting from "./Meeting";
|
||||
|
||||
const MeetingsPanel: React.FC = () => {
|
||||
return (
|
||||
<div className="meetings-panel">
|
||||
<div className="row current-time">
|
||||
<label>10:34 AM</label>
|
||||
</div>
|
||||
<div className="row current-date">
|
||||
<label>Sunday, 03 Feb 2022</label>
|
||||
</div>
|
||||
return (
|
||||
<div className="meetings-panel">
|
||||
<div className="row current-time">
|
||||
<label>10:34 AM</label>
|
||||
</div>
|
||||
<div className="row current-date">
|
||||
<label>Sunday, 03 Feb 2022</label>
|
||||
</div>
|
||||
|
||||
<Meeting meetingName="first meeting" meetingTime="time" />
|
||||
<Meeting meetingName="second meeting" meetingTime="time" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
<Meeting meetingName="first meeting" meetingTime="time" />
|
||||
<Meeting meetingName="second meeting" meetingTime="time" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default MeetingsPanel;
|
||||
export default MeetingsPanel;
|
||||
@@ -1,43 +1,43 @@
|
||||
import PeopleIcon from '@mui/icons-material/People';
|
||||
import AddIcon from '@mui/icons-material/Add';
|
||||
import PhoneEnabledIcon from '@mui/icons-material/PhoneEnabled';
|
||||
import CircleIcon from '@mui/icons-material/Circle';
|
||||
import PeopleIcon from "@mui/icons-material/People";
|
||||
import AddIcon from "@mui/icons-material/Add";
|
||||
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";
|
||||
|
||||
const ShortCuts: React.FC = () => {
|
||||
return (
|
||||
<div className="short-cuts" >
|
||||
<Grid className="row-1" container spacing={1}>
|
||||
<Grid item sm={6}>
|
||||
<Button className="tile">
|
||||
<PeopleIcon className="icon" />
|
||||
</Button>
|
||||
<label>New Meeting</label>
|
||||
</Grid>
|
||||
<Grid item sm={6}>
|
||||
<Button className="tile">
|
||||
<AddIcon className="icon" />
|
||||
</Button>
|
||||
<label>Join</label>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid className="row-2" container spacing={1}>
|
||||
<Grid item sm={6}>
|
||||
<Button className="tile">
|
||||
<PhoneEnabledIcon className="icon" />
|
||||
</Button>
|
||||
<label>Call Favourites</label>
|
||||
</Grid>
|
||||
<Grid item sm={6}>
|
||||
<Button className="tile">
|
||||
<CircleIcon className="icon" />
|
||||
</Button>
|
||||
<label>Recordings</label>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
return (
|
||||
<div className="short-cuts" >
|
||||
<Grid className="row-1" container spacing={1}>
|
||||
<Grid item sm={6}>
|
||||
<Button className="tile">
|
||||
<PeopleIcon className="icon" />
|
||||
</Button>
|
||||
<label>New Meeting</label>
|
||||
</Grid>
|
||||
<Grid item sm={6}>
|
||||
<Button className="tile">
|
||||
<AddIcon className="icon" />
|
||||
</Button>
|
||||
<label>Join</label>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid className="row-2" container spacing={1}>
|
||||
<Grid item sm={6}>
|
||||
<Button className="tile">
|
||||
<PhoneEnabledIcon className="icon" />
|
||||
</Button>
|
||||
<label>Call Favourites</label>
|
||||
</Grid>
|
||||
<Grid item sm={6}>
|
||||
<Button className="tile">
|
||||
<CircleIcon className="icon" />
|
||||
</Button>
|
||||
<label>Recordings</label>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ShortCuts;
|
||||
export default ShortCuts;
|
||||
Reference in New Issue
Block a user