Skip to content

Commit 0487dff

Browse files
feat(recruitment): improve recruitment page empty and error states
This commit enhances the user experience on the staff recruitment page by providing clearer feedback in various states. - Implements robust error handling for the initial data fetch. If the data cannot be loaded, a user-friendly "No Current Openings" message is displayed instead of a generic error. - Conditionally renders the "Faculty Positions" and "Staff Positions" sections. These sections, including their descriptions, will now only appear if there are active job listings available. - Refines the logic to correctly identify when no positions are available, even if the department/category arrays are not empty. - Styles the "no openings" messages to be more informational and visually distinct, using secondary text color and an italic font style. Changes to be committed: new file: public/json/faculty/staff_recruitment.json modified: public/json/general/annualreports.json deleted: public/json/general/staff_recruitment.json modified: public/json/navigation/navbar_data.json modified: src/app/staff_recruitment/page.tsx
1 parent 42308ed commit 0487dff

File tree

5 files changed

+284
-340
lines changed

5 files changed

+284
-340
lines changed
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
{
2+
"title": "Faculty and Staff Recruitment",
3+
"description": "IIIT Tiruchirappalli is committed to excellence in education, research, and innovation. We invite applications from highly qualified and motivated individuals to join our growing community of faculty and staff members.",
4+
"lastUpdated": "2025-10-03",
5+
"currentOpenings": {
6+
"faculty": {
7+
"title": "Faculty Positions",
8+
"description": "We are seeking exceptional faculty members across various departments including:",
9+
"departments": [
10+
{
11+
"name": "Computer Science and Engineering",
12+
"positions": [
13+
14+
]
15+
},
16+
{
17+
"name": "Electronics and Communication Engineering",
18+
"positions": [
19+
20+
]
21+
},
22+
{
23+
"name": "Mechanical Engineering",
24+
"positions": [
25+
26+
]
27+
},
28+
{
29+
"name": "Science and Humanities",
30+
"positions": [
31+
32+
]
33+
}
34+
]
35+
},
36+
"staff": {
37+
"title": "Staff Positions",
38+
"description": "We regularly recruit staff for various administrative and technical positions:",
39+
"categories": [
40+
{
41+
"name": "Administrative Staff",
42+
"positions": [
43+
44+
]
45+
},
46+
{
47+
"name": "Technical Staff",
48+
"positions": [
49+
50+
]
51+
},
52+
{
53+
"name": "Library Staff",
54+
"positions": [
55+
56+
]
57+
},
58+
{
59+
"name": "Support Staff",
60+
"positions": [
61+
62+
]
63+
}
64+
]
65+
}
66+
},
67+
"applicationProcess": {
68+
"title": "How to Apply",
69+
"steps": [
70+
{
71+
"step": 1,
72+
"title": "Check Notifications",
73+
"description": "Check the latest recruitment notifications in our Notices section",
74+
"link": "/notices"
75+
},
76+
{
77+
"step": 2,
78+
"title": "Review Requirements",
79+
"description": "Review the eligibility criteria and job requirements carefully"
80+
},
81+
{
82+
"step": 3,
83+
"title": "Prepare Documents",
84+
"description": "Prepare all required documents as mentioned in the notification"
85+
},
86+
{
87+
"step": 4,
88+
"title": "Submit Application",
89+
"description": "Submit your application through the specified mode (online/offline)"
90+
},
91+
{
92+
"step": 5,
93+
"title": "Follow Selection Process",
94+
"description": "Follow up on the selection process as outlined in the notification"
95+
}
96+
],
97+
"requiredDocuments": [
98+
"Updated CV/Resume",
99+
"Educational certificates and mark sheets",
100+
"Experience certificates",
101+
"Research publications (for faculty positions)",
102+
"No Objection Certificate (if employed)",
103+
"Passport size photographs",
104+
"Identity proof (Aadhar/PAN/Passport)",
105+
"Caste certificate (if applicable)",
106+
"Medical fitness certificate"
107+
]
108+
},
109+
"contact": {
110+
"title": "Contact Information",
111+
"recruitment": {
112+
"title": "For Recruitment Queries",
113+
"office": "Registrar Office",
114+
"address": {
115+
"line1": "Indian Institute of Information Technology Tiruchirappalli",
116+
"line2": "National Institute of Technology Campus",
117+
"line3": "Tiruchirappalli - 620015",
118+
"line4": "Tamil Nadu, India"
119+
},
120+
"email": "registrar@iiitt.ac.in",
121+
"phone": "+91-431-2503116",
122+
"website": "https://www.iiitt.ac.in"
123+
},
124+
"hr": {
125+
"title": "HR Department",
126+
"email": "hr@iiitt.ac.in",
127+
"phone": "+91-431-2503117"
128+
}
129+
},
130+
"importantLinks": [
131+
{
132+
"title": "Official Notifications",
133+
"link": "/notices",
134+
"description": "Latest recruitment notifications and updates"
135+
},
136+
{
137+
"title": "Contact Us",
138+
"link": "/contactus",
139+
"description": "Complete contact information"
140+
}
141+
]
142+
}

public/json/general/annualreports.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
[
2+
{
3+
"title": "Annual Accounts 2016-17",
4+
"url": "Annual_Report_2025/1. Annual Accounts 2016-17.pdf"
5+
},
6+
{
7+
"title": "Annual Accounts 2017-18",
8+
"url": "Annual_Report_2025/2. Annual Accounts 2017-18.pdf"
9+
},
10+
{
11+
"title": "Annual Accounts 2018-19",
12+
"url": "Annual_Report_2025/3. Annual Accounts 2018-19.pdf"
13+
}, {
14+
"title": "Annual Accounts 2019-20",
15+
"url": "Annual_Report_2025/4. Annual Accounts 2019-20.pdf"
16+
}, {
17+
"title": "Annual Accounts 2020-21",
18+
"url": "Annual_Report_2025/5. Annual Accounts 2020-21.pdf"
19+
},
20+
{
21+
"title": "Annual Report 2021-22",
22+
"url": "Annual_Report_2025/6. Annual Accounts 2021-22.pdf"
23+
},
224
{
325
"title": "Annual Report 2023-24",
426
"url": "Annual_Report_2025/Annual Report & Accounts 2023-24.pdf"

0 commit comments

Comments
 (0)