106 lines
5.6 KiB
PHP
106 lines
5.6 KiB
PHP
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>SkillRunner - Find & Hire Verified Experts</title>
|
|
<?php
|
|
// Read project preview data from environment
|
|
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? 'SkillRunner is a trust-based escrow marketplace to connect clients with verified workers for any job.';
|
|
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
|
|
?>
|
|
<meta name="description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
<meta property="og:title" content="SkillRunner - Find & Hire Verified Experts" />
|
|
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
<meta property="twitter:card" content="summary_large_image">
|
|
<meta property="twitter:title" content="SkillRunner - Find & Hire Verified Experts" />
|
|
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
|
|
<?php if ($projectImageUrl): ?>
|
|
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
|
|
<?php endif; ?>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body class="bg-light">
|
|
<?php session_start(); ?>
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-white sticky-top">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="/">SkillRunner</a>
|
|
<div class="d-flex">
|
|
<?php if (isset($_SESSION['client_id'])): ?>
|
|
<a href="dashboard-client.php" class="btn btn-outline-primary me-2">Client Dashboard</a>
|
|
<a href="logout.php" class="btn btn-primary">Logout</a>
|
|
<?php elseif (isset($_SESSION['worker_id'])): ?>
|
|
<a href="dashboard.php" class="btn btn-outline-primary me-2">Dashboard</a>
|
|
<a href="logout.php" class="btn btn-primary">Logout</a>
|
|
<?php else: ?>
|
|
<a href="login.php" class="btn btn-outline-primary me-2">Worker Login</a>
|
|
<a href="register.php" class="btn btn-primary">Register</a>
|
|
<a href="login-client.php" class="btn btn-outline-secondary ms-2">Client Login</a>
|
|
<?php endif; ?>
|
|
<a href="post-job.php" class="btn btn-secondary ms-2">Post a Job</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<header class="py-5">
|
|
<div class="container px-5 text-center">
|
|
<h1 class="display-3 fw-bolder mb-3">Get any job done, securely.</h1>
|
|
<p class="lead fw-normal text-muted mb-4">Post a task, fund the escrow with confidence, and release payment only when you're satisfied. <br> Powered by a community of verified, skilled professionals.</p>
|
|
<div class="d-grid gap-3 d-sm-flex justify-content-sm-center">
|
|
<a class="btn btn-primary btn-lg px-4 gap-3" href="post-job.php" role="button">Post a Job</a>
|
|
<a class="btn btn-outline-secondary btn-lg px-4" href="jobs.php" role="button">Find Work</a>
|
|
<a class="btn btn-outline-dark btn-lg px-4" href="#">Become a Worker</a>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<section class="py-5">
|
|
<div class="container px-5">
|
|
<div class="row gx-5">
|
|
<div class="col-lg-4 col-md-6 mb-5">
|
|
<div class="d-flex align-items-center mb-3">
|
|
<div class="feature bg-primary bg-gradient text-white rounded-3 me-3"><i class="bi bi-shield-check"></i></div>
|
|
<h2 class="h5 mb-0">Verified Experts</h2>
|
|
</div>
|
|
<p class="text-muted">Our workers undergo a verification process, so you hire with peace of mind.</p>
|
|
</div>
|
|
<div class="col-lg-4 col-md-6 mb-5">
|
|
<div class="d-flex align-items-center mb-3">
|
|
<div class="feature bg-primary bg-gradient text-white rounded-3 me-3"><i class="bi bi-lock"></i></div>
|
|
<h2 class="h5 mb-0">Secure Escrow</h2>
|
|
</div>
|
|
<p class="text-muted">Your funds are held safely in escrow and are only released upon your approval.</p>
|
|
</div>
|
|
<div class="col-lg-4 col-md-6 mb-5">
|
|
<div class="d-flex align-items-center mb-3">
|
|
<div class="feature bg-primary bg-gradient text-white rounded-3 me-3"><i class="bi bi-chat-dots"></i></div>
|
|
<h2 class="h5 mb-0">Dispute Resolution</h2>
|
|
</div>
|
|
<p class="text-muted">Admins are available to mediate and resolve any disputes that may arise.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<footer class="text-center py-4 text-muted border-top mt-5">
|
|
© <?php echo date("Y"); ?> SkillRunner. All Rights Reserved. | PHP Version: <?php echo phpversion(); ?>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html>
|
|
<style>
|
|
.feature {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 3rem;
|
|
width: 3rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
</style>
|