Skip to content

Commit ebc0ebc

Browse files
Fix lint issue with modal not having job details
1 parent df15d08 commit ebc0ebc

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

frontend/src/app/jobs/[id]/@modal/default.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@ import JobDetails from "@/components/jobs/details/job-details";
22

33
import { Modal, ScrollArea } from "@mantine/core";
44

5+
const mockJobDetails = {
6+
id:"12345",
7+
title:"Frontend Developer",
8+
company: {
9+
name: "Reserve Bank of Australiaaaaa",
10+
website: "https://techcorp.com",
11+
logo: "https://connect-assets.prosple.com/cdn/ff/LxBzK0I5Jr8vU1WcXce4lf873yPS9Q67rLOugmUXsJI/1568086775/public/styles/scale_and_crop_center_120x120/public/2019-09/Logo-australian-security-intelligence-organisation-asio-120x120-2019.jpg?itok=T1OmQAn3https://connect-assets.prosple.com/cdn/ff/Ayx_liRamnduFSV1FsycoYaBNWIUiZfwkbuzQXDplKU/1568591959/public/styles/scale_and_crop_center_80x80/public/2019-09/Logo-australian-security-intelligence-organisation-asio-120x120-2019.jpg",
12+
},
13+
description: "<h2>Your role</h2>\r\n\r\n<p><strong>Key responsibilities are as follows:</strong></p>\r\n\r\n<ul>\r\n\t<li>Deploy and configure business systems to meet client needs.</li>\r\n\t<li>Perform systems process mapping and conduct needs analysis sessions with clients.</li>\r\n\t<li>Ensure seamless integration with existing infrastructure and processes.</li>\r\n\t<li>Customize system settings to optimize performance and functionality.</li>\r\n\t<li>Ensure compliance with industry standards and best practices.</li>\r\n\t<li>Conduct thorough testing and validation of system implementations.</li>\r\n</ul>\r\n\r\n<h2>About you</h2>\r\n\r\n<p><strong>The ideal candidate will have:</strong></p>\r\n\r\n<ul>\r\n\t<li>A recent third-level qualification in a tech-focused discipline.</li>\r\n\t<li>A base-level understanding of system architecture and design principles.</li>\r\n\t<li>Exposure to database management and data integration techniques is a bonus.</li>\r\n\t<li>A willingness to learn and enthusiasm for digital trends.</li>\r\n</ul>\r\n\r\n<h2>Compensation &amp; benefits</h2>\r\n\r\n<p>Enjoy a competitive salary, free weekly lunches, social events, flexible working options, and modern offices in the CBD.</p>\r\n\r\n<h2>Training &amp; development</h2>\r\n\r\n<p>Benefit from mentoring, coaching, and both internal and external training programs to enhance your career skills.</p>\r\n\r\n<h2>Career progression</h2>\r\n\r\n<p>Opportunities for career advancement as BlueRock Digital continues to grow, with the potential to take on more senior roles.</p>\r\n\r\n<p><a href=\"https://airtable.com/appIhfpXSddESkxG1/pagK6WyrT72pcRfvo/form?prefill_Title=Graduate%20Consultant%20-%20Digital%20Systems&amp;prefill_Original%20Source%20Link=https%3A%2F%2Fapply.workable.com%2Fthe-blue-rock%2Fj%2F983307A690%2F\" rel=\"noopener\" target=\"_blank\">Report this job</a></p>",
14+
type: "Graduate",
15+
locations: ["VIC", "NSW", "TAS", "OTHERS", "QLD"],
16+
studyFields: ["IT & Computer Science", "Engineering & Mathematics"],
17+
workingRights: ["AUS_CITIZEN", "OTHER_RIGHTS"],
18+
applicationUrl: "https://careers.mcdonalds.com.au/",
19+
closeDate: "2025-01-15T00:00:00Z",
20+
createdAt: "2025-01-01T00:00:00Z",
21+
updatedAt: "2025-01-01T00:00:00Z",
22+
};
23+
524
export default function JobModal() {
625
return (
726
<Modal
@@ -11,7 +30,7 @@ export default function JobModal() {
1130
title="Job Details"
1231
scrollAreaComponent={ScrollArea}
1332
>
14-
<JobDetails />
33+
<JobDetails {...mockJobDetails} />
1534
</Modal>
1635
);
1736
}

frontend/tsconfig.tsbuildinfo

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)