Skip to content

Commit a7995e2

Browse files
committed
Mentor Section added separately
1 parent b237675 commit a7995e2

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

assets/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function setMember(info){
211211
const memberContainer = createElement(
212212
"div",
213213
{
214-
class: info.profile==="faculty"? "col-lg-3 col-md-4 col-sm-6 col-6" : "col-lg-3 col-md-4 col-sm-6 col-6 slide"
214+
class: info.profile==="member"? "col-lg-3 col-md-4 col-sm-6 col-6 slide" : "col-lg-3 col-md-4 col-sm-6 col-6"
215215
}
216216
);
217217
memberContainer.appendChild(memberDiv);

assets/js/members.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"faculty":[
33
{
4-
"profile": "faculty",
4+
"profile": "mentor",
55
"img": "https://nitsikkim.ac.in/img/mahesh.png",
66
"name": "Prof. Mahesh Chandra Govil",
77
"designation" : "Director, NIT Sikkim"

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ <h3 class="title">resources</h3>
111111
<h3 class="title">Our Team</h3>
112112
</header>
113113
<div class="container">
114+
<header class="section-header">
115+
<h4 class="title">Mentor</h4>
116+
</header>
117+
<div id="mentor-container" class="row">
118+
119+
</div>
114120
<header class="section-header">
115121
<h4 class="title">Faculty</h4>
116122
</header>

0 commit comments

Comments
 (0)