Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add hall page #401

Merged
merged 9 commits into from
Feb 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added client/src/assets/images/halls/cvr.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 client/src/assets/images/halls/dba.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 client/src/assets/images/halls/gdb.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 client/src/assets/images/halls/hb.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 client/src/assets/images/halls/kms.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 client/src/assets/images/halls/mss.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 client/src/assets/images/halls/mv.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 client/src/assets/images/halls/sd.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 client/src/assets/images/halls/vs.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
357 changes: 357 additions & 0 deletions client/src/assets/placeholder/hallInfo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,357 @@
// Images
import sd from '../../assets/images/halls/sd.jpg';
import cvr from '../../assets/images/halls/cvr.jpg';
import dba from '../../assets/images/halls/dba.jpg';
import gdb from '../../assets/images/halls/gdb.jpg';
import hb from '../../assets/images/halls/hb.jpg';
import kms from '../../assets/images/halls/kms.jpg';
import mv from '../../assets/images/halls/mv.jpg';
import vs from '../../assets/images/halls/vs.jpg';
import mss from '../../assets/images/halls/mss.jpg';

export const hallinfo = Object.freeze({
dropdown: [
{
title: 'Satish Dhawan Hall of Residence',
contact: [
{
name: 'Prof. Supratim Giri',
email: 'girisupr@nitrkl.ac.in',
phone: '0661-2462666',
designation: 'Warden',
},
{
name: 'Dr. Madhuresh Dwivedi',
email: 'dwivedim@nitrkl.ac.in',
phone: ' 0661-2462907',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: sd,
},
],
},
{
title: 'M.S. Swaminathan Hall Of Residence',
contact: [
{
name: 'Prof. Bhishma Tyagi',
email: 'tyagib@nitrkl.ac.in',
phone: '0661-2462934',
designation: 'Warden',
},
{
name: 'Dr. Bukke Kiran Naik',
email: 'naikkb@nitrkl.ac.in',
phone: 'NA',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: mss,
},
],
},
{
title: 'Homi Bhabha Hall of Residence',
contact: [
{
name: 'Prof. Bijesh Kumar Biswal',
email: 'biswalb@nitrkl.ac.in',
phone: '0661-2462785',
designation: 'Warden',
},
{
name: 'Dr. Subhajit Mondal',
email: 'mondalsubhajit@nitrkl.ac.in',
phone: '0661-2462304',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: hb,
},
],
},
{
title: 'Kiran Majumdar Shaw Hall of Residence',
contact: [
{
name: 'Prof. Sandhyarani Biswas',
email: 'srb@nitrkl.ac.in',
phone: '0661-2462505',
designation: 'Warden',
},
{
name: 'Prof. K. Ratna Subhashini',
email: 'krsubhashini@nitrkl.ac.in',
phone: '0661-2462415',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: kms,
},
],
},
{
title: 'GD Birla Hall of Residence',
contact: [
{
name: 'Prof. Ajit Kumar Sahoo',
email: 'ajitsahoo@nitrkl.ac.in',
phone: '0661-2462461',
designation: 'Warden',
},
{
name: 'Dr. Kishore Singh Patel',
email: 'patelks@nitrkl.ac.in',
phone: 'NA',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: gdb,
},
],
},
{
title: 'Vikram Sarabhai Hall of Residence',
contact: [
{
name: 'Prof. Syed Nasimul Alam',
email: 'syedn@nitrkl.ac.in',
phone: '0661-2462563',
designation: 'Warden',
},
{
name: 'Dr. Pankaj Kumar Sharma',
email: 'sharmap@nitrkl.ac.in',
phone: 'NA',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: vs,
},
],
},
{
title: 'Dhirubhai Ambani Hall of Residence',
contact: [
{
name: 'Prof. Pradip Chowdhury',
email: 'chowdhuryp@nitrkl.ac.in',
phone: '0661-2462269',
designation: 'Warden',
},
{
name: 'Dr. Manvendra Pratap Singh',
email: 'singhm@nitrkl.ac.in',
phone: 'NA',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: dba,
},
],
},
{
title: 'C.V. Raman Hall of Residence',
contact: [
{
name: 'Prof.(Ms.) Suchismita Chinara',
email: 'suchismita@nitrkl.ac.in',
phone: '0661-2462361',
designation: 'Warden',
},
{
name: 'Prof. Angana Sarkar',
email: 'sarkara@nitrkl.ac.in',
phone: '0661-2462295',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: cvr,
},
],
},
{
title: 'Mokshagundam Visvesvaraya Hall of Residence',
contact: [
{
name: 'Prof. Shesadev Pradhan',
email: 'pradhansh@nitrkl.ac.in',
phone: '0661-2462716',
designation: 'Warden',
},
{
name: 'Dr. Vikas Thakur',
email: 'thakurv@nitrkl.ac.in',
phone: '0661-2462807',
designation: 'Assistant Warden',
},
{
name: 'Prof. Anantha C Pradhan',
email: ' pradhana@nitrkl.ac.in',
phone: '661 246 2735',
designation: 'Maintenance Coordinating Warden',
},
{
name: 'Prof. Manmath Narayan Sahoo',
email: 'sahoom@nitrkl.ac.in',
phone: '661 246 2364',
designation: 'Quality Control Coordinating Warden',
},
],
details: [
{
established: '2008',
rooms: '1014',
boarders: '1200',
type: 'Boys Hostel with single and double-seater rooms',
pic: mv,
},
],
},
],
});
20 changes: 11 additions & 9 deletions client/src/components/guide/Options.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ const Options = () => {
</Typography>
</div>
</Link>
{/* <div className={classes.optionWrapper}>
<Image src={icon3} alt='Icon' className={classes.icons} />
<Typography variant='h3' className={classes.option2}>
Hall Info
</Typography>
<Typography variant='h3' className={classes.arrow}>
<i className='fas fa-chevron-right'></i>
</Typography>
</div> */}
<Link href='/info/health' passHref>
<div className={classes.optionWrapper}>
<Image src={icon4} alt='Icon' className={classes.icons} />
Expand All @@ -79,6 +70,17 @@ const Options = () => {
</Typography>
</div>
</Link>
<Link href='/hallInfo' passHref>
<div className={classes.optionWrapper}>
<Image src={icon3} alt='Icon' className={classes.icons} />
<Typography variant='h3' className={classes.option2}>
Hall Info
</Typography>
<Typography variant='h3' className={classes.arrow}>
<i className='fas fa-chevron-right'></i>
</Typography>
</div>
</Link>
</div>
);
};
Expand Down
Loading