From 8cadef253ed3f0ad8a2ad86e86dc4325c640bc89 Mon Sep 17 00:00:00 2001 From: Aryawart-kathpal Date: Thu, 3 Jul 2025 22:23:15 +0530 Subject: [PATCH 1/4] feat: Added cells pages --- app/[locale]/institute/cells/iic/page.tsx | 209 ++++++++++++ app/[locale]/institute/cells/iks/page.tsx | 96 ++++++ app/[locale]/research/ipr/page.tsx | 388 ++++++++++++++++++++++ i18n/en.ts | 9 + i18n/hi.ts | 9 + i18n/translations.ts | 9 + 6 files changed, 720 insertions(+) create mode 100644 app/[locale]/institute/cells/iic/page.tsx create mode 100644 app/[locale]/institute/cells/iks/page.tsx create mode 100644 app/[locale]/research/ipr/page.tsx diff --git a/app/[locale]/institute/cells/iic/page.tsx b/app/[locale]/institute/cells/iic/page.tsx new file mode 100644 index 00000000..7c52bde2 --- /dev/null +++ b/app/[locale]/institute/cells/iic/page.tsx @@ -0,0 +1,209 @@ +import Heading from '~/components/heading'; +import { + Table, + TableBody, + TableCell, + TableHead, + TableHeader, + TableRow, +} from '~/components/ui'; +import { getTranslations } from '~/i18n/translations'; +import { getS3Url } from '~/server/s3'; + +export default async function IICPage({ + params: { locale }, +}: { + params: { locale: string }; +}) { + const text = await getTranslations(locale); + const description = + 'NIT Kurukshetra convenes the members of the Institute’s Innovation Council (IIC), which is aligned with the Ministry of Education’s Innovation Cell (MIC). The IIC will be an umbrella entity offering a range of development programs, workshops, etc.'; + + const officeOrder = [ + { + sr_no: 1, + responsibility: 'Dr. A. K. Mehta', + name_of_faculty: 'Professor', + }, + { + sr_no: 2, + responsibility: 'Dr. A. K. Mehta', + name_of_faculty: 'Assistant Professor', + }, + { + sr_no: 3, + responsibility: 'Rohan Sharma', + name_of_faculty: 'Student', + }, + { + sr_no: 4, + responsibility: 'Dr. Sneha Verma', + name_of_faculty: 'Assistant Professor', + }, + { + sr_no: 5, + responsibility: 'Dr. Sneha Verma', + name_of_faculty: 'Assistant Professor', + }, + { + sr_no: 6, + responsibility: 'Dr. A. K. Mehta', + name_of_faculty: 'Professor', + }, + { + sr_no: 7, + responsibility: 'Ananya Gupta', + name_of_faculty: 'Student', + }, + { + sr_no: 8, + responsibility: 'Dr. Ritesh Singh', + name_of_faculty: 'Associate Professor', + }, + { + sr_no: 9, + responsibility: 'Dr. Neha Sharma', + name_of_faculty: 'Assistant Professor', + }, + { + sr_no: 10, + responsibility: 'Dr. Neha Sharma', + name_of_faculty: 'Assistant Professor', + }, + ]; + const activities = [ + { + sr_no: 1, + past_activity: "Workshop on 'Design Thinking for Innovation'", + }, + { + sr_no: 2, + past_activity: "Talk on 'From Campus to Startup' by Alumni Entrepreneurs", + }, + { + sr_no: 3, + past_activity: 'Idea Pitching Competition with Industry Mentors', + }, + { + sr_no: 4, + past_activity: "Seminar on 'AI and the Future of Startups'", + }, + { + sr_no: 5, + past_activity: 'Innovation Bootcamp: 3-Day Product Building Sprint', + }, + { + sr_no: 6, + past_activity: 'Celebration of National Technology Day with Tech Demos', + }, + ]; + + return ( + <> + {/* Header */} +
+
+

+ Institute's Innovation Council +

+

+ (IIC) Cell +

+
+
+ +
+ {/* Description */} +
+

+ + preamble:{' '} + + {description} +

+
+ {/* Office Order */} +
+ +
+ + + + Sr. No. + Responsibility + Name of Faculty + + + + {officeOrder.map((order) => ( + + {order.sr_no} + {order.name_of_faculty} + {order.responsibility} + + ))} + +
+
+
+ {/* Activities */} +
+ + {/* Past Activities */} +
+ + + + Sr. No. + Past activities + + + + {activities.map((act) => ( + + {act.sr_no} + {act.past_activity} + + ))} + +
+
+ {/* Upcoming Activities */} +
+ + + + Sr. No. + Upcoming activities + + + + {activities.map((act) => ( + + {act.sr_no} + {act.past_activity} + + ))} + +
+
+
+
+ + ); +} \ No newline at end of file diff --git a/app/[locale]/institute/cells/iks/page.tsx b/app/[locale]/institute/cells/iks/page.tsx new file mode 100644 index 00000000..fb513690 --- /dev/null +++ b/app/[locale]/institute/cells/iks/page.tsx @@ -0,0 +1,96 @@ +import { getS3Url } from '~/server/s3'; + +export default async function IKS({ + params: { locale }, +}: { + params: { locale: string }; +}) { + const description = + 'IKS Cell is an innovative cell which is established in 2022 in the Institute. It is established to promote interdisciplinary research on all aspects of IKS, preserve and disseminate IKS for further research and societal applications. It will actively engage in spreading the rich heritage of our country and traditional knowledge in the field of Psychology, Basic Sciences, Engineering & Technology, Arts and literature, Agriculture, Architecture etc.'; + const activities = [ + { + id: 1, + description: + 'Expert talk on “Quality Life Management and Professional Excellence” by Prof Navneet Arora, IIT Roorkee on 15.01.2024 at 9:30 AM (1 hour duration) in the Seminar Hall of the Computer Engineering Department.', + }, + { + id: 2, + description: + 'IKS Cell Celebrated Pran Pratishtha Ceremony of Lord Rama at Ayodhya on January 22, 2024. Bhagirathi Bhawan at 11 AM.', + }, + { + id: 3, + description: + 'IKS Cell organized a Five Days Workshop on “Stress Management and Professional Excellence” during November 24–28, 2023.', + }, + ]; + const members = [ + { + name: 'Prof RK Aggarwal', + designation: 'Prof-In-Charge, IKS Cell', + }, + { + name: 'Dr. Shabnam', + designation: 'Faculty-In-Charge, IKS Cell', + }, + { + name: 'Dr. Kuldeep Kumar', + designation: 'Faculty-In-Charge, IKS Cell', + }, + ]; + return ( + <> + {/* heading */} +
+
+

+ Indian Knowledge Systems +

+

+ (IKS) Cell +

+
+
+ +
+ {/* description */} +
+

Indian Knowledge Systems (IKS)

+

+ {description} +

+
+ + {/* IKS Team */} +
+

IKS Team

+
    + {members.map((member) => ( +
  • + {member.name}, {member.designation} +
  • + ))} +
+
+ + {/* Activities Performed in Year 2023-2024 */} +
+

+ Activities Performed in Year 2023-2024 +

+
    + {activities.map((act) => ( +
  1. {act.description}
  2. + ))} +
+
+ {/* Gallery */} +
+ + ); +} \ No newline at end of file diff --git a/app/[locale]/research/ipr/page.tsx b/app/[locale]/research/ipr/page.tsx new file mode 100644 index 00000000..45e18984 --- /dev/null +++ b/app/[locale]/research/ipr/page.tsx @@ -0,0 +1,388 @@ +import Image from 'next/image'; +import Link from 'next/link'; +import { MdEmail, MdOutlineLocalPhone } from 'react-icons/md'; +import { FaFlask, FaIndianRupeeSign } from 'react-icons/fa6'; +import { FaRegIdCard } from 'react-icons/fa'; +import { PiShieldStarBold } from 'react-icons/pi'; +import { BsTools } from 'react-icons/bs'; +import { type IconType } from 'react-icons/lib'; + +import { cn } from '~/lib/utils'; +import { Button } from '~/components/buttons'; +import Heading from '~/components/heading'; +import { + Table, + TableBody, + TableCell, + TableHead, + TableHeader, + TableRow, +} from '~/components/ui'; +import { getTranslations } from '~/i18n/translations'; +import { getS3Url } from '~/server/s3'; + +export default async function IPR({ + params: { locale }, +}: { + params: { locale: string }; +}) { + const text = await getTranslations(locale); + const description = + 'In consonance with the National IPR Policy of Govt. of India 2016. In order to facilitate faculty, staff and students of Institute in a proactive manner in the generation, protection and transaction of Intellectual Property which offers potential scope for shared benefits to both institute and inventors, an IPR Cell has been established in NIT Kurukshetra. The IPR Cell at NIT Kurukshetra is a cornerstone of our commitment to advancing research and innovation. It provides comprehensive support to faculty, staff, and students by offering expert guidance on securing patents, copyrights, and design registrations. Through it’s working, the IPR Cell equips our academic community with the tools and knowledge necessary to protect and commercialise their intellectual assets. We invite you to explore our initiatives and join us in fostering an environment where academic excellence and pioneering research seamlessly converge.'; + + interface Card { + label: string; + href: string; + icon: IconType; + } + + const availableTechnologies: Card[] = [ + { + label: 'technologies available for licensing/sales', + href: '#', + icon: FaIndianRupeeSign, + }, + { + label: 'Purchasing form', + href: '#', + icon: BsTools, + }, + ]; + + const facultyIncharge = [ + { + image: 'fallback/user-image.jpg', + name: 'Anshu Parashar', + title: 'Computer Application', + email: 'anshuparashar@nitkkr.ac.in', + phone: '1234567890', + }, + { + image: 'fallback/user-image.jpg', + name: 'Anshu Parashar', + title: 'Computer Application', + email: 'anshuparashar@nitkkr.ac.in', + phone: '1234567890', + }, + ]; + + const advisoryCommittee = [ + { + srNo: 1, + name: 'Dr. R. P. Chauhan', + designation: 'Professor', + department: 'Physics', + }, + { + srNo: 2, + name: 'Dr. R. P. Chauhan', + designation: 'Assistant Professor', + department: 'Physics', + }, + { + srNo: 3, + name: 'Pratyush Prasoon Mishra', + designation: 'Student', + department: 'Computer Science', + }, + { + srNo: 4, + name: 'Dr. Avijit Kumar Paul', + designation: 'Assistant Professor', + department: 'Chemistry', + }, + { + srNo: 5, + name: 'Dr. Avijit Kumar Paul', + designation: 'Assistant Professor', + department: 'Chemistry', + }, + { + srNo: 6, + name: 'Dr. R. P. Chauhan', + designation: 'Professor', + department: 'Physics', + }, + { + srNo: 7, + name: 'Dr. Anjali Mehta', + designation: 'Professor', + department: 'Biotechnology', + }, + { + srNo: 8, + name: 'Dr. Sumit Kapoor', + designation: 'Assistant Professor', + department: 'Mathematics', + }, + { + srNo: 9, + name: 'Ishaan Arora', + designation: 'Student', + department: 'Electronics', + }, + { + srNo: 10, + name: 'Dr. Nidhi Sharma', + designation: 'Associate Professor', + department: 'Mechanical', + }, + { + srNo: 11, + name: 'Ananya Gupta', + designation: 'Student', + department: 'Information Technology', + }, + { + srNo: 12, + name: 'Dr. Karan Sethi', + designation: 'Assistant Professor', + department: 'Civil', + }, + ]; + + const innovations: Card[] = [ + { + label: 'patents granted', + href: '#', + icon: FaRegIdCard, + }, + { + label: 'copyrights obtained', + href: '#', + icon: FaFlask, + }, + { + label: 'patents granted', + href: '#', + icon: PiShieldStarBold, + }, + ]; + + return ( + <> + {/* Header */} +
+
+

+ Intellectual Property Rights +

+

+ (IPR) Cell +

+
+
+ +
+ {/* description */} +
+

+ {description} +

+
+ {/* Faculty incharge */} +
+ +
    + {facultyIncharge.map((faculty, idx) => ( +
  • + {faculty.name} +
    +
    +

    + {faculty.name} + + {faculty.title} + +

    +
    +
    + + + + {faculty.email} + + + + + + {faculty.phone} + + +
    +
    +
  • + ))} +
+
+ {/* Advisory Commitee */} +
+ +
+ + + + {text.Research.advisoryCommittee.srNo} + {text.Research.advisoryCommittee.name} + + {text.Research.advisoryCommittee.designation} + + + {text.Research.advisoryCommittee.department} + + + + + {advisoryCommittee.map((member) => ( + + {member.srNo} + {member.name} + {member.designation} + {member.department} + + ))} + +
+
+
+ {/* IP Policy */} +
+ + {/* /academics/2.jpg */} +
+ {/* Left: Image with caption */} +
+ {/* Adjust this image */} + Revised IP Policy + + REVISED IP POLICY (2017) → + +
+ + {/* Right: Description */} +

+ The first Intellectual Property (IP) policy for the Institute was + formulated in 2008. In the last few years, a number of new + initiatives and issues have happened, with the enhanced growth in + research and development. In view of the experience obtained + during this period, in commercialisation, incubation, + international collaboration, distance education courses and + student related issues, it was decided to review the current + policy and suggest changes as appropriate. This document is the + revised IP Policy for the Institute. +

+
+
+ {/* Available Technologies */} +
+ + +

+ Parties interested in getting license of purchasing the technologies + can express their interest by filling the purchasing form or + emailing ipr@nittkr.ac.in +

+ +
+ {availableTechnologies.map(({ label, href, icon: Icon }, index) => ( + + ))} +
+
+ {/* NITKKR innovations and IP */} +
+ +
+ {innovations.map(({ label, href, icon: Icon }, index) => ( + + ))} +
+
+ {/* Gallery */} +
+ + ); +} diff --git a/i18n/en.ts b/i18n/en.ts index 40ad52fb..f13b7566 100644 --- a/i18n/en.ts +++ b/i18n/en.ts @@ -723,6 +723,15 @@ const text: Translations = { about: 'About', objectives: 'Objectives', }, + Research: { + advisoryCommittee: { + title: 'Advisory Committee', + srNo: 'Sr. No.', + name: 'Name', + designation: 'Designation', + department: 'Department/School', + }, + }, Search: { placeholder: 'Quick Search...', categories: { diff --git a/i18n/hi.ts b/i18n/hi.ts index 020df1dd..2c181c95 100644 --- a/i18n/hi.ts +++ b/i18n/hi.ts @@ -716,6 +716,15 @@ const text: Translations = { about: 'परिचय', objectives: 'लक्ष्य', }, + Research: { + advisoryCommittee: { + title: 'सलाहकार समिति', + srNo: 'क्रम संख्या', + name: 'नाम', + designation: 'पद', + department: 'विभाग', + }, + }, Search: { placeholder: 'त्वरित खोज...', categories: { diff --git a/i18n/translations.ts b/i18n/translations.ts index 65bbcb4d..2e6ce7cb 100644 --- a/i18n/translations.ts +++ b/i18n/translations.ts @@ -327,6 +327,15 @@ export interface Translations { }; }; }; + Research: { + advisoryCommittee: { + title: string; + srNo: string; + name: string; + designation: string; + department: string; + }; + }; Login: { title: string; enterEmail: string; From 490bbbf6c65f7c32b9393bb9bef2c21abd2a836b Mon Sep 17 00:00:00 2001 From: Aryawart-kathpal Date: Wed, 13 Aug 2025 14:55:38 +0530 Subject: [PATCH 2/4] fix: minor ui fix --- app/[locale]/research/ipr/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/[locale]/research/ipr/page.tsx b/app/[locale]/research/ipr/page.tsx index 45e18984..8ec55a47 100644 --- a/app/[locale]/research/ipr/page.tsx +++ b/app/[locale]/research/ipr/page.tsx @@ -196,7 +196,7 @@ export default async function IPR({ {facultyIncharge.map((faculty, idx) => (
  • Date: Wed, 13 Aug 2025 15:59:36 +0530 Subject: [PATCH 3/4] fix: added cells pages --- app/[locale]/header.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/[locale]/header.tsx b/app/[locale]/header.tsx index 17cbb5e3..e140efb4 100644 --- a/app/[locale]/header.tsx +++ b/app/[locale]/header.tsx @@ -61,6 +61,19 @@ export default async function Header({ locale }: { locale: string }) { description: 'Information about on-campus accommodation and hostel facilities.', }, + // For now IKS and IIC are added as temp units, will change this once a "CELL" design is ready + { + title: 'IKS Cell', + href: '/institute/cells/iks', + description: + 'Explore the minds that work hard to maintain our institute’s high reputation and proper functioning!', + }, + { + title: 'IIC Cell', + href: '/institute/cells/iks', + description: + 'Explore the minds that work hard to maintain our institute’s high reputation and proper functioning!', + }, ], }, { From cccff76a2c8be2a3ff060ed4f297a34834483736 Mon Sep 17 00:00:00 2001 From: Aryawart-kathpal Date: Wed, 13 Aug 2025 20:29:20 +0530 Subject: [PATCH 4/4] fix: iic typo --- app/[locale]/header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/[locale]/header.tsx b/app/[locale]/header.tsx index e140efb4..59b3a740 100644 --- a/app/[locale]/header.tsx +++ b/app/[locale]/header.tsx @@ -70,7 +70,7 @@ export default async function Header({ locale }: { locale: string }) { }, { title: 'IIC Cell', - href: '/institute/cells/iks', + href: '/institute/cells/iic', description: 'Explore the minds that work hard to maintain our institute’s high reputation and proper functioning!', },