Spaces:
Running

test-1 / index.html
Rory0115's picture
can you remove all the tesco jobs - Follow Up Deployment
7c2fe3b verified
Raw History Blame Contribute Delete
28.8 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Internal Job Board | Company Name</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
}
.job-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.filter-btn.active {
background-color: #3b82f6;
color: white;
}
.apply-btn {
transition: all 0.3s ease;
}
.apply-btn:hover {
background-color: #2563eb;
transform: scale(1.05);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
}
}
</style>
</head>
<body class="bg-gray-50">
<!-- Header/Navigation -->
<header class="bg-white shadow-sm">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center">
<div class="w-12 h-12 bg-blue-600 rounded-full flex items-center justify-center text-white font-bold text-xl mr-3">
<i class="fas fa-briefcase"></i>
</div>
<h1 class="text-2xl font-bold text-gray-800">Hot Jobs</h1>
</div>
<div class="flex items-center space-x-4">
<a href="#" class="text-gray-600 hover:text-blue-600"><i class="fas fa-bell"></i></a>
<div class="flex items-center space-x-2">
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center text-blue-600">
<i class="fas fa-user"></i>
</div>
<span class="text-gray-700 hidden md:inline">WHP EMC</span>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="bg-gradient-to-r from-blue-600 to-blue-800 text-white py-12">
<div class="container mx-auto px-4 text-center">
<h2 class="text-4xl font-bold mb-4">Find your new career!</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto">Explore job oppurtunities with our direct contacts or links provided.</p>
<div class="relative max-w-xl mx-auto">
<input type="text" placeholder="Search for jobs..." class="w-full py-3 px-5 rounded-lg focus:outline-none text-gray-800">
<button class="absolute right-2 top-2 bg-blue-500 text-white px-4 py-1 rounded-md hover:bg-blue-600"><i class="fas fa-search"></i></button>
</div>
</div>
</section>
<!-- Filter Section -->
<section class="bg-white py-6 shadow-sm">
<div class="container mx-auto px-4">
<div class="flex flex-wrap items-center justify-between gap-4">
<div>
<h3 class="text-lg font-semibold text-gray-700">Job Filters</h3>
</div>
<div class="flex flex-wrap gap-2">
<button class="filter-btn px-4 py-2 rounded-full border border-gray-300 hover:bg-blue-50 active" data-filter="all">All Jobs</button>
<button class="filter-btn px-4 py-2 rounded-full border border-gray-300 hover:bg-blue-50" data-filter="warehouse">Warehouse</button>
<button class="filter-btn px-4 py-2 rounded-full border border-gray-300 hover:bg-blue-50" data-filter="cleaning">Cleaning</button>
<button class="filter-btn px-4 py-2 rounded-full border border-gray-300 hover:bg-blue-50" data-filter="driving">Driving</button>
<button class="filter-btn px-4 py-2 rounded-full border border-gray-300 hover:bg-blue-50" data-filter="customer service">Customer Service</button>
<button class="filter-btn px-4 py-2 rounded-full border border-gray-300 hover:bg-blue-50" data-filter="admin">Admin</button>
<button class="filter-btn px-4 py-2 rounded-full border border-gray-300 hover:bg-blue-50" data-filter="hospitality">Hospitality</button>
</div>
</div>
</div>
</section>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Featured Job -->
<div class="mb-12 relative rounded-xl overflow-hidden bg-gradient-to-r from-indigo-500 to-blue-600 text-white p-8 pulse">
<div class="absolute right-4 top-4 bg-yellow-400 text-gray-900 px-3 py-1 rounded-full text-xs font-bold">FEATURED</div>
<div class="max-w-3xl">
<h3 class="text-2xl font-bold mb-2">Production Operative</h3>
<div class="flex flex-wrap gap-4 mb-4">
<div class="flex items-center"><i class="fas fa-map-marker-alt mr-2"></i> Nottingham, NG2 3DQ</div>
<div class="flex items-center"><i class="fas fa-suitcase mr-2"></i> Warehouse</div>
<div class="flex items-center"><i class="fas fa-money-bill-wave mr-2"></i> £11.50 - £12.50 per hour</div>
</div>
<p class="mb-6">Excellent opportunity to join this expanding company in the Notts area with great benefits, full training and an immediate start!</p>
<a href="https://www.thornbaker.co.uk/job/production-operative-231?utm_campaign=google_jobs_apply&utm_source=google_jobs_apply&utm_medium=organic" target="_blank" class="apply-btn bg-white text-blue-600 font-semibold px-6 py-2 rounded-lg inline-block">Apply Now</a>
</div>
</div>
<!-- Jobs Grid -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="jobs-container">
<!-- Job cards will be added here by JavaScript -->
</div>
<!-- Saved Jobs Modal -->
<div id="saved-jobs-modal" class="hidden fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50">
<div class="bg-white rounded-lg w-11/12 md:w-2/3 lg:w-1/2 max-h-[80vh] overflow-y-auto">
<div class="p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="text-2xl font-bold">Your Saved Jobs</h3>
<button id="close-modal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<div id="saved-jobs-list" class="space-y-4">
<!-- Saved jobs will be added here -->
<p class="text-gray-500 text-center py-4">You haven't saved any jobs yet.</p>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div>
<h3 class="text-xl font-bold mb-4"> Hot Jobs!</h3>
<p class="text-gray-400">Helping our participants grow and develop their careers.</p>
</div>
<div>
<h3 class="text-xl font-bold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Career Development</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Training Programs</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Internal Mobility Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">FAQs</a></li>
</ul>
</div>
<div>
<h3 class="text-xl font-bold mb-4">Contact us.</h3>
<p class="text-gray-400 mb-2"><i class="fas fa-envelope mr-2"></i> rory.mcnelis@emc-dnl.co.uk</p>
<p class="text-gray-400"><i class="fas fa-phone mr-2"></i> ( 0333 320 0333 )</p>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400">
<p>&copy; WHP.</p>
</div>
</div>
</footer>
<!-- Floating Action Button -->
<div class="fixed bottom-6 right-6">
<button id="saved-jobs-btn" class="w-14 h-14 bg-blue-600 rounded-full text-white flex items-center justify-center shadow-lg hover:bg-blue-700">
<i class="fas fa-bookmark text-xl"></i>
<span id="saved-count" class="absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full w-5 h-5 flex items-center justify-center hidden">0</span>
</button>
</div>
<script>
// Job data
const jobs = [
// Retail Jobs
{
id: 1,
title: "Iceland - Various Locations",
department: "Retail",
location: "Riverside, Clifton, Arnold, Long Eaton, Ilkeston",
salary: "Competitive hourly rate",
type: "Various",
description: "Multiple positions available at Iceland stores. Apply for your nearest location.",
isNew: true,
applyUrl: "https://jobs.icelandcareers.co.uk/Search.aspx"
},
{
id: 4,
title: "Heron Foods - St Anns",
department: "Retail",
location: "Nottingham",
salary: "Competitive hourly rate",
type: "Part-time",
description: "Join our retail team at Heron Foods St Anns location.",
isNew: true,
applyUrl: "https://careers.heronfoods.com/id/1ddc59d6-981d-4954-b5b0-02768cd77d72"
},
{
id: 5,
title: "Heron Foods - NG8",
department: "Retail",
location: "Nottingham",
salary: "Competitive hourly rate",
type: "Part-time",
description: "Join our retail team at Heron Foods NG8 location.",
isNew: true,
applyUrl: "https://careers.heronfoods.com/id/227670cc-adeb-4882-99d0-4e7f1ca296e3"
},
// Cleaning Jobs
{
id: 6,
title: "Iceland Cleaner",
department: "Cleaning",
location: "Lady Bay retail park",
salary: "Competitive hourly rate",
type: "Part-time",
description: "Cleaning position at Iceland Lady Bay.",
isNew: true,
applyUrl: "https://jobs.icelandcareers.co.uk/VacancyInformation.aspx?VId=202283"
},
// Customer Service Jobs
{
id: 7,
title: "Domestic and General - Customer Sales Advisor",
department: "Customer Service",
location: "NG1",
salary: "Competitive salary",
type: "Full-time",
description: "Outbound customer sales role. Posted: 5th June, Start date: 14 July 2025.",
isNew: true,
applyUrl: "https://careers.domesticandgeneral.com/job/customer-sales-advisor-outbound-jr100019/"
},
{
id: 8,
title: "Boots Customer Service Advisor",
department: "Customer Service",
location: "NG90",
salary: "Competitive salary",
type: "Full-time",
description: "Customer service position at Boots Support Office.",
isNew: true,
applyUrl: "https://www.boots.jobs/jobs/254985br-customer-service-advisor-nottingham-support-office"
},
{
id: 9,
title: "Hillarys Customer Service Associate",
department: "Customer Service",
location: "NG4",
salary: "Competitive salary",
type: "Full-time",
description: "Customer service role at Hillarys.",
isNew: true,
applyUrl: "https://careers.hillarys.co.uk/job/customer-service-associate/"
},
{
id: 10,
title: "VF Customer Care Advisor",
department: "Customer Service",
location: "NG2",
salary: "Competitive salary",
type: "Fixed-term",
description: "Customer care position at VF, Experian Way.",
isNew: true,
applyUrl: "https://vfc.wd5.myworkdayjobs.com/en-US/vfc_careers/job/EMEA--GBR--Nottingham--Experian-Way/Customer-Care-Advisor---Fixed-Term_R-20250328-0022-1?Location_Country=29247e57dbaf46fb855b224e03170bc7"
},
{
id: 11,
title: "Specsavers Customer Service Specialist",
department: "Customer Service",
location: "Nottingham",
salary: "Competitive salary",
type: "Full-time",
description: "Customer service role at Specsavers.",
isNew: true,
applyUrl: "https://join.specsavers.com/uk/job/customer-service-specialist-in-nottingham-east-midlands-united-kingdom-jid-4624"
},
// Admin Jobs
{
id: 12,
title: "Apprentice School Office Administrator",
department: "Admin",
location: "NG3 6ET",
salary: "Apprentice wage",
type: "Apprenticeship",
description: "Administrator role at Westdale Infant School. Deadline: 25/06/2025.",
isNew: true,
applyUrl: "https://earlycareers.co.uk/job/apprentice-school-office-administrator-westdale-infant-school-mapperley-nottingham-ng3-6et/"
},
{
id: 13,
title: "Secretarial Administrator",
department: "Admin",
location: "NG1 3BN",
salary: "Competitive salary",
type: "Full-time",
description: "Administrator position. Send CV to info@attenborough.com.",
isNew: true
},
{
id: 14,
title: "Boots Technical Administrator",
department: "Admin",
location: "NG90",
salary: "Competitive salary",
type: "Full-time",
description: "Technical administrator role at Boots Support Office.",
isNew: true,
applyUrl: "https://www.boots.jobs/jobs/251939BR"
},
{
id: 15,
title: "Housing Administrator",
department: "Admin",
location: "NG9 1LA",
salary: "Competitive salary",
type: "Full-time",
description: "Administrator role in housing sector.",
isNew: true,
applyUrl: "https://www.cv-library.co.uk/job/223586355/Housing-Administrator"
},
// Entry Level Sales
{
id: 16,
title: "Entry Level Sales Assistant",
department: "Sales",
location: "Nottingham",
salary: "Competitive salary",
type: "Full-time",
description: "Entry level sales position.",
isNew: true,
applyUrl: "https://www.caterer.com/job/entry-level-sales-assistant/blackwater-recruitment-ltd-job104950116"
},
// Driving Jobs
{
id: 17,
title: "Iceland Driver",
department: "Driving",
location: "Arnold and Eastwood",
salary: "Competitive salary",
type: "Full-time",
description: "Driving position for Iceland stores.",
isNew: true,
applyUrl: "https://jobs.icelandcareers.co.uk/Search.aspx"
},
// Support Work
{
id: 18,
title: "Children's Residential Support Worker",
department: "Support Work",
location: "NG3",
salary: "Competitive salary",
type: "Full-time",
description: "Support work with children.",
isNew: true,
applyUrl: "https://www.totaljobs.com/job/childrens-residential-support-worker/jm-workforce-services-ltd-job105072873"
},
{
id: 19,
title: "Support Worker - Young People",
department: "Support Work",
location: "NG3",
salary: "Competitive salary",
type: "Full-time",
description: "Support work with young people.",
isNew: true,
applyUrl: "https://www.cv-library.co.uk/job/222902824/Support-Worker-Young-People"
},
{
id: 20,
title: "Mental Health Support Worker",
department: "Support Work",
location: "NG3",
salary: "Competitive salary",
type: "Full-time",
description: "Support work in mental health field.",
isNew: true,
applyUrl: "https://www.cv-library.co.uk/job/223551637/Mental-Health-Support-Worker"
},
// Childcare
{
id: 21,
title: "Kids Planet - Early Years Educator",
department: "Childcare",
location: "NG4",
salary: "Competitive hourly rate",
type: "Lunch Cover",
description: "Early years educator position at Kids Planet.",
isNew: true,
applyUrl: "https://jobs.dayforcehcm.com/en-GB/kpdn/ClientCareersSiteIndeedExcluded/jobs/10953"
}
];
// DOM elements
const jobsContainer = document.getElementById('jobs-container');
const filterButtons = document.querySelectorAll('.filter-btn');
const savedJobsBtn = document.getElementById('saved-jobs-btn');
const savedJobsModal = document.getElementById('saved-jobs-modal');
const closeModalBtn = document.getElementById('close-modal');
const savedJobsList = document.getElementById('saved-jobs-list');
const savedCount = document.getElementById('saved-count');
// Initialize saved jobs array
let savedJobs = JSON.parse(localStorage.getItem('savedJobs')) || [];
// Display initial jobs
displayJobs(jobs);
// Filter jobs by department
filterButtons.forEach(button => {
button.addEventListener('click', () => {
filterButtons.forEach(btn => btn.classList.remove('active'));
button.classList.add('active');
const filter = button.dataset.filter;
if (filter === 'all') {
displayJobs(jobs);
} else {
const filteredJobs = jobs.filter(job =>
job.department.toLowerCase() === filter.toLowerCase()
);
displayJobs(filteredJobs);
}
});
});
// Display jobs in the grid
function displayJobs(jobsToDisplay) {
jobsContainer.innerHTML = '';
jobsToDisplay.forEach(job => {
const isSaved = savedJobs.includes(job.id);
const jobCard = document.createElement('div');
jobCard.className = `job-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300 border border-gray-100 hover:border-blue-200`;
jobCard.innerHTML = `
<div class="p-6">
<div class="flex justify-between items-start mb-2">
<h3 class="text-xl font-bold text-gray-800">${job.title}</h3>
<button class="save-btn ${isSaved ? 'text-blue-500' : 'text-gray-400'} hover:text-blue-500" data-id="${job.id}">
<i class="${isSaved ? 'fas' : 'far'} fa-bookmark"></i>
</button>
</div>
<div class="flex flex-wrap gap-x-4 gap-y-2 mb-4 text-sm text-gray-600">
<span class="flex items-center"><i class="fas fa-map-marker-alt mr-2"></i>${job.location}</span>
<span class="flex items-center"><i class="fas fa-suitcase mr-2"></i>${job.department}</span>
<span class="flex items-center"><i class="fas fa-money-bill-wave mr-2"></i>${job.salary}</span>
</div>
<p class="text-gray-700 mb-6 line-clamp-3">${job.description}</p>
<div class="flex justify-between items-center">
<span class="text-xs font-medium ${job.isNew ? 'bg-green-100 text-green-800' : 'bg-gray-100 text-gray-800'} px-3 py-1 rounded-full">
${job.isNew ? 'NEW' : job.type}
</span>
<a href="${job.applyUrl || '#'}" ${job.applyUrl ? 'target="_blank"' : ''} class="apply-btn ${job.applyUrl ? 'cursor-pointer' : 'cursor-not-allowed'} bg-blue-500 text-white px-4 py-2 rounded-md hover:bg-blue-600">
${job.applyUrl ? 'Apply Now' : 'View Details'}
</a>
</div>
</div>
`;
jobsContainer.appendChild(jobCard);
});
// Add event listeners to new save buttons
document.querySelectorAll('.save-btn').forEach(btn => {
btn.addEventListener('click', (e) => {
const jobId = parseInt(btn.dataset.id);
toggleSaveJob(jobId, btn);
});
});
}
// Toggle job save status
function toggleSaveJob(jobId, button) {
const index = savedJobs.indexOf(jobId);
if (index === -1) {
// Save job
savedJobs.push(jobId);
button.innerHTML = '<i class="fas fa-bookmark"></i>';
button.classList.remove('text-gray-400');
button.classList.add('text-blue-500');
} else {
// Unsave job
savedJobs.splice(index, 1);
button.innerHTML = '<i class="far fa-bookmark"></i>';
button.classList.remove('text-blue-500');
button.classList.add('text-gray-400');
}
// Update localStorage
localStorage.setItem('savedJobs', JSON.stringify(savedJobs));
// Update saved jobs count
updateSavedCount();
}
// Update saved jobs counter
function updateSavedCount() {
const count = savedJobs.length;
if (count > 0) {
savedCount.textContent = count;
savedCount.classList.remove('hidden');
} else {
savedCount.classList.add('hidden');
}
}
// Show saved jobs modal
savedJobsBtn.addEventListener('click', () => {
savedJobsModal.classList.remove('hidden');
displaySavedJobs();
});
// Close modal
closeModalBtn.addEventListener('click', () => {
savedJobsModal.classList.add('hidden');
});
// Close modal when clicking outside
savedJobsModal.addEventListener('click', (e) => {
if (e.target === savedJobsModal) {
savedJobsModal.classList.add('hidden');
}
});
// Display saved jobs in modal
function displaySavedJobs() {
savedJobsList.innerHTML = '';
if (savedJobs.length === 0) {
savedJobsList.innerHTML = '<p class="text-gray-500 text-center py-4">You haven\'t saved any jobs yet.</p>';
return;
}
savedJobs.forEach(savedJobId => {
const job = jobs.find(j => j.id === savedJobId);
if (job) {
const savedJobElement = document.createElement('div');
savedJobElement.className = 'bg-gray-50 p-4 rounded-lg border border-gray-200';
savedJobElement.innerHTML = `
<div class="flex justify-between">
<h4 class="font-semibold text-gray-800">${job.title}</h4>
<button class="remove-btn text-red-500 hover:text-red-700" data-id="${job.id}">
<i class="fas fa-times"></i>
</button>
</div>
<div class="flex flex-wrap gap-x-4 gap-y-1 my-2 text-xs text-gray-600">
<span class="flex items-center"><i class="fas fa-map-marker-alt mr-2"></i>${job.location}</span>
<span class="flex items-center"><i class="fas fa-suitcase mr-2"></i>${job.department}</span>
</div>
<div class="flex justify-between items-center mt-3">
<span class="text-sm font-medium">${job.salary}</span>
<button class="text-blue-500 text-sm font-medium hover:text-blue-700">Apply Now</button>
</div>
`;
savedJobsList.appendChild(savedJobElement);
}
});
// Add event listeners to remove buttons
document.querySelectorAll('.remove-btn').forEach(btn => {
btn.addEventListener('click', (e) => {
e.stopPropagation();
const jobId = parseInt(btn.dataset.id);
removeSavedJob(jobId);
});
});
}
// Remove saved job
function removeSavedJob(jobId) {
const index = savedJobs.indexOf(jobId);
if (index !== -1) {
savedJobs.splice(index, 1);
localStorage.setItem('savedJobs', JSON.stringify(savedJobs));
displaySavedJobs();
updateSavedCount();
// Update the save button in the main grid
const saveBtn = document.querySelector(`.save-btn[data-id="${jobId}"]`);
if (saveBtn) {
saveBtn.innerHTML = '<i class="far fa-bookmark"></i>';
saveBtn.classList.remove('text-blue-500');
saveBtn.classList.add('text-gray-400');
}
}
}
// Initialize saved jobs count
updateSavedCount();
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Rory0115/test-1" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>