Skip to content

Commit

Permalink
update staff page
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank2021 committed Dec 24, 2021
1 parent e88d71d commit 4f2e969
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 10 deletions.
11 changes: 11 additions & 0 deletions src/components/person_card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Typography } from "@material-ui/core";
import { makeStyles } from "@material-ui/core/styles";
import Icon from '@material-ui/core/Icon';
import MailIcon from '@material-ui/icons/Mail';
import LocalPhoneIcon from '@material-ui/icons/LocalPhone';
import {
BrowserRouter as Router,
Route,
Expand Down Expand Up @@ -71,6 +72,16 @@ const PersonCard = (props) => {
{props.emailID}
</a>
</div>
{
props.mobile?(
<div className="info-div">
<LocalPhoneIcon className="info-icon" />
<a href={`tel::${props.mobile}`} className="info">
{props.mobile}
</a>
</div>
):null
}
</div>
</div>
</>
Expand Down
Binary file added src/images/people/staff/staff_1n.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/people/staff/staff_2n.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/people/staff/staff_3n.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/people/staff/staff_4n.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/people/staff/staff_5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 22 additions & 10 deletions src/json/staff.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
{
"data": [
{
"name": "Mr. S. Selvarasu",
"designation": "Consultant-Accountant",
"emailID": "[email protected]",
"src": "staff_1.jpg"
"name": "Mr. M. Balamurugan",
"designation": "Site Engineer",
"emailID": "--",
"src": "staff_1n.jpg"
},
{
"name": "Ms. P. Leema",
"designation": "Office-Assistant",
"emailID": "[email protected]",
"src": "staff_2.jpg"
"name": "Mrs. M. Saraswathy",
"designation": "Administrative Assistant",
"emailID": "--",
"src": "staff_2n.jpg"
},
{
"name": "Mr. S. Selvarasu",
"name": "Mr. R. Kannan",
"designation": "Administrative Assistant",
"emailID": "--",
"src": "staff_3n.jpg"
},
{
"name": "Mr. S. Christu Raj",
"designation": "Administrative Assistant",
"emailID": "--",
"src": "staff_4n.jpg"
},
{
"name": "Mr. V. Logeswaran",
"designation": "Multi-tasking Staff",
"emailID": " ",
"emailID": "--",
"src": "staff_4.jpg"
}
]
Expand Down
16 changes: 16 additions & 0 deletions src/pages/staff/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@ export default function Staff() {
<Grid container>
<Grid item xs={false} sm={1} />
<Grid container item xs={12} sm={10}>
<Grid item xs={12} sm={10}>
<Typography variant="h2" gutterBottom className={classes.title}>
Deputy Registrar
</Typography>
</Grid>
<Grid item xs={12} sm={6}>
<PersonCard
name={"Shri. Biju Mathew"}
designation={"Deputy Registrar"}
emailID={"[email protected]"}
src={"staff_5.jpg"}
src_type="staff"
researchArea=""
mobile="9401144440"
/>
</Grid>
<Grid item xs={12} sm={10}>
<Typography variant="h2" gutterBottom className={classes.title}>
Office staff
Expand Down

0 comments on commit 4f2e969

Please sign in to comment.