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

49 lines
2.1 KiB
PHP

<?php
declare(strict_types=1);
require __DIR__ . '/../app/bootstrap.php';
app_db();
$pageTitle = 'Nutrition Tracking | Neon Health Tracker';
$activePage = 'nutrition';
$photo = 'https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/A_large_mixed_salad.jpg/1024px-A_large_mixed_salad.jpg';
require __DIR__ . '/partials/site-header.php';
?>
<main>
<section class="detail-hero reverse">
<figure>
<img src="<?= htmlspecialchars($photo, ENT_QUOTES) ?>" alt="Large mixed salad with vegetables and protein">
<figcaption>
Photo: <a href="https://commons.wikimedia.org/wiki/File:A_large_mixed_salad.jpg">A large mixed salad</a>
by Jmabel, <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.
</figcaption>
</figure>
<div>
<p class="site-eyebrow">Targets vs actuals</p>
<h1>Keep nutrition flexible without losing the plan.</h1>
<p>Set daily, weekly, or monthly goals for calories, protein, carbs, fat, and hydration. Log actual intake separately so deviations stay visible instead of buried.</p>
<a class="site-primary" href="/signup.php">Start a nutrition plan</a>
</div>
</section>
<section class="detail-grid">
<article>
<h2>Separate goals</h2>
<p>Nutrition goals can be attached to routines or kept independent for users who want to experiment.</p>
</article>
<article>
<h2>Macro balance</h2>
<p>Progress bars show how far actual logs are from the chosen target for the current planner range.</p>
</article>
<article>
<h2>Hydration</h2>
<p>Water targets stay beside macros so recovery and performance habits remain part of the daily flow.</p>
</article>
<article>
<h2>Range scaling</h2>
<p>Use daily, weekly, or monthly target scopes, with daily goals scaling when a broader target is not set.</p>
</article>
</section>
</main>
<?php require __DIR__ . '/partials/site-footer.php'; ?>