├── .eslintrc.js
├── .github
└── workflows
│ └── codeql-analysis.yml
├── .gitignore
├── .husky
├── .gitignore
└── pre-commit
├── .prettierignore
├── .prettierrc
├── LICENSE
├── README.md
├── gatsby-config.js
├── gatsby-node.js
├── package.json
├── src
├── assets
│ ├── NotoSans.ttf
│ ├── Quicksand.ttf
│ ├── SourceSansPro.ttf
│ ├── logo512.png
│ ├── mangal.ttf
│ └── toggle.svg
├── components
│ ├── RTI.js
│ ├── RelaxationCritaria.js
│ ├── Slider
│ │ ├── BtnSlider.js
│ │ ├── Slider.js
│ │ ├── SliderStyle.js
│ │ └── icons
│ │ │ ├── left-arrow.svg
│ │ │ └── right-arrow.svg
│ ├── StaffClaimForms.js
│ ├── about.js
│ ├── academics.js
│ ├── academics
│ │ ├── IsroRac.js
│ │ ├── acadData.js
│ │ ├── const.js
│ │ ├── floatmenu.js
│ │ └── isroHome.js
│ ├── administration.js
│ ├── administration
│ │ ├── adcard.js
│ │ ├── const.js
│ │ └── img
│ │ │ └── main.svg
│ ├── carousel.js
│ ├── centreOfExcellence.js
│ ├── departments
│ │ ├── arch
│ │ │ ├── Architecture CourseStructure.js
│ │ │ ├── arch MURP.js
│ │ │ ├── arch-others-data.js
│ │ │ ├── archappenings.js
│ │ │ ├── archhome.js
│ │ │ └── archsyllabus.js
│ │ ├── ce
│ │ │ ├── Civil BTech CourseStructure.js
│ │ │ ├── ceHappenings.js
│ │ │ ├── cedd.js
│ │ │ ├── cehome.js
│ │ │ ├── cemtech.js
│ │ │ ├── cephd.js
│ │ │ ├── cesyllabus.js
│ │ │ └── civil-others-data.js
│ │ ├── chem
│ │ │ ├── CheStyle.css
│ │ │ ├── Chem IMSc CourseStructure.js
│ │ │ ├── Chem IMSc Electives.js
│ │ │ ├── btech.js
│ │ │ ├── chem-others-data.js
│ │ │ ├── chem-phd.js
│ │ │ ├── chemhome.js
│ │ │ └── chemsyllabus.js
│ │ ├── cse
│ │ │ ├── cse BTech CourseStructure.js
│ │ │ ├── cse Btech 2022 Onwards.js
│ │ │ ├── cse Btech NEP21.js
│ │ │ ├── cse Dual Degree CyberSecurity.js
│ │ │ ├── cse Dual Degree DataScience.js
│ │ │ ├── cse MTech CourseStructure.js
│ │ │ ├── cse-others-data.js
│ │ │ ├── csedd.js
│ │ │ ├── csehome.js
│ │ │ ├── csesyllabus.js
│ │ │ └── phd course.js
│ │ ├── dephome.js
│ │ ├── ece
│ │ │ ├── btech.js
│ │ │ ├── ece-mtech.js
│ │ │ ├── ece-others-data.js
│ │ │ ├── ece-phd.js
│ │ │ ├── eceHappenings.js
│ │ │ ├── ecedd.js
│ │ │ ├── ecehome.js
│ │ │ └── ecesyllabus.js
│ │ ├── ee
│ │ │ ├── Elec_Btech_course_structure.js
│ │ │ ├── Elec_MTECH_syllabus.js
│ │ │ ├── Elelc_phd.js
│ │ │ ├── ee-others-data.js
│ │ │ ├── eeHappenings.js
│ │ │ ├── eedd.js
│ │ │ ├── eehome.js
│ │ │ └── eesyllabus.js
│ │ ├── faculty.js
│ │ ├── floatmenu.js
│ │ ├── hss
│ │ │ ├── hss BTech CourseStructure.js
│ │ │ ├── hss Btech NEP21.js
│ │ │ ├── hss MTech CourseStructure.js
│ │ │ ├── hss-others-data.js
│ │ │ ├── hssCourseStructure.js
│ │ │ ├── hssdd.js
│ │ │ ├── hsshome.js
│ │ │ ├── hsssyllabus.js
│ │ │ └── phd course.js
│ │ ├── img
│ │ │ ├── book.svg
│ │ │ ├── download.svg
│ │ │ ├── faculty.svg
│ │ │ ├── lens.svg
│ │ │ ├── main.png
│ │ │ ├── map.svg
│ │ │ ├── mountain.svg
│ │ │ └── pc.svg
│ │ ├── math
│ │ │ ├── math course array.js
│ │ │ ├── math elective array.js
│ │ │ ├── mathHappenings.js
│ │ │ ├── mathdd.js
│ │ │ ├── mathhome.js
│ │ │ ├── maths-others-data.js
│ │ │ └── mathsyllabus.js
│ │ ├── me
│ │ │ ├── Mech BTech CourseStructure.js
│ │ │ ├── Mech MTech.js
│ │ │ ├── Mech Phd.js
│ │ │ ├── me-others-data.js
│ │ │ ├── meHappenings.js
│ │ │ ├── medd.js
│ │ │ ├── mehome.js
│ │ │ └── mesyllabus.js
│ │ └── phy
│ │ │ ├── Phy IMSc CourseStructure.js
│ │ │ ├── Phy Int.Phd.js
│ │ │ ├── Phy Mtech.js
│ │ │ ├── phy-others-data.js
│ │ │ ├── phyHappenings.js
│ │ │ ├── phydd.js
│ │ │ ├── phyhome.js
│ │ │ └── physicssyllabus.js
│ ├── deputyDirector.js
│ ├── director.js
│ ├── event.js
│ ├── facilities.js
│ ├── facilities
│ │ ├── floatmenu.js
│ │ └── img
│ │ │ ├── bank.svg
│ │ │ ├── cc.png
│ │ │ ├── ccimg.js
│ │ │ ├── dummy.js
│ │ │ ├── dummy.png
│ │ │ ├── electric.svg
│ │ │ ├── facilitymainimg.js
│ │ │ ├── hostel.jpg
│ │ │ ├── hostelimg.js
│ │ │ ├── labimg.JPG
│ │ │ ├── labimg.js
│ │ │ ├── library.jpg
│ │ │ ├── libraryimg.js
│ │ │ ├── main.png
│ │ │ ├── medical.jpeg
│ │ │ ├── medical.svg
│ │ │ ├── medicalimg.js
│ │ │ ├── pkimg.js
│ │ │ ├── prabhat-kumar.png
│ │ │ ├── security.svg
│ │ │ ├── sports.jpg
│ │ │ ├── sportsimg.js
│ │ │ ├── wifi.svg
│ │ │ └── woman.svg
│ ├── footer.js
│ ├── global
│ │ ├── Innovationpage.js
│ │ ├── Navigate.js
│ │ ├── css
│ │ │ └── float.css
│ │ ├── deplist.js
│ │ ├── dropdown.js
│ │ ├── dropnew.js
│ │ ├── dynamicurl.js
│ │ ├── facultycard.js
│ │ ├── facultyprofile.js
│ │ ├── img
│ │ │ ├── float.svg
│ │ │ ├── logo512.png
│ │ │ ├── mail.svg
│ │ │ ├── news.jpg
│ │ │ └── web.svg
│ │ ├── navlist.js
│ │ ├── newspage.js
│ │ ├── sideicons
│ │ │ ├── acad.svg
│ │ │ ├── administration.svg
│ │ │ ├── bulb.svg
│ │ │ ├── facility.svg
│ │ │ ├── home.svg
│ │ │ ├── placements.svg
│ │ │ └── student.svg
│ │ ├── theme.js
│ │ └── webcard.js
│ ├── header.js
│ ├── home.js
│ ├── home
│ │ ├── Extendedgallery.js
│ │ ├── InCard.js
│ │ ├── Innovation.js
│ │ ├── eventcard.js
│ │ ├── gallery.js
│ │ ├── images
│ │ │ └── images.json
│ │ ├── img
│ │ │ ├── Arrow.svg
│ │ │ ├── ByteVerse.jpg
│ │ │ ├── Ellipse.png
│ │ │ ├── Group444.svg
│ │ │ ├── Group445.svg
│ │ │ ├── Rectangle.png
│ │ │ ├── Union.svg
│ │ │ ├── Union1.svg
│ │ │ ├── airplane.png
│ │ │ ├── alumni.svg
│ │ │ ├── bg-1.jpg
│ │ │ ├── bg-2.jpg
│ │ │ ├── bg-3.jpg
│ │ │ ├── bg-4.jpg
│ │ │ ├── bg-5.jpeg
│ │ │ ├── bg-6.JPG
│ │ │ ├── calendar.svg
│ │ │ ├── chanakya.svg
│ │ │ ├── corona.svg
│ │ │ ├── download.svg
│ │ │ ├── dropdown.svg
│ │ │ ├── event.png
│ │ │ ├── eventclock.svg
│ │ │ ├── eventlocation.svg
│ │ │ ├── firstyear.svg
│ │ │ ├── flag.svg
│ │ │ ├── highlight.svg
│ │ │ ├── homebg-1.jpg
│ │ │ ├── homebg-10.png
│ │ │ ├── homebg-11.png
│ │ │ ├── homebg-16.png
│ │ │ ├── homebg-17.png
│ │ │ ├── homebg-18.png
│ │ │ ├── homebg-2.jpg
│ │ │ ├── homebg-3.jpg
│ │ │ ├── homebg-4.jpg
│ │ │ ├── homebg-5.jpg
│ │ │ ├── homebg-6.jpg
│ │ │ ├── homebg-7.jpg
│ │ │ ├── homebg-8.jpg
│ │ │ ├── homebg-9.png
│ │ │ ├── image 2.png
│ │ │ ├── induction.jpg
│ │ │ ├── innovation.svg
│ │ │ ├── josaa.svg
│ │ │ ├── magazine.svg
│ │ │ ├── news.png
│ │ │ ├── nitp.png
│ │ │ ├── notice.png
│ │ │ ├── nss.svg
│ │ │ ├── sac.jpeg
│ │ │ ├── saco.jpeg
│ │ │ ├── startup.svg
│ │ │ └── teqip.svg
│ │ ├── importantlink.js
│ │ ├── initial_popup.js
│ │ ├── newscard.js
│ │ ├── nitpBackImages
│ │ │ └── images.json
│ │ ├── nitpimg.js
│ │ ├── notice.js
│ │ ├── noticelist.js
│ │ ├── popup_images
│ │ │ ├── Slide1.PNG
│ │ │ ├── Slide10.PNG
│ │ │ ├── Slide11.PNG
│ │ │ ├── Slide12.PNG
│ │ │ ├── Slide13.PNG
│ │ │ ├── Slide14.PNG
│ │ │ ├── Slide15.PNG
│ │ │ ├── Slide16.PNG
│ │ │ ├── Slide17.PNG
│ │ │ ├── Slide18.PNG
│ │ │ ├── Slide19.PNG
│ │ │ ├── Slide2.PNG
│ │ │ ├── Slide20.PNG
│ │ │ ├── Slide21.PNG
│ │ │ ├── Slide22.PNG
│ │ │ ├── Slide23.PNG
│ │ │ ├── Slide24.PNG
│ │ │ ├── Slide25.PNG
│ │ │ ├── Slide26.PNG
│ │ │ ├── Slide27.PNG
│ │ │ ├── Slide28.PNG
│ │ │ ├── Slide29.PNG
│ │ │ ├── Slide3.PNG
│ │ │ ├── Slide30.PNG
│ │ │ ├── Slide31.PNG
│ │ │ ├── Slide32.PNG
│ │ │ ├── Slide33.PNG
│ │ │ ├── Slide34.PNG
│ │ │ ├── Slide35.PNG
│ │ │ ├── Slide36.PNG
│ │ │ ├── Slide4.PNG
│ │ │ ├── Slide5.PNG
│ │ │ ├── Slide6.png
│ │ │ ├── Slide7.PNG
│ │ │ ├── Slide8.PNG
│ │ │ └── Slide9.PNG
│ │ ├── styles.js
│ │ ├── video.js
│ │ └── video
│ │ │ └── load.gif
│ ├── internationalAffairs
│ │ ├── InternationalAffHome.js
│ │ └── InternationalAffairs.js
│ ├── isBrowser.js
│ ├── layout.css
│ ├── layout.js
│ ├── navbar.js
│ ├── noticepage.js
│ ├── placements.js
│ ├── placements
│ │ ├── const.js
│ │ └── img
│ │ │ └── tandpcell.jpg
│ ├── readinn.js
│ ├── readnews.js
│ ├── registrar.js
│ ├── seo.js
│ ├── student.js
│ ├── student
│ │ ├── StudentSlide.js
│ │ ├── clubs.js
│ │ ├── const.js
│ │ ├── floatmenu.js
│ │ └── img
│ │ │ ├── antiragging.svg
│ │ │ ├── bag.svg
│ │ │ ├── coronapic.js
│ │ │ ├── coronapic.png
│ │ │ ├── exchange.svg
│ │ │ ├── firstyear.svg
│ │ │ ├── gallery.png
│ │ │ ├── sac.jpeg
│ │ │ └── sacpic.js
│ ├── styles
│ │ ├── AdminStyle.js
│ │ ├── NavigateStyle.js
│ │ ├── ReadStyle.js
│ │ ├── SearchStyle.js
│ │ ├── adcard.js
│ │ ├── cards.js
│ │ ├── carousel.js
│ │ ├── dropStyle.js
│ │ ├── dropdown.js
│ │ ├── eventcard.js
│ │ ├── facultycard.js
│ │ ├── facultyprofile.js
│ │ ├── footer.js
│ │ ├── home.js
│ │ ├── home
│ │ │ ├── importantlink.js
│ │ │ └── innovation.js
│ │ ├── navbar.js
│ │ ├── newscard.js
│ │ ├── newspage.js
│ │ ├── notice.js
│ │ ├── pagelayout.js
│ │ ├── studentslide.js
│ │ ├── table.js
│ │ └── tabpage.js
│ ├── table.js
│ └── termsofuse.js
└── pages
│ ├── 403.js
│ ├── 404.js
│ ├── 500.js
│ ├── 503.js
│ ├── RTI.js
│ ├── about.js
│ ├── academics.js
│ ├── acadnotice.js
│ ├── administration.js
│ ├── annualreports.js
│ ├── arch
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── bwcminutes.js
│ ├── ce
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── centreOfExcellence.js
│ ├── chem
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── convocation.js
│ ├── cse
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── director.js
│ ├── ece
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── ee
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── event.js
│ ├── facilities.js
│ ├── faculties.js
│ ├── facultyStaffRecruitment.js
│ ├── gallery.js
│ ├── grievance.js
│ ├── hss
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── index.js
│ ├── innovation.js
│ ├── internationalAffairs
│ ├── events.js
│ ├── gallery.js
│ ├── index.js
│ ├── partnership.js
│ └── studentexchange.js
│ ├── isro-racs.js
│ ├── jobsnitp.js
│ ├── magazine.js
│ ├── math
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── me
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── newcampus.js
│ ├── news.js
│ ├── nirf.js
│ ├── nit_act.js
│ ├── notice.js
│ ├── officers.js
│ ├── otherEmployees.js
│ ├── physics
│ ├── faculty.js
│ ├── index.js
│ └── syllabus.js
│ ├── placements.js
│ ├── privacy.js
│ ├── profile.js
│ ├── relaxationCritaria.js
│ ├── senateminutes.js
│ ├── sitemap.js
│ ├── staffClaimForm.js
│ ├── students.js
│ ├── tenders.js
│ ├── terms.js
│ ├── volunteers.js
│ └── webteam.js
├── static
├── Vidwan.svg
├── Vista.jpg
├── acadscholar.svg
├── achievements.svg
├── activities.svg
├── asme.png
├── bulb.svg
├── clock.svg
├── department
│ ├── about.svg
│ ├── achievements.svg
│ ├── activities.svg
│ ├── contact.svg
│ ├── faculty.svg
│ ├── labs.svg
│ ├── mission.svg
│ ├── project.svg
│ ├── syllabus.svg
│ └── syllabus
│ │ └── btech_2021_onwards.csv
├── expresso.png
├── facebook.png
├── facebook.svg
├── faculty.png
├── gdsc.jpg
├── googleScholar.svg
├── hackslash.png
├── hackslash2.png
├── ieee.png
├── images
│ └── 600911.jpg
├── isie.png
├── labs.svg
├── linkedin.svg
├── location.png
├── mail.svg
├── map.svg
├── mission.svg
├── moon.svg
├── orcid.svg
├── paper.svg
├── robotics.png
├── sae.jpg
├── scopus.svg
├── sun.svg
├── test.svg
├── twitter.svg
└── web.config
└── yarn.lock
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | "jsx-a11y/href-no-hash": ignore,
3 | "jsx-a11y/label-has-for": ignore,
4 | "jsx-a11y/anchor-is-valid": [
5 | warn,
6 | {
7 | aspects: ["invalidHref"],
8 | },
9 | ],
10 | "jsx-a11y/click-events-have-key-events": ignore,
11 | "react/no-unescaped-entities": ignore,
12 | extends: ["prettier", "eslint:recommended", "plugin:react/recommended"],
13 | }
14 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /.pnp
5 | .pnp.js
6 | /.cache
7 | .cache/
8 | .vscode
9 | # testing
10 | /coverage
11 | # production
12 |
13 | package-lock.json
14 | # misc
15 | .DS_Store
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 | .env.production
21 | .env.development
22 |
23 | npm-debug.log*
24 | yarn-debug.log*
25 | yarn-error.log*
26 | firebase.json
27 | .firebaserc
28 | node_modules
29 |
30 | /public
--------------------------------------------------------------------------------
/.husky/.gitignore:
--------------------------------------------------------------------------------
1 | _
2 |
--------------------------------------------------------------------------------
/.husky/pre-commit:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | . "$(dirname "$0")/_/husky.sh"
3 |
4 | npx lint-staged
5 | yarn build
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | .cache
2 | package.json
3 | package-lock.json
4 | public
5 |
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "arrowParens": "avoid",
3 | "semi": false,
4 | "tabWidth": 1
5 | }
6 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # NITP WEBSITE
2 |
3 | This is the repository of website of National Institute of Technology Patna.
4 |
5 | The current repo is live at https://www.nitp.ac.in .
6 |
--------------------------------------------------------------------------------
/gatsby-config.js:
--------------------------------------------------------------------------------
1 | require("dotenv").config({
2 | path: `.env.${process.env.NODE_ENV}`,
3 | })
4 |
5 | module.exports = {
6 | siteMetadata: {
7 | title: `National Institute of Technology Patna`,
8 | description: `Official Website of NIT Patna`,
9 | author: `NITP WEB TEAM`,
10 | },
11 | plugins: [
12 | `gatsby-plugin-sass`,
13 | `gatsby-plugin-react-helmet`,
14 | {
15 | resolve: `gatsby-source-filesystem`,
16 | options: {
17 | name: `images`,
18 | path: `${__dirname}/src/components`,
19 | },
20 | },
21 | `gatsby-transformer-sharp`,
22 | `gatsby-plugin-sharp`,
23 | "gatsby-plugin-use-query-params",
24 | {
25 | resolve: `gatsby-plugin-manifest`,
26 | options: {
27 | name: `national-institute-of-technology-patna`,
28 | short_name: `nitpatna`,
29 | start_url: `/`,
30 | background_color: `#663399`,
31 | theme_color: `#663399`,
32 | display: `minimal-ui`,
33 | icon: `src/assets/logo512.png`, // This path is relative to the root of the site.
34 | },
35 | },
36 |
37 | // {
38 | // resolve: 'gatsby-source-multi-api',
39 | // options: {
40 | // apis: [{
41 | // baseUrl:"https://nitpadmin.herokuapp.com/api/",
42 | // endpoints:["notice/active","event/active","notice","event","event/archive","notice/archive"]
43 | // }],
44 | // },
45 | // },
46 | `gatsby-plugin-styled-components`,
47 | // this (optional) plugin enables Progressive Web App + Offline functionality
48 | // To learn more, visit: https://gatsby.dev/offline
49 | // `gatsby-plugin-offline`,
50 | ],
51 | }
52 |
--------------------------------------------------------------------------------
/src/assets/NotoSans.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/assets/NotoSans.ttf
--------------------------------------------------------------------------------
/src/assets/Quicksand.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/assets/Quicksand.ttf
--------------------------------------------------------------------------------
/src/assets/SourceSansPro.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/assets/SourceSansPro.ttf
--------------------------------------------------------------------------------
/src/assets/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/assets/logo512.png
--------------------------------------------------------------------------------
/src/assets/mangal.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/assets/mangal.ttf
--------------------------------------------------------------------------------
/src/assets/toggle.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/RelaxationCritaria.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { PageLayout } from "./styles/pagelayout"
3 | const home = "http://www.nitp.ac.in"
4 | const RC_Data = {
5 | title:
Concessions ,
6 | content: (
7 | <>
8 |
9 |
Concessions Provided for Students
10 |
11 | Relaxation in minimum eligibilities:
12 |
13 | B. Tech. / B. Arch. Admission eligibility criteria for SC/ST/PH candidates
14 | are governed by CCB (Central Counseling Board).
15 |
16 | M. Tech. admission eligibility criteria for SC/ST/PH candidates are
17 | governed by MHRD rules (on the basis of Grade Score).
18 |
19 | Reservation of seats
20 |
21 | 15% seats are reserved for SC and 7.5% for ST candidates.
22 | 3% seats are reserved for PH candidates.
23 | 27% seats are reserved for OBC candidates.
24 |
25 |
Concessions Provided for Staff
26 |
27 | Reservation in appointment and promotion to SC/ST/PH candidates as per
28 | Govt. of India rule is applicable at this Institute. Concession in
29 | application fee for appointment and age relaxation is also applicable at
30 | this Institute as per Govt. of India rules.
31 |
32 |
33 | >
34 | ),
35 | }
36 |
37 | const RelaxationCritaria = () => {
38 | return (
39 | <>
40 |
41 |
42 |
{RC_Data.title}
43 |
44 |
45 | {RC_Data.content}
46 |
47 |
48 |
49 | >
50 | )
51 | }
52 |
53 | export default RelaxationCritaria
54 |
--------------------------------------------------------------------------------
/src/components/Slider/BtnSlider.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import leftArrow from "./icons/left-arrow.svg"
3 | import rightArrow from "./icons/right-arrow.svg"
4 |
5 | export default function BtnSlider({ direction, moveSlide }) {
6 | return (
7 |
11 |
12 |
13 | )
14 | }
15 |
--------------------------------------------------------------------------------
/src/components/Slider/Slider.js:
--------------------------------------------------------------------------------
1 | import React, { useState, useEffect } from "react"
2 | // import "./Slider.css"
3 | import { SliderStyle } from "./SliderStyle"
4 | import BtnSlider from "./BtnSlider"
5 |
6 | export default function Slider({
7 | dataSlider,
8 | showDots = false,
9 | type = "depImages",
10 | }) {
11 | const [slideIndex, setSlideIndex] = useState(1)
12 |
13 | useEffect(() => {
14 | const interval = setTimeout(() => {
15 | nextSlide()
16 | }, 5000)
17 | return () => {
18 | clearInterval(interval)
19 | }
20 | }, [slideIndex])
21 |
22 | const nextSlide = () => {
23 | if (slideIndex !== dataSlider.length) {
24 | setSlideIndex(slideIndex + 1)
25 | } else if (slideIndex === dataSlider.length) {
26 | setSlideIndex(1)
27 | }
28 | }
29 |
30 | const prevSlide = () => {
31 | if (slideIndex !== 1) {
32 | setSlideIndex(slideIndex - 1)
33 | } else if (slideIndex === 1) {
34 | setSlideIndex(dataSlider.length)
35 | }
36 | }
37 |
38 | const moveDot = index => {
39 | setSlideIndex(index)
40 | }
41 |
42 | dataSlider = [dataSlider[dataSlider.length - 1], ...dataSlider]
43 | return (
44 |
45 |
46 | {dataSlider.map((obj, index) => {
47 | return (
48 |
52 | {obj}
53 |
54 | )
55 | })}
56 |
57 |
58 |
59 | {showDots && (
60 |
61 | {Array.from({ length: dataSlider.length }).map((item, index) => (
62 |
moveDot(index + 1)}
64 | className={slideIndex === index + 1 ? "dot active" : "dot"}
65 | >
66 | ))}
67 |
68 | )}
69 |
70 |
71 | )
72 | }
73 |
--------------------------------------------------------------------------------
/src/components/Slider/icons/left-arrow.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/Slider/icons/right-arrow.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/academics/const.js:
--------------------------------------------------------------------------------
1 | const AcademicsList = [
2 | {
3 | title: "Admissions",
4 | data: "admissions",
5 | // img: "/test.svg",
6 | },
7 | {
8 | title: "Programmes",
9 | data: "programmes",
10 | // img: "/test.svg",
11 | },
12 | // {
13 | // title: "Course Structure",
14 | // data: "course",
15 | // img:"/test.svg"
16 | // },
17 | {
18 | title: "Departments",
19 | data: "depts",
20 | // img: "/test.svg",
21 | },
22 | {
23 | title: "Academic Notices",
24 | data: "Notices",
25 | // img: "/mail.svg",
26 | },
27 | {
28 | title: "Format of Official Documents",
29 | data: "format",
30 | // img: "/paper.svg",
31 | },
32 | {
33 | title: "Digital Initiatives",
34 | data: "digital",
35 | // img: "/test.svg",
36 | },
37 | {
38 | title: "Regulation & Curricula",
39 | data: "curricula",
40 | // img: "/test.svg",
41 | },
42 | {
43 | title: "Refund Policy",
44 | data: "refund",
45 | // img: "/test.svg",
46 | },
47 | {
48 | title: "Fee Structures",
49 | data: "fee",
50 | // img: "/test.svg",
51 | },
52 | {
53 | title: "Centre of Excellence",
54 | data: "centreOfExcellence",
55 | // img: "/test.svg",
56 | },
57 | {
58 | title: "Patents",
59 | data: "patents",
60 | // img: "/test.svg",
61 | },
62 | ]
63 |
64 | export default AcademicsList
65 |
--------------------------------------------------------------------------------
/src/components/academics/floatmenu.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import float from "../global/img/float.svg"
3 | import "../global/css/float.css"
4 | const Floatmenu = () => (
5 | <>
6 |
7 |
29 |
49 |
50 | >
51 | )
52 | export default Floatmenu
53 |
--------------------------------------------------------------------------------
/src/components/administration/adcard.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { AdCardStyle } from "../styles/adcard"
3 |
4 | const Adcard = props => {
5 | return (
6 |
7 |
8 | {props.name}
9 |
10 |
11 | {props.designation}
12 |
13 |
14 | {props.type}
15 |
16 |
17 | )
18 | }
19 |
20 | export default Adcard
21 |
--------------------------------------------------------------------------------
/src/components/carousel.js:
--------------------------------------------------------------------------------
1 | import React, { useState, useEffect, useMemo } from "react"
2 | import { CarouselStyles } from "./styles/carousel"
3 |
4 | const Carousel = ({ LabImages, type }) => {
5 | const [slideIndex, setSlideIndex] = useState(1)
6 |
7 | // function plusSlides(n) {
8 | // let b = slideIndex + n
9 | // setSlideIndex(b)
10 | // }
11 | let slides = []
12 |
13 | if (typeof window !== "undefined") {
14 | slides = document.getElementsByClassName("mySlides")
15 | }
16 |
17 | // function currentSlide(n) {
18 | // showSlides((slideIndex = n))
19 | // }
20 | function showSlides(n) {
21 | var i
22 |
23 | if (n >= slides.length) {
24 | setSlideIndex(0)
25 | return
26 | }
27 | if (n < 0) {
28 | setSlideIndex(slides.length - 1)
29 | return
30 | }
31 |
32 | for (i = 0; i < slides.length; i++) {
33 | slides[i].style.display = "none"
34 | }
35 | if (slides[slideIndex]) slides[slideIndex].style.display = "block"
36 |
37 | // slides[slideIndex - 1].style.display = "block"
38 | // dots[slideIndex - 1].className += " active"
39 | }
40 |
41 | useEffect(() => {
42 | const nxt = setTimeout(() => {
43 | setSlideIndex(prevS => prevS + 1)
44 | }, 5000)
45 | return () => clearTimeout(nxt)
46 | })
47 |
48 | useEffect(() => {
49 | showSlides(slideIndex)
50 | }, [slideIndex])
51 |
52 | return (
53 |
54 |
68 |
69 | )
70 | }
71 |
72 | export default Carousel
73 |
--------------------------------------------------------------------------------
/src/components/centreOfExcellence.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { TabPage } from "./styles/tabpage"
3 |
4 | function centreOfExcellence() {
5 | return (
6 |
7 |
8 |
9 |
10 |
Centre of Excellence set up by TSSC at NIT Patna
11 |
12 |
13 |
14 | A Memorandum of Understanding (MOU) has been signed between{" "}
15 | Telecom Sector Skill Council and{" "}
16 | National Institute of Technology Patna for setting up a{" "}
17 | Centre of Excellence (CoE) to create a facility for
18 | practical training on the domain of Information and Communications
19 | Technology on 22nd January, 2021. Skill development training will be
20 | given by the CoE to enhance the employability of aspiring students. Skill
21 | development training will be given in the cutting-edge technologies in
22 | the domain of Information and Communications Technology including
23 | Technical, Services and allied fields. The CoE will provide training on
24 | the base line courses and also on the advance courses like IOT, 5G and
25 | beyond, cyber security and robotics etc.{" "}
26 |
27 |
28 |
29 |
30 |
31 | )
32 | }
33 |
34 | export default centreOfExcellence
35 |
--------------------------------------------------------------------------------
/src/components/departments/arch/archappenings.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 |
3 | const ARCHHappenings = []
4 | export default ARCHHappenings
5 |
--------------------------------------------------------------------------------
/src/components/departments/ce/ceHappenings.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 |
3 | const CEHappenings = []
4 | export default CEHappenings
5 |
--------------------------------------------------------------------------------
/src/components/departments/ce/cedd.js:
--------------------------------------------------------------------------------
1 | const civilDualDegreeCourse = []
2 | export default civilDualDegreeCourse
3 |
--------------------------------------------------------------------------------
/src/components/departments/ce/cephd.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 |
3 | const Cephd = [
4 | {
5 | type: "Mandatory Course",
6 | coursecode: "xxxx",
7 | coursetitle: "Research Methodology",
8 | l: "3",
9 | t: "0",
10 | p: "0",
11 | credits: "3",
12 | },
13 | {
14 | type: "Mandatory Course",
15 | coursecode: "xxxx",
16 | coursetitle: "Seminar and Technical report Writing",
17 | l: "0",
18 | t: "0",
19 | p: "3",
20 | credits: "2",
21 | },
22 | {
23 | type: "Mandatory Course",
24 | coursecode: "xxxx",
25 | coursetitle: "Comprehensive Viva & Presentation ",
26 | l: "0",
27 | t: "0",
28 | p: "2",
29 | credits: "1",
30 | },
31 | {
32 | type: "Departmental Course",
33 | coursecode: "xxxx",
34 | coursetitle: "Course - I",
35 | l: "3",
36 | t: "0",
37 | p: "0",
38 | credits: "3",
39 | },
40 | {
41 | type: "Departmental Course",
42 | coursecode: "xxxx",
43 | coursetitle: "Course - II",
44 | l: "3",
45 | t: "0",
46 | p: "0",
47 | credits: "3",
48 | },
49 | {
50 | type: "Departmental Course",
51 | coursecode: "xxxx",
52 | coursetitle: "Lab Course",
53 | l: "0",
54 | t: "0",
55 | p: "6",
56 | credits: "4",
57 | },
58 | {
59 | type: "Departmental Course",
60 | coursecode: "xxxx",
61 | coursetitle: "Course - III",
62 | l: "3",
63 | t: "0",
64 | p: "0",
65 | credits: "3",
66 | },
67 | {
68 | type: "Departmental Course",
69 | coursecode: "xxxx",
70 | coursetitle: "Course - IV",
71 | l: "3",
72 | t: "0",
73 | p: "0",
74 | credits: "3",
75 | },
76 | {
77 | type: "Departmental Course",
78 | coursecode: "xxxx",
79 | coursetitle: "Course - V",
80 | l: "3",
81 | t: "0",
82 | p: "0",
83 | credits: "3",
84 | },
85 | ]
86 | export default Cephd
87 |
--------------------------------------------------------------------------------
/src/components/departments/chem/CheStyle.css:
--------------------------------------------------------------------------------
1 |
2 | .Headg{
3 | font-size: 1.7rem;
4 | font-weight: bold;
5 | margin-top: 30px;
6 | color: #941b0c;
7 |
8 | }
9 |
10 | /* ------------ Achievements -------------*/
11 |
12 | #Achievements-List li{
13 | font-size: 1.15rem;
14 | margin-top: 11px;
15 | }
16 |
17 | #Achievements-List li span{
18 | font-weight: bold;
19 | color: #941b0c;
20 | }
21 |
22 | #Achievements-List li .blue{
23 | font-weight: 500;
24 | color: rgb(99, 31, 171);
25 | }
26 |
27 |
28 |
29 |
30 |
31 | /* ------------- Activities --------------*/
32 | .Activity-list li strong:not(:first-child){
33 | margin-left: 2.1rem;
34 | }
35 |
36 | .ac-images{
37 | width: 40rem;
38 | }
39 |
40 |
41 |
42 | /* -------------More Info --------------*/
43 | .phd-thesis-awarded-list li:not(:first-child){
44 | margin: 2.1rem 0;
45 | }
46 | .phd-thesis-awarded-list li p{
47 | font-size: 1.2rem;
48 | position: relative;
49 | margin-top: 1.1rem;
50 |
51 | }
52 | .phd-thesis-awarded-list li p:first-child strong:not(:first-child){
53 | margin-left: 5rem;
54 | }
55 |
56 | .phd-thesis-awarded-list li p:first-child span:nth-child(2){
57 | position: absolute;
58 | left: 32%;
59 | }
60 | .phd-thesis-awarded-list li p:first-child span:nth-child(3){
61 | position: absolute;
62 | right: 5rem;
63 | }
64 |
65 | @media (max-width:1024px){
66 | .phd-thesis-awarded-list li p:first-child span:nth-child(2){
67 | display: block;
68 | left: 0;
69 | }
70 | .phd-thesis-awarded-list li p:first-child span:nth-child(3){
71 | display: none;
72 | left: 0;
73 | }
74 | }
--------------------------------------------------------------------------------
/src/components/departments/chem/btech.js:
--------------------------------------------------------------------------------
1 | const chemistryBtechCourse = []
2 | export default chemistryBtechCourse
3 |
--------------------------------------------------------------------------------
/src/components/departments/cse/csedd.js:
--------------------------------------------------------------------------------
1 | const computerScienceDualDegreeCourse = []
2 | export default computerScienceDualDegreeCourse
3 |
--------------------------------------------------------------------------------
/src/components/departments/ece/ece-mtech.js:
--------------------------------------------------------------------------------
1 | const Mtech = [
2 | {
3 | deptt: "ECE",
4 | sem_elect: null,
5 | course_code: null,
6 | course_title: null,
7 | l: "-",
8 | t: "-",
9 | p: "-",
10 | credits: "-",
11 | url: null,
12 | },
13 | ]
14 | export default Mtech
15 |
--------------------------------------------------------------------------------
/src/components/departments/ece/eceHappenings.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 |
3 | const ECEHappenings = [
4 | {
5 | title:
6 | "ICT academy has been established for development/upgradation to improve the employability of the graduates/diploma holders in various streams in cooperation with other departments.",
7 | },
8 | ]
9 | export default ECEHappenings
10 |
--------------------------------------------------------------------------------
/src/components/departments/ece/ecedd.js:
--------------------------------------------------------------------------------
1 | const electronicsDualDegreeCourse = []
2 | export default electronicsDualDegreeCourse
3 |
--------------------------------------------------------------------------------
/src/components/departments/ee/eeHappenings.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 |
3 | const eeHappenings = [
4 | {
5 | title:
6 | "Exceptional achievements in GATE, with AIR 300 in GATE 15, AIR 334 in GATE 16.",
7 | },
8 | {
9 | title:
10 | "Sudhakar Kumar – A PG Student secured 9th Rank in Indian Engineering Service (IES 2015).",
11 | },
12 | {
13 | title:
14 | "Students Selected for higher studies in reputed institute like IIT Kharagpur, IIT Guwahati, IT-BHU etc.",
15 | },
16 | {
17 | title:
18 | "Students take part in various fests across the country showcasing their skills in robotics, paper presentations and public speaking.",
19 | },
20 | {
21 | title:
22 | "Adarsh Tiwari – A student of EE Department is a group member of the team that successfully managed to create a racing car for SUPRA 15.",
23 | },
24 | {
25 | title:
26 | "Saurabh Dubey - A student of EE Department Selected among top 10 national finalists in National Engineering Challenge 2016 Organized by - The Gate Academy, Prizes -- Certificate of appreciation + 1 Tablet ( TabGATE)",
27 | },
28 | {
29 | title:
30 | 'Saurabh Dubey - A student of EE Department awarded and recognized as one of the top 10 in KTH Masters Challenge 2015 Summer Edition 2015, organized by - KTH Royal Institute of Technology , Sweden for the track of "Electric Power Engineering"',
31 | },
32 | ]
33 | export default eeHappenings
34 |
--------------------------------------------------------------------------------
/src/components/departments/ee/eedd.js:
--------------------------------------------------------------------------------
1 | const electricalDualDegreeCourse = []
2 | export default electricalDualDegreeCourse
3 |
--------------------------------------------------------------------------------
/src/components/departments/floatmenu.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import float from "../global/img/float.svg"
3 | import "../global/css/float.css"
4 | const Floatmenu = () => (
5 | <>
6 |
7 |
39 |
59 |
60 | >
61 | )
62 | export default Floatmenu
63 |
--------------------------------------------------------------------------------
/src/components/departments/hss/hss BTech CourseStructure.js:
--------------------------------------------------------------------------------
1 | const HSSBtechCourseStructure = [
2 | {
3 | dept: `B Arch & B Arch`,
4 | sem_elect: `5`,
5 | coursecode: `HS5101`,
6 | url: `#`,
7 | coursetitle: `Sociology and Building Economics`,
8 | l: `3`,
9 | t: `0`,
10 | p: `0`,
11 | credits: `3`,
12 | },
13 | {
14 | dept: `B Tech & B Arch `,
15 | sem_elect: `6 & 7 Open Elective`,
16 | coursecode: `HS107`,
17 | url: `#`,
18 | coursetitle: `Industrial Economics and Financial Management`,
19 | l: `3`,
20 | t: `0`,
21 | p: `0`,
22 | credits: `3`,
23 | },
24 | {
25 | dept: `B Tech & B Arch`,
26 | sem_elect: `6 & 7 Open Elective`,
27 | coursecode: `HS108`,
28 | url: `#`,
29 | coursetitle: `IPR and Entrepreneurship`,
30 | l: `3`,
31 | t: `0`,
32 | p: `0`,
33 | credits: `3`,
34 | },
35 | {
36 | dept: `B Tech & B Arch`,
37 | sem_elect: `6 & 7 Open Elective`,
38 | coursecode: `HS109`,
39 | url: `#`,
40 | coursetitle: `Organizational and Industrial Psychology`,
41 | l: `3`,
42 | t: `0`,
43 | p: `0`,
44 | credits: `3`,
45 | },
46 | {
47 | dept: `B Tech & B Arch`,
48 | sem_elect: `6 & 7 Open Elective`,
49 | coursecode: `HS110`,
50 | url: `#`,
51 | coursetitle: `History of Science and Technology`,
52 | l: `3`,
53 | t: `0`,
54 | p: `0`,
55 | credits: `3`,
56 | },
57 | {
58 | dept: `B Tech & B Arch`,
59 | sem_elect: `6 & 7 Open Elective`,
60 | coursecode: `HS113`,
61 | url: `#`,
62 | coursetitle: `Intellectual Property Rights`,
63 | l: `3`,
64 | t: `0`,
65 | p: `0`,
66 | credits: `3`,
67 | },
68 | {
69 | dept: `B Tech & B Arch`,
70 | sem_elect: `7`,
71 | coursecode: `HS7601`,
72 | url: `#`,
73 | coursetitle: `Industrial Economics and Financial Management`,
74 | l: `3`,
75 | t: `0`,
76 | p: `0`,
77 | credits: `3`,
78 | },
79 | ]
80 |
81 | export default HSSBtechCourseStructure
82 |
--------------------------------------------------------------------------------
/src/components/departments/hss/hss Btech NEP21.js:
--------------------------------------------------------------------------------
1 | const HSSBtechNEP21 = [
2 | {
3 | coursecode: "HSXX101",
4 | coursetitle: "Communicative English",
5 | l: 3,
6 | t: 0,
7 | p: 2,
8 | credits: 4,
9 | dept: `B Tech (CE, ME, EE)`,
10 | sem_elect: 1,
11 | url: `#`,
12 | },
13 | {
14 | coursecode: "HSXX201",
15 | coursetitle: "Communicative English",
16 | l: 3,
17 | t: 0,
18 | p: 2,
19 | credits: 4,
20 | dept: `B Tech (ECE, CSE) & B Arch`,
21 | sem_elect: 2,
22 | url: `#`,
23 | },
24 | ]
25 | export default HSSBtechNEP21
26 |
--------------------------------------------------------------------------------
/src/components/departments/hss/hss MTech CourseStructure.js:
--------------------------------------------------------------------------------
1 | const Mtech = [
2 | {
3 | dept: "MCA",
4 | "CCMT Code": null,
5 | Group: null,
6 | sem_elect: 3,
7 | coursecode: `HS440301`,
8 | coursetitle: `Accounting and Financial Management`,
9 | l: 3,
10 | t: 0,
11 | p: 0,
12 | credits: 3,
13 | // "FM": null
14 | },
15 | {
16 | dept: "MTech",
17 | "CCMT Code": null,
18 | Group: null,
19 | sem_elect: 4,
20 | coursecode: `HS440201`,
21 | coursetitle: `Intellectual Property Rights`,
22 | l: 3,
23 | t: 0,
24 | p: 0,
25 | credits: 3,
26 | // "FM": null
27 | },
28 | ]
29 |
30 | export default Mtech
31 |
--------------------------------------------------------------------------------
/src/components/departments/hss/hssdd.js:
--------------------------------------------------------------------------------
1 | const computerScienceDualDegreeCourse = [
2 | {
3 | coursecode: "HS17101",
4 | coursetitle: "Communicative English",
5 | l: 3,
6 | t: 0,
7 | p: 2,
8 | credits: 4,
9 | dept: `Physics (Dual Degree)`,
10 | sem_elect: 1,
11 | url: `#`,
12 | },
13 | {
14 | coursecode: "HS18101",
15 | coursetitle: "Communicative English",
16 | l: 3,
17 | t: 0,
18 | p: 2,
19 | credits: 4,
20 | dept: `Mathematics (Dual Degree)`,
21 | sem_elect: 1,
22 | url: `#`,
23 | },
24 | ]
25 | export default computerScienceDualDegreeCourse
26 |
--------------------------------------------------------------------------------
/src/components/departments/img/download.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/departments/img/main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/departments/img/main.png
--------------------------------------------------------------------------------
/src/components/departments/math/mathHappenings.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 |
3 | const mathHappenings = []
4 | export default mathHappenings
5 |
--------------------------------------------------------------------------------
/src/components/departments/math/mathdd.js:
--------------------------------------------------------------------------------
1 | const mathDualDegreeCourse = []
2 | export default mathDualDegreeCourse
3 |
--------------------------------------------------------------------------------
/src/components/departments/me/Mech Phd.js:
--------------------------------------------------------------------------------
1 | export const PhdCourse = [
2 | {
3 | deptt: "Mandatory Courses",
4 | "Sl. No.": "Mandatory Courses",
5 | course_code: "",
6 | course_title: "",
7 | l: null,
8 | t: null,
9 | p: null,
10 | credits: null,
11 | Total: "",
12 | },
13 |
14 | {
15 | deptt: "MEPhD",
16 | "Sl. No.": "1",
17 | course_code: "1ME901",
18 | course_title: "Research Methodology",
19 | l: 3,
20 | t: 0,
21 | p: 0,
22 | credits: 3,
23 | Total: "",
24 | },
25 | {
26 | deptt: "MEPhD",
27 | "Sl. No.": "2",
28 | course_code: "1ME990",
29 | course_title: "Seminar and Technical report Writing",
30 | l: 0,
31 | t: 0,
32 | p: 3,
33 | credits: 2,
34 | Total: "",
35 | },
36 | ]
37 |
--------------------------------------------------------------------------------
/src/components/departments/me/meHappenings.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 |
3 | const MEHappenings = [
4 | {
5 | title:
6 | "In HPVC INDIA 2014, we stood 6th overall from all the 41 colleges participating, ranging from IITs to BITSs and NITs and various other prestigious colleges.",
7 | },
8 | {
9 | title: "5th position in ENDURANCE Event in HPVC - 2014.",
10 | },
11 | {
12 | title: "5th position in DRAG Event in HPVC - 2014.",
13 | },
14 | {
15 | title: "ASME HPVC Secured an overall rank of 7th in 2019 and 10th in 2020.",
16 | },
17 | {
18 | title: "4th Position in Student Design Competition(SDC) in ASME E-Fest 2020.",
19 | },
20 | {
21 | title: "4th Position in IAM3D in ASME 2020.",
22 | },
23 | {
24 | title: "Team AAVEGA stood 55th in Virtual Supra SAEINDIA 2015.",
25 | },
26 | {
27 | title:
28 | "Team AAVEGA stood 19th in Supra SAEINDIA 2015 and 2nd among all the NITs and IITs.",
29 | },
30 | {
31 | title: "2nd Rank in the design Event in HPVC 2015.",
32 | },
33 | ]
34 | export default MEHappenings
35 |
--------------------------------------------------------------------------------
/src/components/departments/me/medd.js:
--------------------------------------------------------------------------------
1 | const mechanicalDualDegreeCourse = []
2 | export default mechanicalDualDegreeCourse
3 |
--------------------------------------------------------------------------------
/src/components/departments/phy/phyHappenings.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 |
3 | const PHYHappenings = [
4 | {
5 | title:
6 | "Dr. Alok Kumar Pan has been awarded RAMANUJAN FELLOWSHIP from DST-SERB in 2015.",
7 | },
8 | ]
9 | export default PHYHappenings
10 |
--------------------------------------------------------------------------------
/src/components/departments/phy/phydd.js:
--------------------------------------------------------------------------------
1 | const physicsDualDegreeCourse = []
2 | export default physicsDualDegreeCourse
3 |
--------------------------------------------------------------------------------
/src/components/facilities/img/cc.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/cc.png
--------------------------------------------------------------------------------
/src/components/facilities/img/ccimg.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Ccimg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/cc.png" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Ccimg
25 |
--------------------------------------------------------------------------------
/src/components/facilities/img/dummy.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Dummyimg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/dummy.png" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Dummyimg
25 |
--------------------------------------------------------------------------------
/src/components/facilities/img/dummy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/dummy.png
--------------------------------------------------------------------------------
/src/components/facilities/img/electric.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/facilities/img/facilitymainimg.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Facilitymain = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/main.png" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Facilitymain
25 |
--------------------------------------------------------------------------------
/src/components/facilities/img/hostel.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/hostel.jpg
--------------------------------------------------------------------------------
/src/components/facilities/img/hostelimg.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Hostelimg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/hostel.jpg" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Hostelimg
25 |
--------------------------------------------------------------------------------
/src/components/facilities/img/labimg.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/labimg.JPG
--------------------------------------------------------------------------------
/src/components/facilities/img/labimg.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Labimg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/labimg.JPG" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Labimg
25 |
--------------------------------------------------------------------------------
/src/components/facilities/img/library.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/library.jpg
--------------------------------------------------------------------------------
/src/components/facilities/img/libraryimg.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Libraryimg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/library.jpg" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Libraryimg
25 |
--------------------------------------------------------------------------------
/src/components/facilities/img/main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/main.png
--------------------------------------------------------------------------------
/src/components/facilities/img/medical.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/medical.jpeg
--------------------------------------------------------------------------------
/src/components/facilities/img/medical.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/facilities/img/medicalimg.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Medicalimg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/medical.jpeg" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Medicalimg
25 |
--------------------------------------------------------------------------------
/src/components/facilities/img/pkimg.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const PKImg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/prabhat-kumar.png" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default PKImg
25 |
--------------------------------------------------------------------------------
/src/components/facilities/img/prabhat-kumar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/prabhat-kumar.png
--------------------------------------------------------------------------------
/src/components/facilities/img/security.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/facilities/img/sports.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/facilities/img/sports.jpg
--------------------------------------------------------------------------------
/src/components/facilities/img/sportsimg.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Sportsimg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "facilities/img/sports.jpg" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Sportsimg
25 |
--------------------------------------------------------------------------------
/src/components/global/Innovationpage.js:
--------------------------------------------------------------------------------
1 | import React, { useEffect, useState } from "react"
2 | import axios from "axios"
3 | import { NewspageStyle } from "../styles/newspage"
4 | import InCard from "../home/InCard"
5 |
6 | const Innovationpage = () => {
7 | const [data, setData] = useState([])
8 |
9 | useEffect(() => {
10 | const url = `${process.env.GATSBY_API_URL}/api/innovation/all`
11 | axios
12 | .get(url)
13 | .then(res => setData(res.data))
14 | .catch(e => {
15 | console.log(e)
16 | })
17 | }, [])
18 |
19 | const filtered = data.filter(function (el) {
20 | return el.image.length != 0
21 | })
22 | const link = k => {
23 | k = k.substr(0, k.length - 18)
24 | k = k.substr(32, k.length)
25 | return k
26 | }
27 | function Card(val) {
28 | const date = new Date(val.timestamp)
29 | const day = date.getDate()
30 | const month = date.getMonth() + 1
31 | const year = date.getFullYear()
32 | const cdate = new Date(val.closeDate)
33 | return (
34 |
41 | )
42 | }
43 | return (
44 | <>
45 |
46 |
47 |
Innovation
48 |
49 | {filtered.map(Card)}
50 |
51 | >
52 | )
53 | }
54 |
55 | export default Innovationpage
56 |
--------------------------------------------------------------------------------
/src/components/global/Navigate.js:
--------------------------------------------------------------------------------
1 | import React, { useState, useEffect } from "react"
2 | import { NavigateStyle } from "../styles/NavigateStyle"
3 | import { Link } from "gatsby"
4 |
5 | const Navigate = ({ callback, data, tab }) => {
6 | const [active, setActive] = useState(1)
7 | useEffect(() => {
8 | setActive(1)
9 | }, [tab])
10 | return (
11 |
12 | {data.map(item => {
13 | if (item.data) {
14 | return (
15 | {
20 | callback(item.data)
21 | setActive(2)
22 | }}
23 | >
24 | {item.img ? : null}
25 | {item.title}
26 |
27 | )
28 | } else if (item.relPath) {
29 | return (
30 |
31 |
36 | {item.img ? : null}
37 | {item.title}
38 |
39 |
40 | )
41 | }
42 | })}
43 |
44 | )
45 | }
46 |
47 | export default Navigate
48 |
--------------------------------------------------------------------------------
/src/components/global/css/float.css:
--------------------------------------------------------------------------------
1 | .float {
2 | position: fixed;
3 | display: flex;
4 | right: 0;
5 | top: 30vh;
6 | z-index: 10;
7 | transition: all 1s;
8 | }
9 | #float-menu {
10 | max-height: 30vh;
11 | overflow: hidden;
12 | overflow-y: scroll;
13 | scrollbar-width: none;
14 | }
15 | #float-menu::-webkit-scrollbar {
16 | display: none;
17 | }
18 | #floatimg {
19 | align-self: flex-start;
20 | }
21 | .float-card {
22 | background: #ff9350;
23 | box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.25);
24 | border-radius: 8px;
25 | width: 275px;
26 | height: 54px;
27 | display: flex;
28 | justify-content: center;
29 | align-items: center;
30 | margin-bottom: 10px;
31 | transition: all 1s;
32 | }
33 | .float-card > a {
34 | text-decoration: none;
35 | color: #ffffff;
36 | }
37 | #float-menu {
38 | display: none;
39 | }
40 | @media (max-width: 768px) {
41 | .float {
42 | display: none;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/src/components/global/deplist.js:
--------------------------------------------------------------------------------
1 | export const Deplist = {
2 | cse: "Computer Science and Engineering",
3 | ece: "Electronics and Communication Engineering",
4 | chem: "Chemistry",
5 | arch: "Architecture & Planning",
6 | ce: "Civil Engineering",
7 | hss: "Humanities and Social Sciences",
8 | physics: "Physics",
9 | math: "Mathematics",
10 | ee: "Electrical Engineering",
11 | me: "Mechanical Engineering",
12 | }
13 |
14 | export const DepListr = {
15 | "Computer Science and Engineering": "cse",
16 | "Electronics and Communication Engineering": "ece",
17 | Chemistry: "chem",
18 | Architecture: "arch",
19 | "Civil Engineering": "ce",
20 | "Humanities and Social Sciences": "hss",
21 | Physics: "physics",
22 | Mathematics: "math",
23 | "Electrical Engineering": "ee",
24 | "Mechanical Engineering": "me",
25 | }
26 |
27 | export const international = {
28 | "International Affairs": "internationalAffairs",
29 | }
30 | export const interList = {
31 | internationalAffairs: "International Affairs",
32 | }
33 |
--------------------------------------------------------------------------------
/src/components/global/dropdown.js:
--------------------------------------------------------------------------------
1 | import { Link } from "gatsby"
2 | import { DropdownStyle } from "../styles/dropdown"
3 | import DynamicLink from "./dynamicurl"
4 | import React from "react"
5 |
6 | export const Dropdown = ({ to, title, list, idname }) => {
7 | return (
8 | <>
9 |
10 |
11 | {title}
12 |
13 |
14 | {list.map((item, index) => (
15 | <>
16 |
17 | >
18 | ))}
19 |
20 |
21 | >
22 | )
23 | }
24 |
--------------------------------------------------------------------------------
/src/components/global/dropnew.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { DropStyle } from "../styles/dropStyle"
3 | import { Link } from "gatsby"
4 | import DynamicLink from "./dynamicurl"
5 |
6 | const Dropnew = ({ to, title, list, idname }) => {
7 | const element =
8 | list.length == 1 ? 1 : list.length == 2 ? 2 : Math.ceil(list.length / 2)
9 | return (
10 |
11 |
12 | {title}
13 |
14 |
15 | {list.map((item, index) => (
16 |
17 |
24 | {item.sub ? (
25 |
26 | {item.sub.map((val, index) => (
27 |
34 | ))}
35 |
36 | ) : (
37 | ""
38 | )}
39 |
40 | ))}
41 |
42 |
43 | )
44 | }
45 |
46 | export default Dropnew
47 |
--------------------------------------------------------------------------------
/src/components/global/dynamicurl.js:
--------------------------------------------------------------------------------
1 | import { Link } from "gatsby"
2 | import React from "react"
3 |
4 | const DynamicLink = ({ url, data, title, classvalue }) => (
5 | <>
6 | {url[0] == "/" ? (
7 |
8 | {title}
9 |
10 | ) : (
11 |
17 | {title}
18 |
19 | )}
20 | >
21 | )
22 |
23 | export default DynamicLink
24 |
--------------------------------------------------------------------------------
/src/components/global/facultycard.js:
--------------------------------------------------------------------------------
1 | import { useEffect, useState } from "react"
2 | import { Link } from "gatsby"
3 | import { FacultyCard } from "../styles/facultycard"
4 | import React from "react"
5 |
6 | const Facultycard = props => {
7 | const [research, setResearch] = useState()
8 | useEffect(() => {
9 | if (props.research != null) {
10 | setResearch(props.research.split(","))
11 | }
12 | }, [])
13 |
14 | return (
15 | <>
16 |
17 |
18 | {/* {props.extn != 0 ? (
19 |
20 | {String(props.extn).length < 8
21 | ? `Extn:${props.extn}`
22 | : props.extn}
23 |
24 | ) : null} */}
25 |
26 |
27 |
31 |
32 |
{props.name}
33 |
{props.desg}
34 | {props.subtitle ?
{props.subtitle}
: null}
35 |
36 |
37 |
38 | {research && (
39 |
40 | {props.dept == "Officers" ? "Responsibilities:-" : "Research Interest:-"}
41 |
42 | )}
43 | {research && research.map(item => {item}
)}
44 | {/*
45 | View Profile
46 |
*/}
47 |
48 |
49 | >
50 | )
51 | }
52 | export default Facultycard
53 |
--------------------------------------------------------------------------------
/src/components/global/img/float.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/global/img/logo512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/global/img/logo512.png
--------------------------------------------------------------------------------
/src/components/global/img/mail.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/global/img/news.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/global/img/news.jpg
--------------------------------------------------------------------------------
/src/components/global/sideicons/administration.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/global/sideicons/bulb.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/global/sideicons/home.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/global/sideicons/student.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/global/theme.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { ThemeProvider } from "styled-components"
3 |
4 | export const light = {
5 | theme: "light",
6 | primaryColor: "#941b0c",
7 | backgroundColor: "#ffffff",
8 | // backgroundSecColor: "#e4e6eb",
9 | backgroundSecColor: "#f5f5f5",
10 | // backgroundTerColor:"#f8faff",
11 | backgroundTerColor: "#fcfdff",
12 | primaryTextColor: "#941b0c",
13 | textColor: "#121212",
14 | secondaryTextColor: "#4b4b4b",
15 | dropColor: "#E8E8E8",
16 | dropText: "white",
17 | dropBg: "black",
18 | bgnew: "white",
19 | bgmain: "#2d2d2d",
20 | mainhover: "white",
21 | hovernew: "darkred",
22 | border: "darkred",
23 | textnew: "#1a1919",
24 | hovertext: "darkred",
25 | }
26 |
27 | export const dark = {
28 | theme: "dark",
29 | primaryColor: "#cd512f",
30 | backgroundColor: "#4d4d4d",
31 | backgroundSecColor: "#282828",
32 | backgroundTerColor: "#282828",
33 | primaryTextColor: "#ffffff",
34 | textColor: "#ffffff",
35 | secondaryTextColor: "#e7e7e7",
36 | dropColor: "#000000",
37 | dropText: "#941b0c",
38 | dropBg: "white",
39 | bgnew: "#4f4e4e",
40 | bgmain: "#1a1919",
41 | mainhover: "#363434",
42 | hovernew: "black",
43 | border: "lightgrey",
44 | textnew: "white",
45 | hovertext: "red",
46 | }
47 | //#2d2d2d,white,black
48 |
--------------------------------------------------------------------------------
/src/components/global/webcard.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { useEffect, useState } from "react"
3 | import { FacultyCard } from "../styles/facultycard"
4 |
5 | const Webcard = props => {
6 | const [interests, setInterests] = useState()
7 |
8 | return (
9 | <>
10 |
11 |
12 | {props.extn != 0 ?
{props.extn}
: null}
13 |
14 |
15 |
19 |
20 |
{props.name}
21 |
{props.desg}
22 |
{props.email}
23 |
24 |
25 |
31 |
32 | >
33 | )
34 | }
35 | export default Webcard
36 |
--------------------------------------------------------------------------------
/src/components/header.js:
--------------------------------------------------------------------------------
1 | import { Link } from "gatsby"
2 | import PropTypes from "prop-types"
3 | import React from "react"
4 |
5 | const Header = ({ siteTitle }) => (
6 |
32 | )
33 |
34 | Header.propTypes = {
35 | siteTitle: PropTypes.string,
36 | }
37 |
38 | Header.defaultProps = {
39 | siteTitle: ``,
40 | }
41 |
42 | export default Header
43 |
--------------------------------------------------------------------------------
/src/components/home/Extendedgallery.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { GallertHead } from "./styles"
3 | import Img from "gatsby-image"
4 | import images from "./images/images.json"
5 | import { graphql, useStaticQuery } from "gatsby"
6 |
7 | const Extendedgallery = () => {
8 | const data = useStaticQuery(graphql`
9 | query {
10 | allGalleryImage {
11 | nodes {
12 | featuredImg {
13 | childImageSharp {
14 | fluid(maxWidth: 1920) {
15 | ...GatsbyImageSharpFluid
16 | }
17 | }
18 | }
19 | }
20 | }
21 | }
22 | `)
23 | const imgNodes = data.allGalleryImage.nodes
24 | return (
25 | <>
26 | Gallery
27 |
35 | {imgNodes?.map(image => {
36 | return (
37 |
46 | )
47 | })}
48 |
49 |
50 | >
51 | )
52 | }
53 | export default Extendedgallery
54 |
--------------------------------------------------------------------------------
/src/components/home/InCard.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { Link } from "gatsby"
3 |
4 | const Incard = props => {
5 | return (
6 | <>
7 |
14 |
15 |
19 |
20 |
21 |
22 |
23 |
27 | {props.heading.length > 50
28 | ? props.heading.substring(0, 50) + "..."
29 | : props.heading}
30 |
31 |
32 |
{props.date}
33 |
34 | {/*
35 |
43 |
*/}
44 |
45 |
46 | >
47 | )
48 | }
49 |
50 | export default Incard
51 |
--------------------------------------------------------------------------------
/src/components/home/eventcard.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { EventCardStyle } from "../styles/eventcard"
3 | import eventclock from "./img/eventclock.svg"
4 | import eventlocation from "./img/eventlocation.svg"
5 |
6 | const Eventcard = props => {
7 | return (
8 |
9 | {/* */}
17 |
18 |
19 | {props.event_link !== "" ? (
20 |
21 | {props.detail}
22 |
23 | ) : (
24 | <>{props.detail}>
25 | )}
26 |
27 |
28 |
29 |
30 |
{props.time}
31 |
32 |
42 |
43 |
44 |
45 | )
46 | }
47 | export default Eventcard
48 |
--------------------------------------------------------------------------------
/src/components/home/images/images.json:
--------------------------------------------------------------------------------
1 | [
2 | "2017-08-04_1920x1080_1_900x750.jpg",
3 | "2017-11-30_1920x1080.jpg",
4 | "2018-02-27_1920x1080_1_700x500.jpg",
5 | "2018-05-23_1920x1080_1_1440x685.jpg",
6 | "2019-03-18_1920x1080_1_700x500.jpg",
7 | "2019-07-26_1_700x500.jpg",
8 | "2019-07-26_700x500.jpg",
9 | "2020-01-28_1_1920x1080_2_700x500.jpg",
10 | "2020-01-31_1920x1080.jpg",
11 | "2020-01-31_1_1920x1080_1_700x500.jpg",
12 | "2020-06-01_700x500.jpg",
13 | "2020-07-03_2_1920x1080.jpg",
14 | "2020-07-03_3_1920x1080_1_700x500.jpg",
15 | "2020-07-03_4_1920x1080.jpg",
16 | "2020-07-03_5_1920x1080.jpg",
17 | "2021-04-07_1920x1080.jpg",
18 | "2021-05-02_1920x1080_2_700x500.jpg",
19 | "2021-05-02_1_1920x1080_1_900x500_1_700x500.jpg",
20 | "2021-07-06_700x500.jpg",
21 | "2021-08-27_1920x1080.jpg",
22 | "2021-09-26_1_1920x1080.jpg",
23 | "2021-09-26_700x500.jpg",
24 | "2021-12-27_700x500.jpg",
25 | "2022-01-08_700x500.jpg",
26 | "asd_1920x1080.jpg",
27 | "DSC_0004_1920x1080_1_700x500.jpg",
28 | "DSC_0051_1920x1080.jpg",
29 | "IMG20220405164516_1_700x500.jpg",
30 | "img_1_1920x1080_1_700x500.jpg",
31 | "IMG_20190301_142547_1920x1080_1_900x750.jpg",
32 | "IMG_20190502_180621_4_1920x1080.jpg",
33 | "IMG_20210224_161317_1920x1080_1_1440x685.jpg",
34 | "IMG_20210810_122357__02_1920x1080_2_900x500.jpg",
35 | "IMG_20210810_122507__01_1920x1080_1_700x500.jpg",
36 | "IMG_20210810_141255__01_1_1920x1080_1_700x500.jpg",
37 | "IMG_20211102_142738_1920x1080_1_700x500.jpg",
38 | "IMG_20220109_124051_1920x1080_1_700x500.jpg",
39 | "IMG_20220109_124221_1920x1080.jpg",
40 | "IMG_5644_1920x1080.jpg",
41 | "img_7_1920x1080.jpg",
42 | "thetaplus_20210210081905626-01_1920x1080_1_1440x685.jpg"
43 | ]
44 |
--------------------------------------------------------------------------------
/src/components/home/img/Arrow.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/ByteVerse.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/ByteVerse.jpg
--------------------------------------------------------------------------------
/src/components/home/img/Ellipse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/Ellipse.png
--------------------------------------------------------------------------------
/src/components/home/img/Rectangle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/Rectangle.png
--------------------------------------------------------------------------------
/src/components/home/img/Union.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/Union1.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/airplane.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/airplane.png
--------------------------------------------------------------------------------
/src/components/home/img/alumni.svg:
--------------------------------------------------------------------------------
1 | graduation-cap
--------------------------------------------------------------------------------
/src/components/home/img/bg-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/bg-1.jpg
--------------------------------------------------------------------------------
/src/components/home/img/bg-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/bg-2.jpg
--------------------------------------------------------------------------------
/src/components/home/img/bg-3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/bg-3.jpg
--------------------------------------------------------------------------------
/src/components/home/img/bg-4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/bg-4.jpg
--------------------------------------------------------------------------------
/src/components/home/img/bg-5.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/bg-5.jpeg
--------------------------------------------------------------------------------
/src/components/home/img/bg-6.JPG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/bg-6.JPG
--------------------------------------------------------------------------------
/src/components/home/img/download.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/dropdown.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/event.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/event.png
--------------------------------------------------------------------------------
/src/components/home/img/eventclock.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/firstyear.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/flag.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/highlight.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/homebg-1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-1.jpg
--------------------------------------------------------------------------------
/src/components/home/img/homebg-10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-10.png
--------------------------------------------------------------------------------
/src/components/home/img/homebg-11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-11.png
--------------------------------------------------------------------------------
/src/components/home/img/homebg-16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-16.png
--------------------------------------------------------------------------------
/src/components/home/img/homebg-17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-17.png
--------------------------------------------------------------------------------
/src/components/home/img/homebg-18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-18.png
--------------------------------------------------------------------------------
/src/components/home/img/homebg-2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-2.jpg
--------------------------------------------------------------------------------
/src/components/home/img/homebg-3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-3.jpg
--------------------------------------------------------------------------------
/src/components/home/img/homebg-4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-4.jpg
--------------------------------------------------------------------------------
/src/components/home/img/homebg-5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-5.jpg
--------------------------------------------------------------------------------
/src/components/home/img/homebg-6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-6.jpg
--------------------------------------------------------------------------------
/src/components/home/img/homebg-7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-7.jpg
--------------------------------------------------------------------------------
/src/components/home/img/homebg-8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-8.jpg
--------------------------------------------------------------------------------
/src/components/home/img/homebg-9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/homebg-9.png
--------------------------------------------------------------------------------
/src/components/home/img/image 2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/image 2.png
--------------------------------------------------------------------------------
/src/components/home/img/induction.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/induction.jpg
--------------------------------------------------------------------------------
/src/components/home/img/magazine.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/home/img/news.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/news.png
--------------------------------------------------------------------------------
/src/components/home/img/nitp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/nitp.png
--------------------------------------------------------------------------------
/src/components/home/img/notice.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/notice.png
--------------------------------------------------------------------------------
/src/components/home/img/sac.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/sac.jpeg
--------------------------------------------------------------------------------
/src/components/home/img/saco.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/img/saco.jpeg
--------------------------------------------------------------------------------
/src/components/home/newscard.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import newspic from "../global/img/news.jpg"
3 | import { Link } from "gatsby"
4 | import { NewsCardStyle } from "../styles/newscard"
5 |
6 | const Newscard = inf => {
7 | return (
8 |
9 |
10 |
16 |
17 | {inf.time}
18 |
19 |
{inf.head}
20 |
21 | {inf.detail}
22 |
26 | Read more...
27 |
28 |
29 |
30 |
31 | )
32 | }
33 | export default Newscard
34 |
--------------------------------------------------------------------------------
/src/components/home/nitpBackImages/images.json:
--------------------------------------------------------------------------------
1 | [
2 | "homebg-19.png",
3 | "homebg-10.png",
4 | "homebg-9.png",
5 | "homebg-11.png",
6 | "homebg-1.jpg",
7 | "homebg-2.jpg",
8 | "homebg-5.jpg",
9 | "sac.jpeg",
10 | "homebg-3.jpg",
11 | "homebg-4.jpg",
12 | "homebg-6.jpg",
13 | "homebg-21.jpg",
14 | "homebg-23.jpg",
15 | "homebg-24.jpg"
16 | ]
17 |
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide1.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide10.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide10.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide11.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide11.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide12.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide12.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide13.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide13.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide14.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide14.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide15.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide15.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide16.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide16.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide17.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide17.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide18.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide18.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide19.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide19.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide2.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide20.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide20.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide21.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide21.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide22.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide22.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide23.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide23.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide24.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide24.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide25.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide25.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide26.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide26.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide27.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide27.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide28.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide28.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide29.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide29.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide3.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide3.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide30.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide30.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide31.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide31.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide32.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide32.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide33.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide33.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide34.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide34.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide35.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide35.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide36.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide36.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide4.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide4.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide5.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide5.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide6.png
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide7.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide7.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide8.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide8.PNG
--------------------------------------------------------------------------------
/src/components/home/popup_images/Slide9.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/popup_images/Slide9.PNG
--------------------------------------------------------------------------------
/src/components/home/video.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | // import video1 from "./video/demoVideo.mp4"
3 | import logo from "./video/load.gif"
4 | import { VideoStyle } from "./styles"
5 | function Video() {
6 | return (
7 |
8 | {/* */}
9 |
10 |
11 | )
12 | }
13 |
14 | export default Video
15 |
--------------------------------------------------------------------------------
/src/components/home/video/load.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/home/video/load.gif
--------------------------------------------------------------------------------
/src/components/isBrowser.js:
--------------------------------------------------------------------------------
1 | export const isBrowser = () => typeof window !== "undefined"
2 |
--------------------------------------------------------------------------------
/src/components/placements/const.js:
--------------------------------------------------------------------------------
1 | const Placementlist = [
2 | {
3 | title: "About",
4 | data: "About",
5 | },
6 | {
7 | title: "Director's Message",
8 | data: "Director's Message",
9 | },
10 | {
11 | title: "TPO's Message",
12 | data: "TPO's Message",
13 | },
14 | {
15 | title: "Placement Officers",
16 | data: "Placement Officers",
17 | },
18 | ]
19 |
20 | export default Placementlist
21 |
--------------------------------------------------------------------------------
/src/components/placements/img/tandpcell.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/placements/img/tandpcell.jpg
--------------------------------------------------------------------------------
/src/components/readinn.js:
--------------------------------------------------------------------------------
1 | import React, { useEffect, useState } from "react"
2 | import { ReadStyle } from "./styles/ReadStyle"
3 | import downimg from "./home/img/download.svg"
4 | import axios from "axios"
5 |
6 | const ReadInn = ({ id }) => {
7 | const [data, setData] = useState()
8 | useEffect(() => {
9 | loadData()
10 | }, [id])
11 | const loadData = () => {
12 | const url = `${process.env.GATSBY_API_URL}/api/innovation/${id}`
13 | axios
14 | .get(url)
15 | .then(res => setData(res.data[0]))
16 | .catch(e => {
17 | console.log(e)
18 | })
19 | }
20 | const link = k => {
21 | k = k.substr(0, k.length - 18)
22 | k = k.substr(32, k.length)
23 | return k
24 | }
25 | console.log(data)
26 | return (
27 | <>
28 | {data ? (
29 |
30 |
31 |
42 |
43 |
{data.title}
44 |
{data.description}
45 |
46 |
47 |
48 | {/*
Autor : {data.author}
*/}
49 |
Date : {new Date(data.timestamp).toLocaleDateString()}
50 |
51 |
60 |
61 |
62 |
63 | ) : (
64 | ""
65 | )}
66 | >
67 | )
68 | }
69 |
70 | export default ReadInn
71 |
--------------------------------------------------------------------------------
/src/components/seo.js:
--------------------------------------------------------------------------------
1 | /**
2 | * SEO component that queries for data with
3 | * Gatsby's useStaticQuery React hook
4 | *
5 | * See: https://www.gatsbyjs.org/docs/use-static-query/
6 | */
7 |
8 | import React from "react"
9 | import PropTypes from "prop-types"
10 | import { Helmet } from "react-helmet"
11 | import { useStaticQuery, graphql } from "gatsby"
12 |
13 | function SEO({ description, lang, meta, title }) {
14 | const { site } = useStaticQuery(
15 | graphql`
16 | query {
17 | site {
18 | siteMetadata {
19 | title
20 | description
21 | author
22 | }
23 | }
24 | }
25 | `
26 | )
27 |
28 | const metaDescription = description || site.siteMetadata.description
29 |
30 | return (
31 |
72 | )
73 | }
74 |
75 | SEO.defaultProps = {
76 | lang: `en`,
77 | meta: [],
78 | description: ``,
79 | }
80 |
81 | SEO.propTypes = {
82 | description: PropTypes.string,
83 | lang: PropTypes.string,
84 | meta: PropTypes.arrayOf(PropTypes.object),
85 | title: PropTypes.string.isRequired,
86 | }
87 |
88 | export default SEO
89 |
--------------------------------------------------------------------------------
/src/components/student/floatmenu.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import float from "../global/img/float.svg"
3 | import "../global/css/float.css"
4 | const Floatmenu = () => (
5 | <>
6 |
7 |
44 |
64 |
65 | >
66 | )
67 | export default Floatmenu
68 |
--------------------------------------------------------------------------------
/src/components/student/img/bag.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/student/img/coronapic.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Coronapic = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "student/img/coronapic.png" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Coronapic
25 |
--------------------------------------------------------------------------------
/src/components/student/img/coronapic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/student/img/coronapic.png
--------------------------------------------------------------------------------
/src/components/student/img/exchange.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/components/student/img/gallery.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/student/img/gallery.png
--------------------------------------------------------------------------------
/src/components/student/img/sac.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/src/components/student/img/sac.jpeg
--------------------------------------------------------------------------------
/src/components/student/img/sacpic.js:
--------------------------------------------------------------------------------
1 | import { useStaticQuery, graphql } from "gatsby"
2 | import Img from "gatsby-image"
3 | import React from "react"
4 |
5 | const Sacimg = () => {
6 | const data = useStaticQuery(graphql`
7 | query {
8 | main: file(relativePath: { eq: "student/img/sac.jpeg" }) {
9 | childImageSharp {
10 | fluid(maxWidth: 2000) {
11 | ...GatsbyImageSharpFluid
12 | }
13 | }
14 | }
15 | }
16 | `)
17 | return (
18 |
19 |
20 |
21 | )
22 | }
23 |
24 | export default Sacimg
25 |
--------------------------------------------------------------------------------
/src/components/styles/AdminStyle.js:
--------------------------------------------------------------------------------
1 | import styled from "styled-components"
2 |
3 | export const AdminStyle = styled.div`
4 | width: 100vw;
5 | height: 80vh;
6 | position: relative;
7 | display: flex;
8 | align-items: center;
9 | flex-direction: column;
10 | padding-top: 4rem;
11 | font-family: "Source Sans Pro";
12 | text-rendering: optimizeLegibility;
13 | background: ${props => props.theme.backgroundColor};
14 |
15 | .mainDiv {
16 | display: flex;
17 | width: 75vw;
18 | margin: 2vw 0 2vw 0;
19 | padding: 1rem;
20 | height: 80vh;
21 | box-shadow: -3px -3px 12px #ffffff73, 3px 3px 12px rgba(94, 104, 121, 0.288);
22 | align-items: flex-start;
23 | justify-content: space-evenly;
24 | flex-direction: row;
25 | flex-wrap: wrap;
26 | overflow: scroll;
27 | align-content: flex-start;
28 | -ms-overflow-style: none;
29 | background: ${props => props.theme.backgroundColor};
30 | scrollbar-width: none;
31 | &::-webkit-scrollbar {
32 | display: none;
33 | }
34 | .layout-row {
35 | width: 100%;
36 | h1,
37 | th {
38 | color: ${props => props.theme.primaryColor};
39 | }
40 | td,
41 | h2,
42 | p,
43 | h3 {
44 | color: ${props => props.theme.textColor};
45 | }
46 | }
47 | }
48 | @media (max-width: 768px) {
49 | margin-top: 7rem;
50 | .mainDiv {
51 | margin-top: 50px;
52 | width: 80vw;
53 | }
54 | }
55 | `
56 |
--------------------------------------------------------------------------------
/src/components/styles/SearchStyle.js:
--------------------------------------------------------------------------------
1 | import styled from "styled-components"
2 |
3 | export const SearchStyle = styled.div`
4 | width: 100%;
5 |
6 | .form-search {
7 | display: flex;
8 | margin: 0;
9 | text-align: center;
10 | align-items: flex-start;
11 | justify-content: flex-end;
12 | width: 100%;
13 | font: bold 13px sans-serif;
14 | position: relative;
15 | }
16 |
17 | .form-search input {
18 | width: 300px;
19 | box-sizing: border-box;
20 | border-bottom-left-radius: 2px;
21 | border-top-left-radius: 2px;
22 | background-color: ${props => props.theme.backgroundSecColor};
23 | box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.08);
24 | padding: 14px 15px 14px 10px;
25 | border: 1px solid ${props => props.theme.primaryTextColor};
26 | color: ${props => props.theme.textColor};
27 | outline: none;
28 | -webkit-appearance: none;
29 | }
30 |
31 | .form-search i {
32 | position: absolute;
33 | top: 15px;
34 | left: 20px;
35 | font-size: 16px;
36 | color: #80a3bd;
37 | }
38 | @media (max-width: 768px) {
39 | .form-search {
40 | justify-content: flex-start;
41 | }
42 | }
43 | `
44 |
--------------------------------------------------------------------------------
/src/components/styles/adcard.js:
--------------------------------------------------------------------------------
1 | import styled from "styled-components"
2 |
3 | export const AdCardStyle = styled.div`
4 | display: flex;
5 | flex-direction: column;
6 | justify-content: center;
7 | align-items: center;
8 | border-radius: 10px;
9 | width: 300px;
10 | height: 150px;
11 | overflow: hidden;
12 | box-shadow: 5px 10px 19px rgba(193, 104, 0, 0.25);
13 | box-shadow: 5px 10px 19px rgba(193, 104, 0, 0.25) unset;
14 | background: ${props => props.theme.backgroundSecColor};
15 | position: relative;
16 | margin: 1rem;
17 | text-align: center;
18 |
19 | .type {
20 | display: flex;
21 | position: absolute;
22 | bottom: 0;
23 | margin-bottom: 15px;
24 | justify-self: flex-end;
25 | justify-content: flex-end;
26 | width: 90%;
27 | span {
28 | color: ${props => props.theme.primaryColor};
29 | font-weight: bold;
30 | font-family: "Source Sans Pro";
31 | }
32 | }
33 | .adcardrow {
34 | display: flex;
35 | width: 94%;
36 | justify-content: center;
37 | align-items: center;
38 | white-space: pre-wrap;
39 | }
40 | .adcardname {
41 | span {
42 | line-height: 1.2;
43 | font-weight: bold;
44 | font-family: "Source Sans Pro";
45 | color: ${props => props.theme.textColor};
46 | }
47 | }
48 | .designation {
49 | span {
50 | line-height: 1.3;
51 | font-family: "Source Sans Pro";
52 | color: ${props => props.theme.secondaryTextColor};
53 | }
54 | }
55 | `
56 |
--------------------------------------------------------------------------------
/src/components/styles/cards.js:
--------------------------------------------------------------------------------
1 | import styled from "styled-components"
2 |
3 | export const CardsStyle = styled.div`
4 | font-family: "Source Sans Pro";
5 | padding-top: 15vh;
6 | display: flex;
7 | justify-content: space-evenly;
8 | background-color: ${props => props.theme.backgroundColor};
9 |
10 | .card-img-row {
11 | margin-top: 5vh;
12 | justify-content: center;
13 | text-align: center;
14 | .facmail {
15 | position: absolute;
16 | margin-top: -70px;
17 | margin-left: 60px;
18 | }
19 | h3 {
20 | color: ${props => props.theme.textColor};
21 | }
22 | font-family: "Source Sans Pro";
23 | .card-img-wrap {
24 | overflow: hidden;
25 | width: 250px;
26 | height: 250px;
27 | min-width: 250px;
28 | border-radius: 50%;
29 |
30 | img {
31 | width: 100%;
32 | height: auto;
33 | align-self: center;
34 | }
35 | }
36 | }
37 | .card-details-row {
38 | width: 80%;
39 | display: flex;
40 | justify-content: center;
41 | align-items: center;
42 | flex-direction: column;
43 | h1 {
44 | color: ${props => props.theme.textColor};
45 | }
46 | .fac-card {
47 | width: 90%;
48 | margin-top: 3vh;
49 | margin-bottom: 3vh;
50 | background: ${props => props.theme.backgroundColor};
51 | box-shadow: 0px 0px 18px rgba(156, 156, 156, 0.38);
52 | border-radius: 5px;
53 | padding: 0% 5%;
54 | padding-bottom: 15px;
55 | font-family: "Source Sans Pro";
56 | list-style: disc;
57 | .eventcarddetailsection,
58 | .noticecarddetail {
59 | background: ${props => props.theme.backgroundSecColor};
60 | }
61 | h3 {
62 | color: #2f2f2f;
63 | }
64 | }
65 | }
66 | @media (max-width: 768px) {
67 | .card-details-row {
68 | width: 100%;
69 | .fac-card {
70 | width: 98%;
71 | div {
72 | width: 90%;
73 | }
74 | }
75 | }
76 | }
77 | `
78 |
--------------------------------------------------------------------------------
/src/components/styles/dropdown.js:
--------------------------------------------------------------------------------
1 | import styled from "styled-components"
2 |
3 | export const DropdownStyle = styled.div`
4 | #rightlink {
5 | margin-left: calc(-275px + 8vw);
6 | }
7 | .dropbtn {
8 | background: transparent;
9 | border: none;
10 | text-decoration: none;
11 | color: ${props => props.theme.dropText};
12 | font-family: "Source Sans Pro";
13 | font-size: 16px;
14 | font-weight: 400;
15 | line-height: 1.6;
16 | display: flex;
17 | &:hover {
18 | color: tomato !important;
19 | }
20 | &:focus {
21 | color: tomato !important;
22 | }
23 | }
24 |
25 | .dropdown {
26 | position: relative;
27 | display: inline-block;
28 | }
29 |
30 | .dropdown-content {
31 | display: none;
32 | position: absolute;
33 | background-color: ${props => props.theme.bgnew};
34 | min-width: 175px;
35 | color: ${props => props.theme.dropText};
36 | box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
37 | z-index: 1;
38 | padding: 0px 10px 10px 10px;
39 | }
40 |
41 | &:hover .dropdown-content {
42 | display: block;
43 | opacity: 1;
44 | transition: 0.05s;
45 | }
46 |
47 | .dropdown:hover .dropbtn {
48 | color: ${props => props.theme.primaryColor};
49 | transition: 0.05s;
50 | }
51 | .dropdown-content {
52 | font-size: 16px;
53 | font-weight: 400;
54 | opacity: 1;
55 |
56 | a {
57 | display: flex;
58 | justify-content: center;
59 | padding: 5px 6px;
60 | text-decoration: none;
61 | display: block;
62 | font-size: 16px;
63 | overflow: hidden;
64 | /* max-height: 1.2vw; */
65 | color: ${props => props.theme.dropBg};
66 | margin: 0 !important;
67 | &:hover {
68 | color: ${props => props.theme.dropText};
69 | transition: 0.05s;
70 | font-weight: lighter;
71 | background-color: ${props => props.theme.dropBg};
72 | }
73 | }
74 | }
75 | `
76 |
--------------------------------------------------------------------------------
/src/components/styles/newscard.js:
--------------------------------------------------------------------------------
1 | import styled from "styled-components"
2 |
3 | export const NewsCardStyle = styled.div`
4 | width: 265px;
5 | height: 325px;
6 | min-width: 265px;
7 | background-color: ${props => props.theme.backgroundSecColor};
8 | min-height: 325px;
9 | overflow: hidden;
10 | box-shadow: 0 3px 8px #9b9b9e, 0 0 2px #9b9b9e;
11 | margin: 20px;
12 | border-radius: 10px;
13 | .news-img-wrap {
14 | height: 45%;
15 | overflow: hidden;
16 | display: grid;
17 | place-items: center;
18 | .card-img {
19 | min-width: 100%;
20 | min-height: 100%;
21 | width: auto;
22 | height: auto;
23 | object-fit: contain;
24 | }
25 | }
26 | .news-read {
27 | width: 90.6px;
28 | height: 19.07px;
29 | float: right;
30 | margin-top: -15px;
31 | margin-right: 13px;
32 | background: ${props => props.theme.primaryColor};
33 | border-radius: 3px;
34 | color: white;
35 | font-size: 1em;
36 | display: flex;
37 | justify-content: center;
38 | align-items: center;
39 | position: relative;
40 | z-index: 1;
41 | font-family: "Source Sans Pro";
42 | }
43 | .newscard-head {
44 | background-color: ${props => props.theme.backgroundSecColor};
45 | font-size: 1.3rem;
46 | margin-top: -20px;
47 | padding: 5%;
48 | h4 {
49 | font-size: 15px;
50 | font-style: normal;
51 | font-weight: bold;
52 | color: ${props => props.theme.textColor};
53 | font-family: "Source Sans Pro";
54 | }
55 | h6 {
56 | margin-top: -20px;
57 | color: rgba(0, 0, 0, 0.51);
58 | color: ${props => props.theme.secondaryTextColor};
59 | font-family: "Source Sans Pro";
60 | font-weight: 300;
61 | .newscard-readmore {
62 | color: ${props => props.theme.primaryColor};
63 | font-family: "Source Sans Pro";
64 | text-decoration: none;
65 | }
66 | }
67 | }
68 | `
69 |
--------------------------------------------------------------------------------
/src/components/styles/table.js:
--------------------------------------------------------------------------------
1 | import styled from "styled-components"
2 |
3 | export const TableStyle = styled.div`
4 | .table-t {
5 | display: flex;
6 | justify-content: center;
7 | .tablewrap {
8 | overflow: hidden;
9 | max-width: 90%;
10 | overflow-x: scroll;
11 | scrollbar-width: none;
12 | -ms-overflow-style: none;
13 | font-family: "Source Sans Pro";
14 | div {
15 | display: flexbox;
16 | justify-content: center;
17 | table {
18 | tr {
19 | th {
20 | padding: 10px 0px 0px 60px;
21 | font-size: 1.3rem;
22 | color: ${props => props.theme.primaryColor};
23 | }
24 | td {
25 | color: ${props => props.theme.textColor};
26 | text-align: center;
27 | padding: 10px 0px 0px 60px;
28 | }
29 | }
30 | }
31 | }
32 | &:-webkit-scrollbar {
33 | width: 0px;
34 | background: transparent;
35 | }
36 | }
37 | }
38 | `
39 |
--------------------------------------------------------------------------------
/src/components/table.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { TableStyle } from "./styles/table"
3 |
4 | const Table = ({ children }) => {
5 | return (
6 |
7 |
14 |
15 | )
16 | }
17 |
18 | export default Table
19 |
--------------------------------------------------------------------------------
/src/pages/403.js:
--------------------------------------------------------------------------------
1 | import React, { useEffect, useState } from "react"
2 | import { navigate } from "gatsby"
3 |
4 | import Layout from "../components/layout"
5 | import SEO from "../components/seo"
6 |
7 | const ForbiddenPage = () => {
8 | const [second, setSecond] = useState(6)
9 | function manageTime() {
10 | setSecond(second => second - 1)
11 | if (second >= 0) {
12 | setTimeout(manageTime, 1000)
13 | }
14 | }
15 |
16 | useEffect(() => {
17 | setTimeout(manageTime, 0)
18 |
19 | setTimeout(() => {
20 | navigate("/")
21 | }, 5000)
22 | }, [])
23 |
24 | return (
25 |
26 |
27 | FORBIDDEN
28 |
29 | You are not authorized to access this resource. You are being redirected to
30 | the homepage in {second}s.
31 |
32 |
33 | )
34 | }
35 |
36 | export default ForbiddenPage
37 |
--------------------------------------------------------------------------------
/src/pages/404.js:
--------------------------------------------------------------------------------
1 | import React, { useEffect, useState } from "react"
2 |
3 | import Layout from "../components/layout"
4 | import SEO from "../components/seo"
5 | import { navigate } from "gatsby"
6 |
7 | const NotFoundPage = () => {
8 | const [second, setSecond] = useState(6)
9 | function manageTime() {
10 | setSecond(second => second - 1)
11 | if (second >= 0) {
12 | setTimeout(manageTime, 1000)
13 | }
14 | }
15 |
16 | useEffect(() => {
17 | setTimeout(manageTime, 0)
18 |
19 | setTimeout(() => {
20 | navigate("/")
21 | }, 5000)
22 | }, [])
23 |
24 | return (
25 |
26 |
27 | NOT FOUND
28 |
29 | You requested a URL which does not exist. You are being redirected to
30 | homepage in {second}s.
31 |
32 |
33 | )
34 | }
35 |
36 | export default NotFoundPage
37 |
--------------------------------------------------------------------------------
/src/pages/500.js:
--------------------------------------------------------------------------------
1 | import React, { useEffect, useState } from "react"
2 | import { navigate } from "gatsby"
3 |
4 | import Layout from "../components/layout"
5 | import SEO from "../components/seo"
6 |
7 | const InternalServerErrorPage = () => {
8 | const [second, setSecond] = useState(6)
9 | function manageTime() {
10 | setSecond(second => second - 1)
11 | if (second >= 0) {
12 | setTimeout(manageTime, 1000)
13 | }
14 | }
15 |
16 | useEffect(() => {
17 | setTimeout(manageTime, 0)
18 |
19 | setTimeout(() => {
20 | navigate("/")
21 | }, 5000)
22 | }, [])
23 |
24 | return (
25 |
26 |
27 | INTERNAL SERVER ERROR
28 |
29 | An unexpected error occurred on the server. We apologize for the
30 | inconvenience. You are being redirected to the homepage in {second}s.
31 |
32 |
33 | )
34 | }
35 |
36 | export default InternalServerErrorPage
37 |
--------------------------------------------------------------------------------
/src/pages/503.js:
--------------------------------------------------------------------------------
1 | import React, { useEffect, useState } from "react"
2 | import { navigate } from "gatsby"
3 |
4 | import Layout from "../components/layout"
5 | import SEO from "../components/seo"
6 |
7 | const ServiceUnavailablePage = () => {
8 | const [second, setSecond] = useState(6)
9 | function manageTime() {
10 | setSecond(second => second - 1)
11 | if (second >= 0) {
12 | setTimeout(manageTime, 1000)
13 | }
14 | }
15 |
16 | useEffect(() => {
17 | setTimeout(manageTime, 0)
18 |
19 | setTimeout(() => {
20 | navigate("/")
21 | }, 5000)
22 | }, [])
23 |
24 | return (
25 |
26 |
27 | SERVICE UNAVAILABLE
28 |
29 | The server is currently unavailable. Please try again later. You are being
30 | redirected to the homepage in {second}s.
31 |
32 |
33 | )
34 | }
35 |
36 | export default ServiceUnavailablePage
37 |
--------------------------------------------------------------------------------
/src/pages/RTI.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import RTI from "../components/RTI"
5 |
6 | const RTI_Page = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default RTI_Page
14 |
--------------------------------------------------------------------------------
/src/pages/about.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Aboutpage from "../components/about"
5 | const About = () => (
6 |
7 |
8 |
9 |
10 | )
11 |
12 | export default About
13 |
--------------------------------------------------------------------------------
/src/pages/academics.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Academicspage from "../components/academics"
5 |
6 | const Academics = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Academics
14 |
--------------------------------------------------------------------------------
/src/pages/acadnotice.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Noticepage from "../components/noticepage"
5 |
6 | const AcademicsNotice = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default AcademicsNotice
14 |
--------------------------------------------------------------------------------
/src/pages/administration.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Administrationpage from "../components/administration"
5 |
6 | const Administration = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Administration
14 |
--------------------------------------------------------------------------------
/src/pages/annualreports.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import acadData from "../components/academics/acadData"
5 | import { TabPage } from "../components/styles/tabpage"
6 |
7 | const AnnualReports = () => (
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
Annual Reports
16 |
17 | {acadData.annualreports.map(e => (
18 |
35 | ))}
36 |
37 |
38 |
39 |
40 |
41 | )
42 |
43 | export default AnnualReports
44 |
--------------------------------------------------------------------------------
/src/pages/arch/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Facultypage from "../../components/departments/faculty"
5 |
6 | const Archfacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Archfacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/arch/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | labs,
12 | vision,
13 | contact,
14 | datalist,
15 | research,
16 | } from "../../components/departments/arch/archhome"
17 | const Arch = () => (
18 |
19 |
20 |
32 |
33 | )
34 |
35 | export default Arch
36 |
--------------------------------------------------------------------------------
/src/pages/arch/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Archsyllabus from "../../components/departments/arch/archsyllabus"
5 |
6 | const Archsyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Archsyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/bwcminutes.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Noticepage from "../components/noticepage"
5 |
6 | const BwcMinutes = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default BwcMinutes
14 |
--------------------------------------------------------------------------------
/src/pages/ce/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Facultypage from "../../components/departments/faculty"
5 |
6 | const Cefacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Cefacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/ce/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | labs,
12 | activities,
13 | vision,
14 | contact,
15 | research,
16 | datalist,
17 | } from "../../components/departments/ce/cehome"
18 | const Ce = () => (
19 |
20 |
21 |
34 |
35 | )
36 | export default Ce
37 |
--------------------------------------------------------------------------------
/src/pages/ce/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Cesyllabus from "../../components/departments/ce/cesyllabus"
5 |
6 | const Cesyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Cesyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/centreOfExcellence.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import CentreOfExcellence from "../components/centreOfExcellence"
3 | import Layout from "../components/layout"
4 | import SEO from "../components/seo"
5 | const centreOfExcellence = () => (
6 |
7 |
8 |
9 |
10 | )
11 |
12 | export default centreOfExcellence
13 |
--------------------------------------------------------------------------------
/src/pages/chem/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Facultypage from "../../components/departments/faculty"
5 |
6 | const Chemfacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Chemfacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/chem/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | labs,
12 | achievements,
13 | activities,
14 | others,
15 | vision,
16 | contact,
17 | datalist,
18 | research,
19 | } from "../../components/departments/chem/chemhome"
20 | const Chemistry = () => (
21 |
22 |
23 |
38 |
39 | )
40 |
41 | export default Chemistry
42 |
--------------------------------------------------------------------------------
/src/pages/chem/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Chemsyllabus from "../../components/departments/chem/chemsyllabus"
5 |
6 | const Chemsyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Chemsyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/convocation.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import { TabPage } from "../components/styles/tabpage"
5 | import acadData from "../components/academics/acadData"
6 |
7 | const Nirf = () => {
8 | let i = 0
9 | return (
10 |
11 |
12 |
13 |
14 | {
15 | <>
16 |
17 | 10th Convocation, 25th December 2021
18 |
19 | {acadData.convocation.map(item => (
20 |
46 | ))}
47 | >
48 | }
49 |
50 |
51 |
52 | )
53 | }
54 |
55 | export default Nirf
56 |
--------------------------------------------------------------------------------
/src/pages/cse/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Facultypage from "../../components/departments/faculty"
5 |
6 | const Csefacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Csefacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/cse/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | research,
12 | labs,
13 | achievements,
14 | activities,
15 | vision,
16 | Outcomes,
17 | contact,
18 | timetable,
19 | datalist,
20 | } from "../../components/departments/cse/csehome"
21 | const Cse = () => (
22 |
23 |
24 |
40 |
41 | )
42 |
43 | export default Cse
44 |
--------------------------------------------------------------------------------
/src/pages/cse/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Csesyllabus from "../../components/departments/cse/csesyllabus"
5 |
6 | const Csesyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Csesyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/director.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Directorpage from "../components/director"
5 | import { TabPage } from "../components/styles/tabpage"
6 | const Director = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Director
14 |
--------------------------------------------------------------------------------
/src/pages/ece/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Facultypage from "../../components/departments/faculty"
5 |
6 | const Ecefacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Ecefacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/ece/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | labs,
12 | achievements,
13 | activities,
14 | vision,
15 | contact,
16 | datalist,
17 | research,
18 | } from "../../components/departments/ece/ecehome"
19 | const Ece = () => (
20 |
21 |
22 |
36 |
37 | )
38 |
39 | export default Ece
40 |
--------------------------------------------------------------------------------
/src/pages/ece/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Ecesyllabus from "../../components/departments/ece/ecesyllabus"
5 |
6 | const Ecesyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Ecesyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/ee/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Facultypage from "../../components/departments/faculty"
5 |
6 | const Eefacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Eefacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/ee/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | labs,
12 | achievements,
13 | activities,
14 | vision,
15 | contact,
16 | datalist,
17 | Outcomes,
18 | research,
19 | } from "../../components/departments/ee/eehome"
20 | const Ee = () => (
21 |
22 |
23 |
38 |
39 | )
40 |
41 | export default Ee
42 |
--------------------------------------------------------------------------------
/src/pages/ee/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Eesyllabus from "../../components/departments/ee/eesyllabus"
5 |
6 | const Eesyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Eesyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/event.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Eventpage from "../components/event"
5 |
6 | const Event = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Event
14 |
--------------------------------------------------------------------------------
/src/pages/facilities.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Facilitiespage from "../components/facilities"
5 |
6 | const Facilities = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Facilities
14 |
--------------------------------------------------------------------------------
/src/pages/faculties.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Facultypage from "../components/departments/faculty"
5 |
6 | const Facultiespage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Facultiespage
14 |
--------------------------------------------------------------------------------
/src/pages/facultyStaffRecruitment.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Noticepage from "../components/noticepage"
5 |
6 | const Jobs = () => (
7 |
8 |
9 |
13 |
14 | )
15 |
16 | export default Jobs
17 |
--------------------------------------------------------------------------------
/src/pages/gallery.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import MainGallery from "../components/home/Extendedgallery"
5 |
6 | const ExtendedGallery = () => {
7 | return (
8 |
9 |
10 |
11 |
12 | )
13 | }
14 |
15 | export default ExtendedGallery
16 |
--------------------------------------------------------------------------------
/src/pages/grievance.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import { TabPage } from "../components/styles/tabpage"
5 |
6 | const Nirf = () => {
7 | let i = 0
8 | return (
9 |
10 |
11 |
12 |
13 | {
14 | <>
15 |
SC/ST Grievance cell
16 |
17 |
18 |
19 |
20 | For reporting any grievance related to SC / ST community of NIT
21 | Patna, kindly use this email ID:{" "}
22 | {" "}
23 |
24 | sc.st.cell@nitp.ac.in{" "}
25 |
26 |
27 |
28 |
29 | >
30 | }
31 |
32 |
33 |
34 | )
35 | }
36 |
37 | export default Nirf
38 |
--------------------------------------------------------------------------------
/src/pages/hss/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Facultypage from "../../components/departments/faculty"
5 |
6 | const Hssfacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Hssfacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/hss/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | labs,
12 | // achievements,
13 | activities,
14 | vision,
15 | Outcomes,
16 | contact,
17 | timetable,
18 | datalist,
19 | research,
20 | } from "../../components/departments/hss/hsshome"
21 | const Hss = () => (
22 |
23 |
24 |
40 |
41 | )
42 |
43 | export default Hss
44 |
--------------------------------------------------------------------------------
/src/pages/hss/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Hsssyllabus from "../../components/departments/hss/hsssyllabus"
5 |
6 | const Hsssyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Hsssyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Home from "../components/home"
3 | import Layout from "../components/layout"
4 | import SEO from "../components/seo"
5 |
6 | const IndexPage = () => (
7 | <>
8 |
9 |
10 |
11 |
12 | >
13 | )
14 |
15 | export default IndexPage
16 |
--------------------------------------------------------------------------------
/src/pages/innovation.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Innovationpage from "../components/global/Innovationpage"
3 | import Layout from "../components/layout"
4 | import SEO from "../components/seo"
5 | import { useQueryParam } from "use-query-params"
6 | import ReadInn from "../components/readinn"
7 |
8 | const Innovation = () => {
9 | const [id] = useQueryParam("id")
10 |
11 | return (
12 |
13 |
14 |
15 | {id && String(id).length != 0 ? : }
16 |
17 |
18 | )
19 | }
20 |
21 | export default Innovation
22 |
--------------------------------------------------------------------------------
/src/pages/internationalAffairs/events.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import { Events } from "../../components/internationalAffairs/InternationalAffairs"
5 |
6 | const StudentEx = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default StudentEx
14 |
--------------------------------------------------------------------------------
/src/pages/internationalAffairs/gallery.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import { Gallery } from "../../components/internationalAffairs/InternationalAffairs"
5 |
6 | const StudentEx = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default StudentEx
14 |
--------------------------------------------------------------------------------
/src/pages/internationalAffairs/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import InternationalAffHome from "../../components/internationalAffairs/InternationalAffHome"
5 | import {
6 | title,
7 | routeName,
8 | titleDescription,
9 | about,
10 | NewsAnnouncements,
11 | Partnership,
12 | StudentExchange,
13 | FacultyExchange,
14 | ContactDetails,
15 | Gallery,
16 | datalist,
17 | } from "../../components/internationalAffairs/InternationalAffairs"
18 |
19 | const InternationalAffairs = () => (
20 |
21 |
22 |
35 |
36 | )
37 |
38 | export default InternationalAffairs
39 |
--------------------------------------------------------------------------------
/src/pages/internationalAffairs/partnership.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import { Partnership } from "../../components/internationalAffairs/InternationalAffairs"
5 |
6 | const StudentEx = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default StudentEx
14 |
--------------------------------------------------------------------------------
/src/pages/internationalAffairs/studentexchange.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import { StudentExchange } from "../../components/internationalAffairs/InternationalAffairs"
5 |
6 | const StudentEx = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default StudentEx
14 |
--------------------------------------------------------------------------------
/src/pages/isro-racs.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Dephomepage from "../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | MoU,
11 | Administration,
12 | RCC,
13 | CallForProposal,
14 | AssociateInstitutes,
15 | Gallery,Contact,datalist
16 |
17 | } from "../components/academics/IsroRac"
18 | import IsroHome from "../components/academics/isroHome"
19 |
20 | const isroRacs = () => (
21 |
22 |
23 |
37 |
38 | )
39 |
40 | export default isroRacs;
41 |
--------------------------------------------------------------------------------
/src/pages/jobsnitp.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Noticepage from "../components/noticepage"
5 |
6 | const Jobs = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Jobs
14 |
--------------------------------------------------------------------------------
/src/pages/magazine.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import acadData from "../components/academics/acadData"
5 | import { TabPage } from "../components/styles/tabpage"
6 |
7 | const Magazine = () => (
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
Magazine of NIT Patna
16 |
17 | {acadData.magazine.map(e => (
18 |
35 | ))}
36 |
37 |
38 |
39 |
40 |
41 | )
42 |
43 | export default Magazine
44 |
--------------------------------------------------------------------------------
/src/pages/math/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import SEO from "../../components/seo"
3 | import Facultypage from "../../components/departments/faculty"
4 | import Layout from "../../components/layout"
5 |
6 | const Mathfacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Mathfacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/math/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | activities,
12 | vision,
13 | contact,
14 | datalist,
15 | research,
16 | } from "../../components/departments/math/mathhome"
17 | const Math = () => (
18 |
19 |
20 |
32 |
33 | )
34 |
35 | export default Math
36 |
--------------------------------------------------------------------------------
/src/pages/math/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Mathsyllabus from "../../components/departments/math/mathsyllabus"
5 |
6 | const Mathsyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Mathsyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/me/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import SEO from "../../components/seo"
3 | import Facultypage from "../../components/departments/faculty"
4 | import Layout from "../../components/layout"
5 |
6 | const Archfacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Archfacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/me/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import SEO from "../../components/seo"
3 | import Dephomepage from "../../components/departments/dephome"
4 | import {
5 | routeName,
6 | title,
7 | titleDescription,
8 | about,
9 | mission,
10 | labs,
11 | achievements,
12 | activities,
13 | vision,
14 | contact,
15 | datalist,
16 | staff,
17 | research,
18 | } from "../../components/departments/me/mehome"
19 | import Layout from "../../components/layout"
20 | const Me = () => (
21 |
22 |
23 |
38 |
39 | )
40 |
41 | export default Me
42 |
--------------------------------------------------------------------------------
/src/pages/me/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import SEO from "../../components/seo"
3 | import Mesyllabus from "../../components/departments/me/mesyllabus"
4 | import Layout from "../../components/layout"
5 |
6 | const Mesyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Mesyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/newcampus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Noticepage from "../components/noticepage"
5 |
6 | const NewCampus = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default NewCampus
14 |
--------------------------------------------------------------------------------
/src/pages/news.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Newspage from "../components/global/newspage"
5 | import { useQueryParam } from "use-query-params"
6 | import ReadNews from "../components/readnews"
7 |
8 | const News = () => {
9 | const [id] = useQueryParam("id")
10 |
11 | return (
12 |
13 |
14 | {id && String(id).length != 0 ? : }
15 |
16 | )
17 | }
18 |
19 | export default News
20 |
--------------------------------------------------------------------------------
/src/pages/nirf.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import { TabPage } from "../components/styles/tabpage"
5 | import acadData from "../components/academics/acadData"
6 |
7 | const Nirf = () => {
8 | let i = 0
9 | return (
10 |
11 |
12 |
13 |
14 | {
15 | <>
16 |
17 | NIRF (Coordinator : Prof. Prakash Chandra (prakash@nitp.ac.in))
18 |
19 |
20 | {acadData.nirf.map(item => (
21 |
47 | ))}
48 | >
49 | }
50 |
51 |
52 |
53 | )
54 | }
55 |
56 | export default Nirf
57 |
--------------------------------------------------------------------------------
/src/pages/nit_act.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import { TabPage } from "../components/styles/tabpage"
5 | import acadData from "../components/academics/acadData"
6 |
7 | const Nirf = () => {
8 | let i = 0
9 | return (
10 |
11 |
12 |
13 |
14 | {
15 | <>
16 |
NIT Act and Statutes
17 | {acadData.statutes.map(item => (
18 |
44 | ))}
45 | >
46 | }
47 |
48 |
49 |
50 | )
51 | }
52 |
53 | export default Nirf
54 |
--------------------------------------------------------------------------------
/src/pages/notice.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Noticepage from "../components/noticepage"
5 |
6 | const Notice = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Notice
14 |
--------------------------------------------------------------------------------
/src/pages/officers.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Facultypage from "../components/departments/faculty"
5 |
6 | const Officerspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Officerspage
14 |
--------------------------------------------------------------------------------
/src/pages/otherEmployees.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Facultypage from "../components/departments/faculty"
5 |
6 | const OtherEmployeespage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default OtherEmployeespage
14 |
--------------------------------------------------------------------------------
/src/pages/physics/faculty.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import SEO from "../../components/seo"
3 | import Facultypage from "../../components/departments/faculty"
4 | import Layout from "../../components/layout"
5 |
6 | const Phyfacultypage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Phyfacultypage
14 |
--------------------------------------------------------------------------------
/src/pages/physics/index.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../../components/layout"
3 | import SEO from "../../components/seo"
4 | import Dephomepage from "../../components/departments/dephome"
5 | import {
6 | routeName,
7 | title,
8 | titleDescription,
9 | about,
10 | mission,
11 | achievements,
12 | activities,
13 | vision,
14 | contact,
15 | datalist,
16 | research,
17 | } from "../../components/departments/phy/phyhome"
18 |
19 | const Phy = () => (
20 |
21 |
22 |
35 |
36 | )
37 |
38 | export default Phy
39 |
--------------------------------------------------------------------------------
/src/pages/physics/syllabus.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import SEO from "../../components/seo"
3 | import Physicssyllabus from "../../components/departments/phy/physicssyllabus"
4 | import Layout from "../../components/layout"
5 |
6 | const Physicssyllabuspage = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Physicssyllabuspage
14 |
--------------------------------------------------------------------------------
/src/pages/placements.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Placementpage from "../components/placements"
5 |
6 | const Placement = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Placement
14 |
--------------------------------------------------------------------------------
/src/pages/privacy.js:
--------------------------------------------------------------------------------
1 | import React, { useState } from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import { TabPage } from "../components/styles/tabpage"
5 | import acadData from "../components/academics/acadData"
6 |
7 | const Privacy = () => {
8 | let i = 0
9 | return (
10 |
11 |
12 |
13 |
14 | {acadData.privacy.map(item => (
15 | <>
16 |
{item.heading}
17 |
18 |
19 | {item.data.map(e => (
20 | <>
21 |
{e.title}
22 |
30 | {e.para}
31 |
32 | >
33 | ))}
34 |
35 |
36 | >
37 | ))}
38 |
39 |
40 |
41 | )
42 | }
43 |
44 | export default Privacy
45 |
--------------------------------------------------------------------------------
/src/pages/profile.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import SEO from "../components/seo"
3 | import Facultyprofile from "../components/global/facultyprofile"
4 | import { useQueryParam, NumberParam, StringParam } from "use-query-params"
5 |
6 | const Csefacultyprofilepage = () => {
7 | const [id, setNum] = useQueryParam("id", StringParam)
8 | console.log(id)
9 | if (String(id).endsWith("nitp.ac.in")) {
10 | return (
11 | <>
12 |
13 |
14 | >
15 | )
16 | } else {
17 | return null
18 | }
19 | }
20 |
21 | export default Csefacultyprofilepage
22 |
--------------------------------------------------------------------------------
/src/pages/relaxationCritaria.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import RelaxationCritaria from "../components/RelaxationCritaria"
5 |
6 | const Relaxation_Critaria = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Relaxation_Critaria
14 |
--------------------------------------------------------------------------------
/src/pages/senateminutes.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Noticepage from "../components/noticepage"
5 |
6 | const SenateMinutes = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default SenateMinutes
14 |
--------------------------------------------------------------------------------
/src/pages/sitemap.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import { graphql } from "gatsby"
3 | import { Link } from "gatsby"
4 | import Layout from "../components/layout"
5 | import SEO from "../components/seo"
6 | import { string } from "prop-types"
7 | import { TabPage } from "../components/styles/tabpage"
8 |
9 | const ComponentName = ({ data }) => (
10 |
11 |
12 |
13 |
14 | <>
15 | {data.allSitePage.edges.map(item => (
16 | <>
17 | {String(item.node.path).slice(1, -1) != "404" &&
18 | String(item.node.path).slice(1, -1) != "dev-404-page" &&
19 | String(item.node.path).slice(1, -1) != "" &&
20 | String(item.node.path).slice(1, -1) != "404.htm" &&
21 | String(item.node.path).slice(1, -1) != "sitemap" ? (
22 |
23 |
33 | ▪ {String(item.node.path).slice(1, -1)}
34 |
35 |
36 |
37 | ) : (
38 | ""
39 | )}
40 | >
41 | ))}
42 | >
43 |
44 |
45 |
46 | )
47 |
48 | export const query = graphql`
49 | {
50 | allSitePage {
51 | edges {
52 | node {
53 | path
54 | }
55 | }
56 | }
57 | }
58 | `
59 |
60 | export default ComponentName
61 |
--------------------------------------------------------------------------------
/src/pages/staffClaimForm.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import StaffClaimForms from "../components/StaffClaimForms"
5 |
6 | const StaffClaim_Forms = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default StaffClaim_Forms
14 |
--------------------------------------------------------------------------------
/src/pages/students.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Studentpage from "../components/student"
5 |
6 | const Student = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Student
14 |
--------------------------------------------------------------------------------
/src/pages/tenders.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Noticepage from "../components/noticepage"
5 |
6 | const Tenders = () => (
7 |
8 |
9 |
10 |
11 | )
12 |
13 | export default Tenders
14 |
--------------------------------------------------------------------------------
/src/pages/terms.js:
--------------------------------------------------------------------------------
1 | import React from "react"
2 | import Layout from "../components/layout"
3 | import SEO from "../components/seo"
4 | import Termsofuse from "../components/termsofuse"
5 | const Terms = () => (
6 |
7 |
8 |
9 |
10 | )
11 |
12 | export default Terms
13 |
--------------------------------------------------------------------------------
/static/Vista.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/Vista.jpg
--------------------------------------------------------------------------------
/static/acadscholar.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/activities.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/asme.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/asme.png
--------------------------------------------------------------------------------
/static/bulb.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/clock.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/department/about.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/department/activities.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/department/contact.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/department/faculty.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/department/labs.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/department/mission.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/department/syllabus.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/department/syllabus/btech_2021_onwards.csv:
--------------------------------------------------------------------------------
1 | coursecode,coursetitle,l,t,p,credits,sem_elect,dept
2 | CS14102,Programming in C,3,0,2,4,1,CSUG
3 | MA14102,Engineering Mathematics I,3,1,0,4,1,MATH
4 | CH14101,Engineering Chemistry,3,0,2,4,1,CHE
5 | EC14102,Digital Design,2,0,2,3,1,ECE
6 | CS14106,Information Technology Workshop,3,0,2,4,1,CSUG
7 | EAA14102,EAA -II Swachha Bharat Mission (SBM),0,0,2,1,1,CSE/SAC
8 | CS24107,Web Technology,3,0,2,4,2,CSUG
9 | HS24101,Communicative English,3,0,2,4,2,HSS
10 | PH24101,Engineering Physics,3,0,2,4,2,PHY
11 | CS24108,Computer Organization,3,0,2,4,2,CSUG
12 | MA24102,Engineering Mathematics II,3,0,0,3,2,MATH
13 | EAA24101,EAA - I Sports/Innovative Project/NCC/NSS,0,0,2,1,2,CSE/SAC
14 | CS34104,Data Structures,3,0,2,4,3,CSUG
15 | CS34105,Object Oriented Programming,2,0,2,3,3,CSUG
16 | CS34109,Database Management Systems,3,0,2,4,3,CSUG
17 | CS34110,Discrete Mathematics and Graph Theory,3,0,0,3,3,CSUG
18 | CS34111,Operating Systems,3,0,2,4,3,CSUG
19 | HS34151,Social and Professional Ethics,3,0,0,3,3,CSUG
20 | CS44112,Artificial Intelligence,3,0,2,4,4,CSUG
21 | CS44113,Computer Networks,3,0,2,4,4,CSUG
22 | CS44114,Automata Theory and compiler design,3,0,2,4,4,CSUG
23 | CS44115,Design and Analysis of Algorithms,3,0,2,4,4,CSUG
24 | OP44XXX,Open Electives-1,X,X,X,3,4,CSUG
25 |
--------------------------------------------------------------------------------
/static/expresso.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/expresso.png
--------------------------------------------------------------------------------
/static/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/facebook.png
--------------------------------------------------------------------------------
/static/facebook.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/faculty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/faculty.png
--------------------------------------------------------------------------------
/static/gdsc.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/gdsc.jpg
--------------------------------------------------------------------------------
/static/googleScholar.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/hackslash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/hackslash.png
--------------------------------------------------------------------------------
/static/hackslash2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/hackslash2.png
--------------------------------------------------------------------------------
/static/ieee.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/ieee.png
--------------------------------------------------------------------------------
/static/images/600911.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/images/600911.jpg
--------------------------------------------------------------------------------
/static/isie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/isie.png
--------------------------------------------------------------------------------
/static/labs.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/linkedin.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/location.png
--------------------------------------------------------------------------------
/static/moon.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/paper.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/robotics.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/robotics.png
--------------------------------------------------------------------------------
/static/sae.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nitpweb/nitp-web-front/17d7ca3477ab113236255de2795afd1e2424b850/static/sae.jpg
--------------------------------------------------------------------------------
/static/sun.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/twitter.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/static/web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------