34771-vm/index.php
Flatlogic Bot 49f9e11a9f version2
2025-10-07 23:31:13 +00:00

216 lines
12 KiB
PHP

<?php session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>We are building a mobile app that connects donors</title>
<meta name="description" content="A platform to connect food donors with NGOs seamlessly. Built with Flatlogic Generator.">
<meta name="keywords" content="food donation, NGO, charity, food waste, community support, volunteer, donate clothes, hunger relief, social impact, Built with Flatlogic Generator">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="We are building a mobile app that connects donors">
<meta property="og:description" content="A platform to connect food donors with NGOs seamlessly. Built with Flatlogic Generator.">
<meta property="og:image" content="<?php echo isset($_SERVER['PROJECT_IMAGE_URL']) ? $_SERVER['PROJECT_IMAGE_URL'] : 'https://picsum.photos/seed/food-donation/1200/630'; ?>">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="We are building a mobile app that connects donors">
<meta property="twitter:description" content="A platform to connect food donors with NGOs seamlessly. Built with Flatlogic Generator.">
<meta property="twitter:image" content="<?php echo isset($_SERVER['PROJECT_IMAGE_URL']) ? $_SERVER['PROJECT_IMAGE_URL'] : 'https://picsum.photos/seed/food-donation/1200/630'; ?>">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark fixed-top">
<div class="container">
<a class="navbar-brand" href="#">Donation Connect</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="#home">Home</a></li>
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
<li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
<li class="nav-item"><a class="nav-link" href="#contact">Contact</a></li>
<?php if (isset($_SESSION['user_id'])): ?>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<?php echo htmlspecialchars($_SESSION['user_name']); ?>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="logout.php">Logout</a></li>
</ul>
</li>
<?php else: ?>
<li class="nav-item ms-lg-3"><a class="nav-link" href="login.php">Login</a></li>
<li class="nav-item ms-2"><a class="btn btn-primary" href="register.php">Register</a></li>
<?php endif; ?>
</ul>
</div>
</div>
</nav>
<header id="home" class="hero" style="background-image: url('https://picsum.photos/seed/food-donation/1600/900');">
<div class="container text-center">
<h1 class="display-3">Connecting Generosity with Need</h1>
<p class="lead my-4">Our platform makes it easy for you to donate food and other items to NGOs who need it most.</p>
<a href="#" class="btn btn-primary btn-lg">Donate Now</a>
</div>
</header>
<section id="about">
<div class="container">
<div class="row align-items-center">
<div class="col-lg-6">
<h2>Our Mission</h2>
<p>Millions of people face hunger every day, while tons of food goes to waste. We believe in a world where surplus food reaches those in need. Our mission is to bridge this gap by creating a simple, transparent, and efficient donation platform.</p>
<p>We connect donors with a network of verified NGOs, ensuring that your contribution makes a real impact in your community.</p>
</div>
<div class="col-lg-6">
<img src="https://picsum.photos/seed/community/800/600" class="img-fluid rounded shadow" alt="A diverse group of people working together to sort donations.">
</div>
</div>
</div>
</section>
<section id="features" class="bg-light">
<div class="container">
<div class="text-center mb-5">
<h2>How It Works</h2>
<p class="lead">A simple process for donors and NGOs.</p>
</div>
<div class="row">
<div class="col-md-4 mb-4">
<div class="card h-100 text-center p-4">
<div class="card-body">
<i class="bi bi-box-seam fs-1 text-primary"></i>
<h3 class="card-title mt-3">1. List Your Donation</h3>
<p class="card-text">Describe the items you want to donate, set a pickup location, and choose a time that works for you.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card h-100 text-center p-4">
<div class="card-body">
<i class="bi bi-geo-alt fs-1 text-primary"></i>
<h3 class="card-title mt-3">2. Choose an NGO</h3>
<p class="card-text">See a list of nearby NGOs and select the one you'd like to support with your donation.</p>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card h-100 text-center p-4">
<div class="card-body">
<i class="bi bi-heart fs-1 text-primary"></i>
<h3 class="card-title mt-3">3. Make a Difference</h3>
<p class="card-text">Your donation request is sent. Once accepted, you'll coordinate the handover and receive a thank you!</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="testimonials">
<div class="container">
<div class="text-center mb-5">
<h2>What People Are Saying</h2>
</div>
<div class="row">
<div class="col-md-6 col-lg-4 mb-4">
<div class="card">
<div class="card-body">
<p class="fst-italic">"This platform is a game-changer! So easy to use, and I love knowing my donations are going to a good cause right in my neighborhood."</p>
<div class="d-flex align-items-center mt-3">
<img src="https://picsum.photos/seed/person1/50/50" class="rounded-circle" alt="User photo">
<div class="ms-3">
<h6 class="mb-0">Alex D.</h6>
<small class="text-muted">Donor</small>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-4">
<div class="card">
<div class="card-body">
<p class="fst-italic">"Receiving donation alerts through the app has streamlined our operations. We can accept food and get it to our clients faster than ever."</p>
<div class="d-flex align-items-center mt-3">
<img src="https://picsum.photos/seed/person2/50/50" class="rounded-circle" alt="User photo">
<div class="ms-3">
<h6 class="mb-0">Maria S.</h6>
<small class="text-muted">NGO Admin</small>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 mb-4 d-none d-lg-block">
<div class="card">
<div class="card-body">
<p class="fst-italic">"As a volunteer, it helps me manage my pickups efficiently. The map integration is fantastic for finding donor locations."</p>
<div class="d-flex align-items-center mt-3">
<img src="https://picsum.photos/seed/person3/50/50" class="rounded-circle" alt="User photo">
<div class="ms-3">
<h6 class="mb-0">John F.</h6>
<small class="text-muted">Volunteer</small>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="contact" class="bg-light">
<div class="container">
<div class="text-center mb-5">
<h2>Get In Touch</h2>
<p class="lead">Have questions? We'd love to hear from you.</p>
</div>
<div class="row justify-content-center">
<div class="col-lg-8">
<form id="contactForm" class="needs-validation" novalidate>
<div class="mb-3">
<label for="name" class="form-label">Name</label>
<input type="text" class="form-control" id="name" required>
<div class="invalid-feedback">Please enter your name.</div>
</div>
<div class="mb-3">
<label for="email" class="form-label">Email</label>
<input type="email" class="form-control" id="email" required>
<div class="invalid-feedback">Please enter a valid email address.</div>
</div>
<div class="mb-3">
<label for="message" class="form-label">Message</label>
<textarea class="form-control" id="message" rows="5" required></textarea>
<div class="invalid-feedback">Please enter a message.</div>
</div>
<div class="text-center">
<button type="submit" class="btn btn-primary">Send Message</button>
</div>
</form>
</div>
</div>
</div>
</section>
<footer class="text-center">
<div class="container">
<p class="mb-0">&copy; <?php echo date("Y"); ?> Donation Connect. All Rights Reserved.</p>
<p><a href="privacy.php">Privacy Policy</a></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>