163 lines
7.2 KiB
PHP
163 lines
7.2 KiB
PHP
<?php
|
||
// Disable caching
|
||
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
|
||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||
header("Pragma: no-cache");
|
||
header("Expires: 0");
|
||
|
||
// Job listings data
|
||
$jobs = [
|
||
[
|
||
'id' => 1,
|
||
'title' => 'Senior Frontend Developer – Space Data Platform Engineering',
|
||
'department' => 'Engineering',
|
||
'location' => 'Remote',
|
||
'type' => 'Full-time'
|
||
],
|
||
[
|
||
'id' => 2,
|
||
'title' => 'Product Manager – Orbital Systems & Services Product',
|
||
'department' => 'Product',
|
||
'location' => 'New York, NY',
|
||
'type' => 'Full-time'
|
||
],
|
||
[
|
||
'id' => 3,
|
||
'title' => 'UI/UX Designer – Mission-Control Interfaces Design',
|
||
'department' => 'Design',
|
||
'location' => 'Remote',
|
||
'type' => 'Contract'
|
||
],
|
||
];
|
||
?>
|
||
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Careers - CosmicHire</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">CosmicHire</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="d-grid">
|
||
<button class="btn btn-primary btn-lg" type="button" id="toggle-search-form">Search Jobs</button>
|
||
</div>
|
||
<form id="job-search-form" class="mt-4" style="display: none;">
|
||
<div class="row g-3">
|
||
<div class="col-md-5">
|
||
<input type="text" class="form-control" placeholder="Job title">
|
||
</div>
|
||
<div class="col-md-4">
|
||
<input type="text" class="form-control" placeholder="Location">
|
||
</div>
|
||
<div class="col-md-3">
|
||
<select class="form-select">
|
||
<option selected>All</option>
|
||
<option value="full-time">Full-time</option>
|
||
<option value="part-time">Part-time</option>
|
||
<option value="contract">Contract</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
<div class="d-grid mt-3">
|
||
<button class="btn btn-secondary" type="submit">Find Jobs</button>
|
||
<button class="btn btn-outline-secondary mt-2" type="button" id="reset-search">Reset</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']); ?> · <?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 id="no-results" class="text-center" style="display: none;">
|
||
<p class="lead">No jobs found matching your criteria.</p>
|
||
</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/milky-way-person/800/600" class="img-fluid rounded" alt="A person standing in front of the Milky Way, representing the vast opportunities at our company.">
|
||
</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>© <?php echo date('Y'); ?> CosmicHire. 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>
|