Skip to content

Commit

Permalink
Merge pull request #38 from CDC-IITDH/parikshit
Browse files Browse the repository at this point in the history
Added TPO in contact and team pages.
  • Loading branch information
JayaSurya-27 authored Oct 13, 2024
2 parents 865e39c + 959917d commit d63f998
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 3 deletions.
33 changes: 31 additions & 2 deletions src/component/Pages/menteacher/First.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { Link } from "react-router-dom";

import defaultProfileImage from "../../../assets/img/team/default-avatar-profile.jpg";
import DefaultImage from "../../../assets/img/team/default-avatar-profile.jpg";
import facultyInChargeImage1 from "../../../assets/img/team/Satya_Priya_Image.jpeg";
import facultyInChargeImage2 from "../../../assets/img/team/ankit_v_k.JPG";

Expand Down Expand Up @@ -37,14 +37,38 @@ function First() {
},
];

const TPO = [
{
name: "Jayanti M Belur",
role: "Training & Placement Officer",
dept: "",
image: DefaultImage,
phone: "+91 63625 42567",
mail: "[email protected]",
position: "Training & Placement Officer",
},
]

const placementExecutive = [
{
name: "Sameer Joshi",
role: "Placement Executive",
dept: "",
image: placementExecutiveImage,
phone: "+91 85533 16439",
mail: "[email protected]",
position: "Placement Executive",
},
{
name: "Jayanti M Belur",
role: "Training & Placement Officer",
dept: "",
image: DefaultImage,
phone: "+91 63625 42567",
mail: "[email protected]",
position: "Training & Placement Officer",
},

];

const facultyAdvisors = [
Expand Down Expand Up @@ -252,17 +276,19 @@ function First() {
))}
</div>
</div>
{/* <div className="d-flex justify-content-center row"> */}
{placementExecutive.length > 0 && (
<div className="col">
<div
className="d-flex justify-content-center"
style={{ paddingBottom: "30px", paddingTop: "10px" }}
>
<h2>Placement Executive</h2>

</div>
<div className="row d-flex justify-content-center">
{placementExecutive.map((member, index) => (
<div key={index} className="col-xl-3 col-md-6">
<h5 className="text-center">{member.position}</h5>
<div className="single-team mb-40">
<div className="team-thumb">
<div className="brd">
Expand Down Expand Up @@ -309,6 +335,9 @@ function First() {
</div>
</div>
)}


{/* </div> */}
{/* CDC Student Heads */}
<div className="col">
<div
Expand Down
12 changes: 11 additions & 1 deletion src/component/contact/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import teamMemberImage1 from "../../assets/img/team/srihari.jpeg";
import teamMemberImage2 from "../../assets/img/team/agrim.jpeg";
import teamMemberImage3 from "../../assets/img/team/varun.jpg";
import placementExecutiveImage from "../../assets/img/team/Sameer_Joshi_Image.jpg";
import DefaultImage from "../../assets/img/team/default-avatar-profile.jpg";

function Main() {
const facultyMembers = [
Expand Down Expand Up @@ -44,6 +45,15 @@ function Main() {
mail: "[email protected]",
position: "Placement Executive",
},
{
name: "Jayanti M Belur",
role: "Training & Placement Officer",
dept: "",
image: DefaultImage,
phone: "+91 63625 42567",
mail: "[email protected]",
position: "Training & Placement Officer",
},
];

const teamMembers = [
Expand Down Expand Up @@ -74,7 +84,7 @@ function Main() {
<div className="col">
<div className="row">
{facultyMembers.map((member, index) => (
<div key={index} className="col-md-4 col-12">
<div key={index} className="col-md-6 col-12">
<div
className="single-team mb-40"
style={{ minHeight: "350px" }}
Expand Down

0 comments on commit d63f998

Please sign in to comment.