thamanda / index.html
morgan277's picture
undefined - Initial Deployment
d014bc7 verified
Raw History Blame Contribute Delete
9.57 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PCEA Thamanda PARISH - New Member Registration</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.church-logo {
width: 80px;
height: 80px;
object-fit: contain;
}
.form-container {
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
transition: all 0.3s ease;
}
.form-container:hover {
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.input-field {
transition: all 0.3s ease;
}
.input-field:focus {
box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}
.submit-btn {
background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
transition: all 0.3s ease;
}
.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}
.success-icon {
font-size: 5rem;
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
</style>
</head>
<body class="min-h-screen flex items-center justify-center p-4">
<!-- Registration Form -->
<div id="registrationForm" class="form-container w-full max-w-md bg-white rounded-xl overflow-hidden p-8">
<div class="text-center mb-6">
<div class="flex justify-center">
<i class="fas fa-church text-5xl text-blue-500 mb-3"></i>
</div>
<h1 class="text-3xl font-bold text-gray-800">PCEA Thamanda PARISH</h1>
<p class="text-gray-600 italic mt-1">"Love, Unity and Service"</p>
</div>
<h2 class="text-2xl font-semibold text-gray-700 mb-6 text-center">New Member Registration</h2>
<form onsubmit="registerUser(event)" class="space-y-4">
<div class="space-y-1">
<label for="fullName" class="block text-sm font-medium text-gray-700">Full Name</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i class="fas fa-user text-gray-400"></i>
</div>
<input type="text" id="fullName" placeholder="John Doe" required
class="input-field pl-10 w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
</div>
<div class="space-y-1">
<label for="phoneNumber" class="block text-sm font-medium text-gray-700">Phone Number</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i class="fas fa-phone text-gray-400"></i>
</div>
<input type="tel" id="phoneNumber" placeholder="0712345678" required
class="input-field pl-10 w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
</div>
<div class="space-y-1">
<label for="districtName" class="block text-sm font-medium text-gray-700">District Name</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i class="fas fa-map-marker-alt text-gray-400"></i>
</div>
<input type="text" id="districtName" placeholder="Thamanda" required
class="input-field pl-10 w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
</div>
<div class="space-y-1">
<label for="fullMember" class="block text-sm font-medium text-gray-700">Are you a full member?</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i class="fas fa-check-circle text-gray-400"></i>
</div>
<select id="fullMember" required
class="input-field pl-10 w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 appearance-none bg-white">
<option value="">Select membership status</option>
<option value="Yes">Yes</option>
<option value="No">No</option>
</select>
</div>
</div>
<div class="space-y-1">
<label for="age" class="block text-sm font-medium text-gray-700">Age</label>
<div class="relative">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i class="fas fa-birthday-cake text-gray-400"></i>
</div>
<input type="number" id="age" placeholder="25" required
class="input-field pl-10 w-full px-4 py-2 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500">
</div>
</div>
<button type="submit" class="submit-btn w-full py-3 px-4 rounded-lg text-white font-semibold mt-6">
<i class="fas fa-user-plus mr-2"></i> Register Now
</button>
</form>
</div>
<!-- Success Message -->
<div id="successMessage" class="hidden form-container w-full max-w-md bg-white rounded-xl overflow-hidden p-8 text-center">
<div class="mb-6">
<i class="fas fa-check-circle success-icon"></i>
</div>
<h2 class="text-2xl font-bold text-gray-800 mb-3">Registration Complete!</h2>
<p class="text-gray-600 mb-6">You are now fully registered as a member of <strong class="text-blue-500">PCEA Thamanda PARISH</strong>.</p>
<p class="text-gray-500 text-sm mb-6">We'll contact you soon with more information about our church activities.</p>
<button onclick="goHome()" class="w-full py-3 px-4 rounded-lg bg-blue-500 text-white font-semibold hover:bg-blue-600 transition">
<i class="fas fa-home mr-2"></i> Return Home
</button>
</div>
<!-- Home Page -->
<div id="homePage" class="hidden form-container w-full max-w-md bg-white rounded-xl overflow-hidden p-8 text-center">
<div class="flex justify-center mb-6">
<i class="fas fa-church text-5xl text-blue-500"></i>
</div>
<h1 class="text-3xl font-bold text-gray-800 mb-2">Welcome to PCEA Thamanda PARISH</h1>
<p class="text-gray-600 italic mb-6">"Love, Unity and Service"</p>
<p class="text-gray-700 mb-8">We are blessed to have you as part of our church family. May God bless you abundantly.</p>
<div class="bg-blue-50 p-4 rounded-lg">
<h3 class="font-semibold text-blue-700 mb-2">Next Steps:</h3>
<ul class="text-left text-gray-700 space-y-2">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Attend our Sunday service at 9:00 AM</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Join a small group for fellowship</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<span>Participate in church activities</span>
</li>
</ul>
</div>
</div>
<script>
function registerUser(event) {
event.preventDefault();
// Get form values
const fullName = document.getElementById('fullName').value;
const phoneNumber = document.getElementById('phoneNumber').value;
const districtName = document.getElementById('districtName').value;
const fullMember = document.getElementById('fullMember').value;
const age = document.getElementById('age').value;
// In a real application, you would send this data to a server
console.log({
fullName,
phoneNumber,
districtName,
fullMember,
age
});
// Show success message
document.getElementById('registrationForm').classList.add('hidden');
document.getElementById('successMessage').classList.remove('hidden');
// Scroll to top for better UX
window.scrollTo(0, 0);
}
function goHome() {
document.getElementById('successMessage').classList.add('hidden');
document.getElementById('homePage').classList.remove('hidden');
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=morgan277/thamanda" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>