Archived
moved to material ui
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
import MeetingsPanel from "./MeetingsPanel";
|
||||
import ShortCuts from "./ShortCuts";
|
||||
import Container from "@mui/material/Container";
|
||||
import Grid from "@mui/material/Grid";
|
||||
|
||||
const Home: React.FC = () => {
|
||||
return (
|
||||
<div className="container-fluid">
|
||||
<div className="row main-home">
|
||||
<div className="col-8">
|
||||
<Container className="main-home">
|
||||
<Grid container>
|
||||
<Grid item sm={8}>
|
||||
<MeetingsPanel />
|
||||
</div>
|
||||
<div className="col-4 short-cuts">
|
||||
</Grid>
|
||||
<Grid item sm={4}>
|
||||
<ShortCuts />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Container>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
const Meeting: React.FC = () => {
|
||||
function Meeting(props: any) {
|
||||
return (
|
||||
|
||||
<div className="row meeting">
|
||||
<div className="col-12">
|
||||
<div className="row">
|
||||
<label>Metting Name</label>
|
||||
<label>{props.meetingName}</label>
|
||||
</div>
|
||||
<div className="row">
|
||||
<label>Metting time</label>
|
||||
<label>{props.meetingTime}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -10,7 +10,8 @@ const MeetingsPanel: React.FC = () => {
|
||||
<label>Sunday, 03 Feb 2022</label>
|
||||
</div>
|
||||
|
||||
<Meeting />
|
||||
<Meeting meetingName="first meeting" meetingTime="time" />
|
||||
<Meeting meetingName="second meeting" meetingTime="time" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,56 +1,43 @@
|
||||
import people from "./images/people.png";
|
||||
import plus from "./images/plus.png";
|
||||
import phoneCall from "./images/phone-call.png";
|
||||
import circle from "./images/circle.png";
|
||||
import PeopleIcon from '@mui/icons-material/People';
|
||||
import AddIcon from '@mui/icons-material/Add';
|
||||
import PhoneEnabledIcon from '@mui/icons-material/PhoneEnabled';
|
||||
// import phoneCall from "./images/phone-call.png";
|
||||
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="row row-1">
|
||||
<div className="col-6">
|
||||
<div className="row">
|
||||
<a className="tile btn">
|
||||
<img src={people} />
|
||||
</a>
|
||||
</div>
|
||||
<div className="row">
|
||||
<label>New Meeting</label>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-6">
|
||||
<div className="row">
|
||||
<a className="tile btn">
|
||||
<img src={plus} />
|
||||
</a>
|
||||
</div>
|
||||
<div className="row">
|
||||
<label>Join</label>
|
||||
</div>
|
||||
</div>
|
||||
<div className="short-cuts" >
|
||||
<Grid className="row-1" container spacing={2}>
|
||||
<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={2}>
|
||||
<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>
|
||||
<div className="row row-2">
|
||||
<div className="col-6">
|
||||
<div className="row">
|
||||
<a className="tile btn">
|
||||
<img src={phoneCall} />
|
||||
</a>
|
||||
</div>
|
||||
<div className="row">
|
||||
<label>Call Favourites</label>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-6">
|
||||
<div className="row">
|
||||
<a className="tile btn">
|
||||
<img src={circle} />
|
||||
</a>
|
||||
</div>
|
||||
<div className="row">
|
||||
<label>Recordings</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user