Files
medicaltracker/public/index.php
T
Ty Clifford 0fe5a92f90 -
2026-06-30 11:14:42 -04:00

83 lines
3.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
declare(strict_types=1);
require __DIR__ . '/../app/bootstrap.php';
app_db();
$pageTitle = 'Neon Health Tracker';
$activePage = 'home';
$heroImage = 'https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Jogging_Woman_in_Grass.jpg/1280px-Jogging_Woman_in_Grass.jpg';
require __DIR__ . '/partials/site-header.php';
?>
<main>
<section class="site-hero">
<img src="<?= htmlspecialchars($heroImage, ENT_QUOTES) ?>" alt="Runner training outdoors in bright green grass">
<div class="site-hero-copy">
<p class="site-eyebrow">Workout planning, nutrition balance, supplement tracking</p>
<h1>Neon Health Tracker</h1>
<p class="site-lede">A multi-user fitness planner for people who want routines, meals, recovery, and body metrics in one fast web dashboard.</p>
<div class="site-actions">
<a class="site-primary" href="/signup.php">Start tracking</a>
<a class="site-secondary" href="/workouts.php">Explore features</a>
</div>
</div>
<p class="photo-credit">
Photo: <a href="https://commons.wikimedia.org/wiki/File:Jogging_Woman_in_Grass.jpg">Jogging Woman in Grass</a>
by Mike Baird, <a href="https://creativecommons.org/licenses/by/2.0/">CC BY 2.0</a>.
</p>
</section>
<section class="site-band">
<div class="site-section-heading">
<p class="site-eyebrow">Built for daily use</p>
<h2>One workspace for training, food, recovery, and progress.</h2>
</div>
<div class="feature-grid">
<article>
<span>01</span>
<h3>Routine planning</h3>
<p>Schedule weight lifting, cycling, running, swimming, conditioning, mobility, and custom workouts by day, week, or month.</p>
</article>
<article>
<span>02</span>
<h3>Nutrition targets</h3>
<p>Compare actual logs against daily, weekly, or monthly calories, protein, carbs, fat, and hydration goals.</p>
</article>
<article>
<span>03</span>
<h3>Supplement timing</h3>
<p>Track pre-workout, intra-workout, post-workout, daily, and evening supplements without mixing them into meal logs.</p>
</article>
<article>
<span>04</span>
<h3>Health monitoring</h3>
<p>Keep weight, body fat, sleep, resting heart rate, mood, and notes connected to the training plan.</p>
</article>
</div>
</section>
<section class="site-split">
<div>
<p class="site-eyebrow">For individuals and small teams</p>
<h2>Profiles stay separate, admins stay in control.</h2>
<p>Each user gets a profile, theme preference, routines, logs, goals, and metric history. Admins can create users, edit details, activate or deactivate accounts, and remove profiles from a dedicated dashboard.</p>
<a class="site-secondary inline-link" href="/admin.php">Open admin dashboard</a>
</div>
<div class="site-metric-stack">
<article><strong>Daily</strong><span>Plan todays workout, meals, supplements, and body check-in.</span></article>
<article><strong>Weekly</strong><span>See volume, cardio minutes, macro targets, and completion rate.</span></article>
<article><strong>Monthly</strong><span>Compare long-range goals against real nutrition and training behavior.</span></article>
</div>
</section>
<section class="cta-strip">
<div>
<p class="site-eyebrow">Ready when you are</p>
<h2>Create your profile and open the tracker.</h2>
</div>
<a class="site-primary" href="/signup.php">Sign up</a>
</section>
</main>
<?php require __DIR__ . '/partials/site-footer.php'; ?>