Skip to content

Commit

Permalink
Merge pull request #569 from ThunderShadows/job_update
Browse files Browse the repository at this point in the history
Updated Job Description
  • Loading branch information
aditya-bhaumik authored Oct 12, 2024
2 parents d0b940c + 1fea795 commit 64cf0df
Show file tree
Hide file tree
Showing 14 changed files with 162 additions and 57 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
Binary file added pages/jobs/job_images/data_science.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/design.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/download (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/fullstack.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/innovation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/manage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/market.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/product.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pages/jobs/job_images/secure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 68 additions & 1 deletion pages/jobs/jobs.css
Original file line number Diff line number Diff line change
Expand Up @@ -379,4 +379,71 @@ body {
}
.scroll-top:hover .fa-arrow-up {
transform: translateY(-4px);
}
}
/* Job Item Styling */
.job-item {
display: flex;
flex-direction: column;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card {
display: flex;
flex-direction: column;
padding: 16px;
}

.card-header {
text-align: center;
margin-bottom: 10px;
}

.company-logo {
width: 100%;
height: 80px;
object-fit: contain;
margin-bottom: 15px;
}

.card-body {
padding: 10px 0;
}

.location {
display: block;
margin-bottom: 10px;
font-size: 14px;
color: #666;
}

.apply-btn {
display: flex;
justify-content: center;
margin-top: 20px;
}

.apply-btn button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 4px;
}

.apply-btn button:hover {
background-color: #45a049;
}

/* Salary and Tools Styling */
.card-body p {
margin: 5px 0;
font-size: 14px;
}

.card-body p strong {
font-weight: bold;
}
36 changes: 19 additions & 17 deletions pages/jobs/jobs.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- <base href="/Pathsphere/"> -->
<!-- uncomment above line if deploying to github pages -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Jobs</title>
<!-- Added a favicon -->
<link rel="icon" type="image/x-icon" href="/images/pathsphere.png">
<link rel="stylesheet" href="./jobs.css" />
<!-- <<<<<<< enhanceFAQ -->
<!-- <style>
Removed css code from here and created a new file jobs.css
</style> -->

<!-- >>>>>>> main -->
<!-- Font Awesome for icons -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
</head>
<body>
<main>
Expand All @@ -29,32 +25,38 @@ <h1>Jobs</h1>
<input type="text" id="search-input" placeholder="Search jobs..." />
<button id="search-button">Search</button>
</div>

<div class="job-listings">
<h2>Job Listings</h2>
<div id="jobs" class="main">
<!-- Cards will be generated here by JavaScript -->
</div>
</div>
<a class="scroll-top" href="#"> <i class="fa-solid fa-arrow-up"></i> </a>

<a class="scroll-top" href="#">
<i class="fa-solid fa-arrow-up"></i>
</a>
</main>

<script src="/scripts/componentLoader.js"></script>
<script>
prependComponent('Navbar');
prependComponent('Cursor');
appendComponent('Footer');
</script>

<script src="./jobs.js"></script>
<script>
window.embeddedChatbotConfig = {
chatbotId: "7akUzokCgwR0gNp0m-qQF",
domain: "www.chatbase.co"
}
</script>
<script
chatbotId: "7akUzokCgwR0gNp0m-qQF",
domain: "www.chatbase.co",
};
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="7akUzokCgwR0gNp0m-qQF"
domain="www.chatbase.co"
defer>
</script>
defer
></script>
</body>
</html>
111 changes: 72 additions & 39 deletions pages/jobs/jobs.js
Original file line number Diff line number Diff line change
@@ -1,78 +1,107 @@
const jobListings = [
{
id: 1,
title: "Software Engineer",
company: "Tech Corp",
location: "New York, USA",
description: "Develop and maintain web applications using modern frameworks.",
id: 1,
title: "Software Engineer",
company: "Tech Corp",
location: "New York, USA",
description: "Develop and maintain web applications using modern frameworks.",
salary: "$90K - $120K",
tools: ["JavaScript", "React", "Node.js"],
logo: "./job_images/manage.png",
},
{
id: 2,
title: "Data Scientist",
company: "DataSolutions",
location: "San Francisco, USA",
description: "Analyze large datasets to extract insights and support decision-making.",
id: 2,
title: "Data Scientist",
company: "DataSolutions",
location: "San Francisco, USA",
description: "Analyze large datasets to extract insights and support decision-making.",
salary: "$110K - $150K",
tools: ["Python", "R", "TensorFlow"],
logo: "./job_images/data_science.jpeg", // updated path
},
{
id: 3,
title: "UI/UX Designer",
company: "Creative Minds",
location: "London, UK",
description: "Design intuitive and responsive interfaces for web and mobile applications.",
id: 3,
title: "UI/UX Designer",
company: "Creative Minds",
location: "London, UK",
description: "Design intuitive and responsive interfaces for web and mobile applications.",
salary: "$70K - $100K",
tools: ["Sketch", "Figma", "Adobe XD"],
logo: "./job_images/design.jpg",
},
{
id: 4,
title: "Project Manager",
company: "Business Solutions",
location: "Toronto, Canada",
description: "Oversee project execution and ensure timely delivery within scope and budget.",
id: 4,
title: "Project Manager",
company: "Business Solutions",
location: "Toronto, Canada",
description: "Oversee project execution and ensure timely delivery within scope and budget.",
salary: "$100K - $130K",
tools: ["Jira", "Asana", "Trello"],
logo: "./job_images/innovation.png",
},
{
id: 5,
title: "DevOps Engineer",
company: "CloudTech",
location: "Berlin, Germany",
description: "Implement CI/CD pipelines, automate infrastructure, and manage cloud services.",
id: 5,
title: "DevOps Engineer",
company: "CloudTech",
location: "Berlin, Germany",
description: "Implement CI/CD pipelines, automate infrastructure, and manage cloud services.",
salary: "$95K - $140K",
tools: ["Docker", "Kubernetes", "AWS"],
logo: "./job_images/download.png",
},
{
id: 6,
title: "Cybersecurity Analyst",
company: "SecureWorks",
location: "Sydney, Australia",
description: "Monitor and analyze security systems to prevent data breaches and cyberattacks.",
salary: "$105K - $160K",
tools: ["Network Security", "Penetration Testing", "Firewalls", "Encryption", "Azure"],
logo: "./job_images/secure.png",
},
{
id: 7,
title: "Full-Stack Developer",
company: "InnoTech",
location: "Paris, France",
description: "Build end-to-end solutions, from front-end to back-end, for enterprise applications.",
salary: "$100K - $150K",
tools: ["HTML", "CSS", "JavaScript", "React", "Node.js", "MongoDB"],
logo: "./job_images/fullstack.jpeg",
},
{
id: 8,
title: "Marketing Specialist",
company: "Brandify",
location: "Dubai, UAE",
description: "Develop and execute marketing campaigns to enhance brand visibility and engagement.",
salary: "$70K - $110K",
tools: ["SEO", "Google Analytics", "Social Media", "Content Marketing", "Brand Strategy"],
logo: "./job_images/market.png",
},
{
id: 9,
title: "Blockchain Developer",
company: "Crypto Solutions",
location: "Singapore",
description: "Design, implement, and maintain blockchain technologies and decentralized apps.",
salary: "$120K - $180K",
tools: ["Ethereum", "Solidity", "Smart Contracts", "DeFi", "Cryptography"],
logo: "./job_images/download (2).png",
},
{
id: 10,
title: "Product Manager",
company: "NextGen",
location: "Austin, USA",
description: "Drive the product development lifecycle from ideation to market launch.",
salary: "$130K - $200K",
tools: ["Agile", "Scrum", "JIRA", "Stakeholder Management", "Product Roadmap"],
logo: "./job_images/product.png",
},
// Add more job listings as needed
];


const searchInput = document.getElementById('search-input');
const searchButton = document.getElementById('search-button');
const jobsContainer = document.getElementById('jobs');
Expand Down Expand Up @@ -118,19 +147,23 @@ function generateJobCards() {
.map(
(job) => `
<div class="job-item">
<div class="card">
<div class="card-body">
<h5>${job.title}</h5>
<h6>${job.company}</h6>
<p>${job.description}</p>
</div>
<div class="apply-btn">
<span class="location">${job.location}</span>
<button>Apply Now</button>
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<img src="${job.logo}" alt="${job.company} Logo" class="company-logo">
</div>
<div class="card-body">
<h5>${job.title}</h5>
<h6>${job.company}</h6>
<span class="location">${job.location}</span>
<p>${job.description}</p>
<p><strong>Salary:</strong> ${job.salary}</p>
<p><strong>Required Tools:</strong> ${job.tools.join(", ")}</p>
</div>
<div class="apply-btn">
<button>Apply Now</button>
</div>
</div>
</div>
`
)
.join("");
Expand Down

0 comments on commit 64cf0df

Please sign in to comment.