152 lines
8.2 KiB
PHP
152 lines
8.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title><?php echo htmlspecialchars($_SERVER['PROJECT_NAME'] ?? 'AgriTrade Connect'); ?></title>
|
|
<meta name="description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'A modern platform for farmers to sell grains and for agencies to win leads.'); ?>">
|
|
|
|
<!-- SEO Meta Tags -->
|
|
<meta name="robots" content="index, follow">
|
|
|
|
<!-- Open Graph / Twitter -->
|
|
<meta property="og:title" content="<?php echo htmlspecialchars($_SERVER['PROJECT_NAME'] ?? 'AgriTrade Connect'); ?>">
|
|
<meta property="og:description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'A modern platform for farmers to sell grains and for agencies to win leads.'); ?>">
|
|
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
|
|
<!-- Stylesheets -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/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>
|
|
|
|
<!-- Header -->
|
|
<nav class="navbar navbar-expand-lg navbar-light fixed-top">
|
|
<div class="container">
|
|
<a class="navbar-brand fs-4" href="#"><?php echo htmlspecialchars($_SERVER['PROJECT_NAME'] ?? 'AgriTrade'); ?></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="#services">Services</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="#about">About</a></li>
|
|
<li class="nav-item"><a class="nav-link btn btn-secondary btn-sm px-3 text-white" href="#contact">Get a Quote</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Hero Section -->
|
|
<section class="hero text-center">
|
|
<div class="container">
|
|
<h1 class="display-3">Connecting Farmers to the Future of Trade</h1>
|
|
<p class="lead col-lg-8 mx-auto">We build powerful online marketplaces for agricultural commodities and create winning strategies for agri-businesses to capture new leads.</p>
|
|
<a href="#contact" class="btn btn-primary btn-lg">Request a Consultation</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Services Section -->
|
|
<section id="services">
|
|
<div class="container">
|
|
<h2 class="section-title">Our Services</h2>
|
|
<div class="row g-4">
|
|
<div class="col-md-4">
|
|
<div class="service-card text-center">
|
|
<i class="bi bi-shop service-icon"></i>
|
|
<h3 class="fs-4">Marketplace Development</h3>
|
|
<p>We build robust, scalable online marketplaces for farmers to sell their produce directly to buyers, ensuring fair prices and wide reach.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="service-card text-center">
|
|
<i class="bi bi-bullseye service-icon"></i>
|
|
<h3 class="fs-4">Lead Generation</h3>
|
|
<p>Our digital marketing strategies for agri-businesses are designed to attract, engage, and convert high-quality leads.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="service-card text-center">
|
|
<i class="bi bi-graph-up-arrow service-icon"></i>
|
|
<h3 class="fs-4">Agri-Tech Consulting</h3>
|
|
<p>Leverage our expertise to integrate modern technology into your agricultural business for improved efficiency and growth.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- About Section -->
|
|
<section id="about">
|
|
<div class="container">
|
|
<div class="row align-items-center g-5">
|
|
<div class="col-lg-6">
|
|
<img src="https://images.pexels.com/photos/4245826/pexels-photo-4245826.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" class="img-fluid shadow-lg" alt="Lush green field" style="border-radius: .5rem;">
|
|
</div>
|
|
<div class="col-lg-6">
|
|
<h2 class="section-title text-start">Our Mission</h2>
|
|
<p class="lead">Our mission is to empower farmers and agricultural businesses through technology. We believe in creating transparent, efficient, and profitable connections that strengthen the entire agricultural value chain.</p>
|
|
<p>From custom software solutions to targeted digital marketing, we are dedicated to helping our clients thrive in a rapidly evolving industry. We are more than a service provider; we are your partner in growth.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Contact Section -->
|
|
<section id="contact">
|
|
<div class="container">
|
|
<h2 class="section-title">Get in Touch</h2>
|
|
<div class="row">
|
|
<div class="col-lg-8 mx-auto">
|
|
<?php if(isset($_GET['status'])): ?>
|
|
<div class="alert alert-<?php echo $_GET['status'] == 'success' ? 'success' : 'danger'; ?> alert-dismissible fade show" role="alert">
|
|
<?php
|
|
if($_GET['status'] == 'success'){
|
|
echo "Thank you for your message! We will get back to you shortly.";
|
|
} else {
|
|
echo htmlspecialchars($_GET['msg'] ?? 'An error occurred. Please try again.');
|
|
}
|
|
?>
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
<?php endif; ?>
|
|
<div class="p-4 p-md-5 bg-white shadow-sm" style="border-radius: .5rem;">
|
|
<form action="contact.php" method="POST">
|
|
<div class="mb-3">
|
|
<label for="name" class="form-label">Your Name</label>
|
|
<input type="text" class="form-control" id="name" name="name" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label">Your Email</label>
|
|
<input type="email" class="form-control" id="email" name="email" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="message" class="form-label">Message</label>
|
|
<textarea class="form-control" id="message" name="message" rows="5" required></textarea>
|
|
</div>
|
|
<div class="text-center">
|
|
<button type="submit" class="btn btn-primary btn-lg">Send Message</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<footer class="footer text-center">
|
|
<div class="container">
|
|
<p>© <?php echo date("Y"); ?> <?php echo htmlspecialchars($_SERVER['PROJECT_NAME'] ?? 'AgriTrade'); ?>. All Rights Reserved.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Scripts -->
|
|
<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>
|