Auto commit: 2025-09-17T12:59:18.702Z
This commit is contained in:
parent
162269ac8d
commit
98fc2669af
108
assets/css/custom.css
Normal file
108
assets/css/custom.css
Normal file
@ -0,0 +1,108 @@
|
||||
/* General Body Styles */
|
||||
body {
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
background-color: #F9F9F9;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
.navbar {
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-weight: 700;
|
||||
color: #4A90E2 !important;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero-section {
|
||||
background: linear-gradient(45deg, rgba(74, 144, 226, 0.9), rgba(80, 227, 194, 0.9)), url('https://picsum.photos/seed/hr-hero/1600/500') no-repeat center center;
|
||||
background-size: cover;
|
||||
color: white;
|
||||
padding: 6rem 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero-section h1 {
|
||||
font-weight: 700;
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
.hero-section p {
|
||||
font-size: 1.25rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Job Listings */
|
||||
.job-listings {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.job-card {
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #EAEAEA;
|
||||
border-radius: 12px;
|
||||
padding: 1.5rem;
|
||||
margin-bottom: 1.5rem;
|
||||
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
|
||||
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.job-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
.job-card h5 {
|
||||
color: #4A90E2;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.job-card .badge {
|
||||
border-radius: 6px;
|
||||
font-weight: 500;
|
||||
padding: 0.4em 0.7em;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: #4A90E2;
|
||||
border-color: #4A90E2;
|
||||
border-radius: 12px;
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-weight: 600;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #357ABD;
|
||||
border-color: #357ABD;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background-color: #50E3C2;
|
||||
border-color: #50E3C2;
|
||||
color: #fff;
|
||||
border-radius: 12px;
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-weight: 600;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background-color: #40B59A;
|
||||
border-color: #40B59A;
|
||||
}
|
||||
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background-color: #FFFFFF;
|
||||
padding: 2rem 0;
|
||||
margin-top: 4rem;
|
||||
border-top: 1px solid #EAEAEA;
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
color: #666;
|
||||
}
|
||||
34
assets/js/main.js
Normal file
34
assets/js/main.js
Normal file
@ -0,0 +1,34 @@
|
||||
// Gentle animations on scroll for job cards
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const jobCards = document.querySelectorAll('.job-card');
|
||||
|
||||
const observer = new IntersectionObserver(entries => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
entry.target.style.animation = 'fadeInUp 0.5s ease-out forwards';
|
||||
observer.unobserve(entry.target);
|
||||
}
|
||||
});
|
||||
}, { threshold: 0.1 });
|
||||
|
||||
jobCards.forEach(card => {
|
||||
card.style.opacity = '0'; // Start transparent
|
||||
observer.observe(card);
|
||||
});
|
||||
});
|
||||
|
||||
// Add keyframes for the animation
|
||||
const style = document.createElement('style');
|
||||
style.innerHTML = `
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
`;
|
||||
document.head.appendChild(style);
|
||||
148
careers.php
Normal file
148
careers.php
Normal file
@ -0,0 +1,148 @@
|
||||
<?php
|
||||
// Sample data for job listings
|
||||
$jobs = [
|
||||
[
|
||||
'title' => 'Senior Frontend Developer',
|
||||
'department' => 'Engineering',
|
||||
'location' => 'Remote',
|
||||
'type' => 'Full-time'
|
||||
],
|
||||
[
|
||||
'title' => 'Product Manager',
|
||||
'department' => 'Product',
|
||||
'location' => 'New York, NY',
|
||||
'type' => 'Full-time'
|
||||
],
|
||||
[
|
||||
'title' => 'UI/UX Designer',
|
||||
'department' => 'Design',
|
||||
'location' => 'Remote',
|
||||
'type' => 'Contract'
|
||||
],
|
||||
[
|
||||
'title' => 'HR Generalist',
|
||||
'department' => 'People Ops',
|
||||
'location' => 'San Francisco, CA',
|
||||
'type' => 'Full-time'
|
||||
],
|
||||
[
|
||||
'title' => 'DevOps Engineer',
|
||||
'department' => 'Engineering',
|
||||
'location' => 'Remote',
|
||||
'type' => 'Full-time'
|
||||
],
|
||||
[
|
||||
'title' => 'Marketing Specialist',
|
||||
'department' => 'Marketing',
|
||||
'location' => 'Austin, TX',
|
||||
'type' => 'Part-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-6 mx-auto">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control form-control-lg" placeholder="Search for jobs...">
|
||||
<button class="btn btn-secondary" type="button">Search</button>
|
||||
</div>
|
||||
</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="#" 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/hr-team1/800/600" class="img-fluid rounded" alt="Two colleagues smiling and working together on a laptop.">
|
||||
</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/hr-team2/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>© <?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>
|
||||
251
index.php
251
index.php
@ -1,131 +1,148 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
@ini_set('display_errors', '1');
|
||||
@error_reporting(E_ALL);
|
||||
@date_default_timezone_set('UTC');
|
||||
|
||||
$phpVersion = PHP_VERSION;
|
||||
$now = date('Y-m-d H:i:s');
|
||||
// Sample data for job listings
|
||||
$jobs = [
|
||||
[
|
||||
'title' => 'Senior Frontend Developer',
|
||||
'department' => 'Engineering',
|
||||
'location' => 'Remote',
|
||||
'type' => 'Full-time'
|
||||
],
|
||||
[
|
||||
'title' => 'Product Manager',
|
||||
'department' => 'Product',
|
||||
'location' => 'New York, NY',
|
||||
'type' => 'Full-time'
|
||||
],
|
||||
[
|
||||
'title' => 'UI/UX Designer',
|
||||
'department' => 'Design',
|
||||
'location' => 'Remote',
|
||||
'type' => 'Contract'
|
||||
],
|
||||
[
|
||||
'title' => 'HR Generalist',
|
||||
'department' => 'People Ops',
|
||||
'location' => 'San Francisco, CA',
|
||||
'type' => 'Full-time'
|
||||
],
|
||||
[
|
||||
'title' => 'DevOps Engineer',
|
||||
'department' => 'Engineering',
|
||||
'location' => 'Remote',
|
||||
'type' => 'Full-time'
|
||||
],
|
||||
[
|
||||
'title' => 'Marketing Specialist',
|
||||
'department' => 'Marketing',
|
||||
'location' => 'Austin, TX',
|
||||
'type' => 'Part-time'
|
||||
]
|
||||
];
|
||||
?>
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>New Style</title>
|
||||
<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;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg-color-start: #6a11cb;
|
||||
--bg-color-end: #2575fc;
|
||||
--text-color: #ffffff;
|
||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
|
||||
animation: bg-pan 20s linear infinite;
|
||||
z-index: -1;
|
||||
}
|
||||
@keyframes bg-pan {
|
||||
0% { background-position: 0% 0%; }
|
||||
100% { background-position: 100% 100%; }
|
||||
}
|
||||
main {
|
||||
padding: 2rem;
|
||||
}
|
||||
.card {
|
||||
background: var(--card-bg-color);
|
||||
border: 1px solid var(--card-border-color);
|
||||
border-radius: 16px;
|
||||
padding: 2rem;
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.loader {
|
||||
margin: 1.25rem auto 1.25rem;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 3px solid rgba(255, 255, 255, 0.25);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
@keyframes spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
.hint {
|
||||
opacity: 0.9;
|
||||
}
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px; height: 1px;
|
||||
padding: 0; margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap; border: 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
font-weight: 700;
|
||||
margin: 0 0 1rem;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
code {
|
||||
background: rgba(0,0,0,0.2);
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
}
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
opacity: 0.7;
|
||||
}
|
||||
</style>
|
||||
<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>
|
||||
<main>
|
||||
<div class="card">
|
||||
<h1>Analyzing your requirements and generating your website…</h1>
|
||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||
<span class="sr-only">Loading…</span>
|
||||
|
||||
<!-- 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-6 mx-auto">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control form-control-lg" placeholder="Search for jobs...">
|
||||
<button class="btn btn-secondary" type="button">Search</button>
|
||||
</div>
|
||||
</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="#" class="btn btn-primary mt-3 stretched-link">View Details</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<p class="hint">Flatlogic AI is collecting your requirements and applying the first changes.</p>
|
||||
<p class="hint">This page will update automatically as the plan is implemented.</p>
|
||||
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
Page updated: <?= htmlspecialchars($now) ?> (UTC)
|
||||
|
||||
<!-- 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/hr-team1/800/600" class="img-fluid rounded" alt="Two colleagues smiling and working together on a laptop.">
|
||||
</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/hr-team2/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>© <?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>
|
||||
Loading…
x
Reference in New Issue
Block a user