34148-vm/careers.php
2025-09-17 13:33:19 +00:00

166 lines
7.4 KiB
PHP

<?php
// Job listings data
$jobs = [
[
'id' => 1,
'title' => 'Senior Product Manager',
'department' => 'Product',
'location' => 'Remote',
'type' => 'Full-time'
],
[
'id' => 2,
'title' => 'Lead Software Engineer (Backend)',
'department' => 'Engineering',
'location' => 'New York, NY',
'type' => 'Full-time'
],
[
'id' => 3,
'title' => 'UX/UI Designer',
'department' => 'Design',
'location' => 'Remote',
'type' => 'Contract'
],
[
'id' => 4,
'title' => 'Marketing Manager',
'department' => 'Marketing',
'location' => 'San Francisco, CA',
'type' => 'Full-time'
],
];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Careers - HR Platform</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
<meta name="description" content="Find your next career opportunity with us. Browse open positions and apply today.">
<meta name="robots" content="index, follow">
</head>
<body>
<!-- Header -->
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand" href="index.php">HR Platform</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="careers.php">Open Positions</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Hero Section -->
<header class="hero-section">
<div class="container">
<h1>Find Your Next Opportunity</h1>
<p class="lead mb-4">Join our team and help us build the future of work.</p>
<div class="col-md-8 mx-auto">
<div class="text-center">
<button id="search-toggle-btn" class="btn btn-primary btn-lg" type="button">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>
Search Job Listings
</button>
</div>
<form id="job-search-form" class="d-none mt-4 p-4 border rounded bg-light">
<div class="row g-3">
<div class="col-md-5">
<label for="job-title" class="form-label">Job title</label>
<input type="text" class="form-control" id="job-title" placeholder="e.g., Product Manager">
</div>
<div class="col-md-4">
<label for="work-format" class="form-label">Work format</label>
<select id="work-format" class="form-select">
<option selected>Choose...</option>
<option>Full-time</option>
<option>Contract</option>
<option>Part-time</option>
</select>
</div>
<div class="col-md-3">
<label for="location" class="form-label">Location</label>
<input type="text" class="form-control" id="location" placeholder="e.g., New York">
</div>
</div>
<div class="text-center mt-4">
<button type="submit" class="btn btn-primary">Find Jobs</button>
</div>
</form>
</div>
</div>
</header>
<!-- Job Listings -->
<main class="job-listings">
<div class="container">
<h2 class="text-center mb-5">Current Openings</h2>
<div class="row">
<?php foreach ($jobs as $job): ?>
<div class="col-md-6 col-lg-4">
<div class="job-card">
<h5><?php echo htmlspecialchars($job['title']); ?></h5>
<p class="mb-2 text-muted">
<?php echo htmlspecialchars($job['department']); ?> &middot; <?php echo htmlspecialchars($job['location']); ?>
</p>
<span class="badge bg-light text-dark border"><?php echo htmlspecialchars($job['type']); ?></span>
<a href="job-details.php?id=<?php echo $job['id']; ?>" class="btn btn-primary mt-3 stretched-link">View Details</a>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
</main>
<!-- Why Join Us & Benefits Sections -->
<section class="container my-5">
<div class="row align-items-center">
<div class="col-md-6">
<img src="https://picsum.photos/seed/smiling-team/800/600" class="img-fluid rounded" alt="A smiling and relaxed team in a casual work environment.">
</div>
<div class="col-md-6">
<h3>Why Join Us?</h3>
<p>We are a passionate team dedicated to creating a better work environment for everyone. We value collaboration, innovation, and a people-first culture. Join us to make a real impact.</p>
</div>
</div>
</section>
<section class="container my-5">
<div class="row align-items-center flex-row-reverse">
<div class="col-md-6">
<img src="https://picsum.photos/seed/office-perks/800/600" class="img-fluid rounded" alt="A person writing on a whiteboard during a brainstorming session.">
</div>
<div class="col-md-6">
<h3>Our Benefits</h3>
<p>We offer competitive salaries, comprehensive health benefits, flexible work hours, and a generous vacation policy. We believe in investing in our employees' well-being and professional growth.</p>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<p>&copy; <?php echo date('Y'); ?> HR Platform. All Rights Reserved.</p>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>