126 lines
6.8 KiB
PHP
126 lines
6.8 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(getenv('PROJECT_NAME') ?: 'Health Tracker'); ?></title>
|
|
<meta name="description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'Track your calories and steps with ease.'); ?>">
|
|
|
|
<!-- Bootstrap 5 CDN -->
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
<!-- Custom CSS -->
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
|
|
<!-- SEO Meta Tags -->
|
|
<meta property="og:title" content="<?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Health Tracker'); ?>">
|
|
<meta property="og:description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'Track your calories and steps with ease.'); ?>">
|
|
<meta property="og:image" content="<?php echo htmlspecialchars(getenv('PROJECT_IMAGE_URL') ?: ''); ?>">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
</head>
|
|
<body>
|
|
|
|
<!-- Header -->
|
|
<header class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
|
|
<div class="container">
|
|
<a class="navbar-brand fw-bold" href="#">Health Tracker</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</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="#features">Features</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="#">Pricing</a></li>
|
|
<li class="nav-item ms-lg-3"><a class="btn btn-secondary text-white" href="#">Sign Up</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- Hero Section -->
|
|
<main>
|
|
<section class="hero-section text-center">
|
|
<div class="container">
|
|
<h1 class="display-4">Track Your Health, Master Your Life.</h1>
|
|
<p class="lead col-md-8 mx-auto">The simplest way to count calories, track your steps, and achieve your wellness goals. All in one beautiful app.</p>
|
|
<a href="#" class="btn btn-light btn-lg mt-3">Get Started for Free</a>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Quick Log Widget -->
|
|
<section class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 mx-auto">
|
|
<div class="quick-log-section p-4 p-md-5">
|
|
<h3 class="text-center mb-4">Quick Log</h3>
|
|
<form class="row g-3 align-items-end">
|
|
<div class="col-md">
|
|
<label for="calories" class="form-label">Calories (kcal)</label>
|
|
<input type="number" class="form-control form-control-lg" id="calories" placeholder="e.g., 500">
|
|
</div>
|
|
<div class="col-md">
|
|
<label for="steps" class="form-label">Steps</label>
|
|
<input type="number" class="form-control form-control-lg" id="steps" placeholder="e.g., 10000">
|
|
</div>
|
|
<div class="col-md-auto">
|
|
<button type="submit" id="logNowBtn" class="btn btn-primary btn-lg w-100">Log Now</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Features Section -->
|
|
<section id="features" class="py-5 mt-5">
|
|
<div class="container">
|
|
<div class="text-center mb-5">
|
|
<h2>Everything You Need to Succeed</h2>
|
|
<p class="lead text-muted">Powerful features designed for your success.</p>
|
|
</div>
|
|
<div class="row text-center g-4">
|
|
<div class="col-md-4">
|
|
<div class="feature-card h-100">
|
|
<svg class="feature-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" /></svg>
|
|
<h5>Effortless Tracking</h5>
|
|
<p>Log meals and activities in seconds with our intuitive interface.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="feature-card h-100">
|
|
<svg class="feature-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" /></svg>
|
|
<h5>Personalized Plans</h5>
|
|
<p>Get custom meal and fitness plans tailored to your unique goals.</p>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4">
|
|
<div class="feature-card h-100">
|
|
<svg class="feature-icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" /></svg>
|
|
<h5>Advanced Analytics</h5>
|
|
<p>Visualize your progress with beautiful charts and insightful reports.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<!-- Footer -->
|
|
<footer class="py-4 bg-light mt-auto">
|
|
<div class="container text-center text-muted">
|
|
<small>Copyright © <?php echo date('Y'); ?> <?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Health Tracker'); ?></small>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Toast Container -->
|
|
<div id="toast-container" class="toast-container"></div>
|
|
|
|
<!-- Bootstrap 5 JS Bundle -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<!-- Custom JS -->
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
|
|
</body>
|
|
</html>
|