180 lines
8.0 KiB
PHP
180 lines
8.0 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">
|
|
<meta name="description" content="The official landing page for the Colour Trading App.">
|
|
<title>Colour Trading App</title>
|
|
<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(); ?>">
|
|
<style>
|
|
:root {
|
|
--primary-color: #0D6EFD;
|
|
--secondary-color: #6C757D;
|
|
--background-color: #FFFFFF;
|
|
--surface-color: #F8F9FA;
|
|
--accent-gradient: linear-gradient(45deg, #f3ec78, #af4261);
|
|
}
|
|
body {
|
|
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
}
|
|
.hero {
|
|
background: var(--surface-color);
|
|
padding: 6rem 0;
|
|
}
|
|
.hero h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: bold;
|
|
}
|
|
.hero .lead {
|
|
font-size: 1.25rem;
|
|
color: var(--secondary-color);
|
|
}
|
|
.btn-primary {
|
|
background-color: var(--primary-color);
|
|
border: none;
|
|
}
|
|
.section {
|
|
padding: 4rem 0;
|
|
}
|
|
.section-title {
|
|
font-weight: bold;
|
|
margin-bottom: 3rem;
|
|
}
|
|
.feature-icon {
|
|
font-size: 3rem;
|
|
background: var(--accent-gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
.testimonial-card {
|
|
background: var(--surface-color);
|
|
border: none;
|
|
}
|
|
footer {
|
|
background: var(--surface-color);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<header class="py-3 mb-4 border-bottom">
|
|
<div class="container d-flex flex-wrap justify-content-center">
|
|
<a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-dark text-decoration-none">
|
|
<i class="bi bi-palette-fill me-2" style="font-size: 2rem; color: var(--primary-color);"></i>
|
|
<span class="fs-4">Colour Trading</span>
|
|
</a>
|
|
<ul class="nav nav-pills">
|
|
<li class="nav-item"><a href="#features" class="nav-link">Features</a></li>
|
|
<li class="nav-item"><a href="#contact" class="nav-link">Contact</a></li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
|
|
<main>
|
|
<section class="hero text-center">
|
|
<div class="container">
|
|
<h1 class="display-4">The Future of Colour Trading is Here</h1>
|
|
<p class="lead my-4">A revolutionary platform for buyers and sellers of fine colours.</p>
|
|
<a href="#contact" class="btn btn-primary btn-lg">Get Started</a>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="about" class="section">
|
|
<div class="container">
|
|
<h2 class="section-title text-center">About Us</h2>
|
|
<p class="text-center col-md-8 mx-auto">We are dedicated to creating a vibrant marketplace for colour enthusiasts, professionals, and traders. Our platform provides the tools and resources to discover, trade, and manage colours with ease.</p>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="features" class="section bg-light">
|
|
<div class="container">
|
|
<h2 class="section-title text-center">Features</h2>
|
|
<div class="row g-4">
|
|
<div class="col-md-4 text-center">
|
|
<div class="feature-icon mb-3"><i class="bi bi-search"></i></div>
|
|
<h5>Browse & Search</h5>
|
|
<p>Easily search and filter through a vast catalog of colours.</p>
|
|
</div>
|
|
<div class="col-md-4 text-center">
|
|
<div class="feature-icon mb-3"><i class="bi bi-cart-check"></i></div>
|
|
<h5>Seamless Trading</h5>
|
|
<p>Buy and sell colours with a simple and secure transaction process.</p>
|
|
</div>
|
|
<div class="col-md-4 text-center">
|
|
<div class="feature-icon mb-3"><i class="bi bi-bar-chart-line"></i></div>
|
|
<h5>Admin Dashboard</h5>
|
|
<p>Manage your inventory, orders, and users with a powerful admin panel.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="testimonials" class="section">
|
|
<div class="container">
|
|
<h2 class="section-title text-center">What Our Users Say</h2>
|
|
<div class="row">
|
|
<div class="col-md-6 col-lg-4 mx-auto">
|
|
<div class="card testimonial-card p-4">
|
|
<blockquote class="blockquote mb-0">
|
|
<p>"This platform has revolutionized how I source colours for my projects. A game-changer!"</p>
|
|
<footer class="blockquote-footer">Jane Doe, <cite title="Source Title">Designer</cite></footer>
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="contact" class="section bg-light">
|
|
<div class="container">
|
|
<h2 class="section-title text-center">Contact Us</h2>
|
|
<div class="col-md-8 col-lg-6 mx-auto">
|
|
<?php if (isset($_SESSION['contact_form_status'])): ?>
|
|
<div class="alert alert-<?php echo $_SESSION['contact_form_status'] == 'success' ? 'success' : 'danger'; ?> alert-dismissible fade show" role="alert">
|
|
<?php
|
|
if ($_SESSION['contact_form_status'] == 'success') {
|
|
echo "Thank you for your message! We will get back to you shortly.";
|
|
} else {
|
|
echo "There was an error sending your message. Please try again.";
|
|
}
|
|
unset($_SESSION['contact_form_status']);
|
|
?>
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
<?php endif; ?>
|
|
<form action="contact.php" method="POST">
|
|
<div class="mb-3">
|
|
<label for="name" class="form-label">Name</label>
|
|
<input type="text" class="form-control" id="name" name="name" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="email" class="form-label">Email address</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>
|
|
<button type="submit" class="btn btn-primary w-100">Send Message</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer class="py-4 mt-auto">
|
|
<div class="container text-center">
|
|
<p class="mb-0">© <?php echo date("Y"); ?> Colour Trading App. 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>
|