152 lines
4.1 KiB
PHP
152 lines
4.1 KiB
PHP
<?php include 'header.php'; ?>
|
|
|
|
<style>
|
|
.driver-signup-container {
|
|
display: flex;
|
|
min-height: 80vh;
|
|
align-items: stretch;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.driver-signup-promo {
|
|
flex: 1;
|
|
background: url('assets/images/hero.jpg') no-repeat center center;
|
|
background-size: cover;
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
.driver-signup-promo h1 {
|
|
font-size: 3rem;
|
|
font-weight: bold;
|
|
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
.driver-signup-promo p {
|
|
font-size: 1.25rem;
|
|
margin-top: 10px;
|
|
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
.driver-signup-promo .benefits {
|
|
margin-top: 30px;
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.driver-signup-promo .benefits li {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 10px;
|
|
background-color: rgba(0,0,0,0.5);
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.driver-signup-form-container {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
.driver-signup-form {
|
|
width: 100%;
|
|
max-width: 450px;
|
|
}
|
|
|
|
.driver-signup-form h2 {
|
|
font-size: 2rem;
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
color: #555;
|
|
}
|
|
|
|
.form-group input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.btn-submit {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background-color: #ff8c00;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
font-size: 1.1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.btn-submit:hover {
|
|
background-color: #e07b00;
|
|
}
|
|
|
|
.form-footer {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
|
|
<div class="driver-signup-container">
|
|
<div class="driver-signup-promo">
|
|
<h1>Drive with MajuroEats</h1>
|
|
<p>Earn money on your own schedule.</p>
|
|
<ul class="benefits">
|
|
<li>✓ Flexible Hours</li>
|
|
<li>✓ Weekly Payments</li>
|
|
<li>✓ Be Your Own Boss</li>
|
|
</ul>
|
|
</div>
|
|
<div class="driver-signup-form-container">
|
|
<div class="driver-signup-form">
|
|
<h2>Create Your Driver Account</h2>
|
|
<form action="driver_signup_process.php" method="POST">
|
|
<div class="form-group">
|
|
<label for="full_name">Full Name</label>
|
|
<input type="text" id="full_name" name="full_name" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="email">Email</label>
|
|
<input type="email" id="email" name="email" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="phone_number">Phone Number</label>
|
|
<input type="text" id="phone_number" name="phone_number" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="vehicle_details">Vehicle Details (e.g., 2023 Toyota Camry, Blue)</label>
|
|
<input type="text" id="vehicle_details" name="vehicle_details" required>
|
|
</div>
|
|
<button type="submit" class="btn-submit">Start Earning</button>
|
|
</form>
|
|
<div class="form-footer">
|
|
<p>Already have an account? <a href="login.php">Log in</a></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php include 'footer.php'; ?>
|