-
This commit is contained in:
+26
-24
@@ -2,20 +2,21 @@
|
||||
declare(strict_types=1);
|
||||
|
||||
require __DIR__ . '/../app/bootstrap.php';
|
||||
app_db();
|
||||
$pdo = app_db();
|
||||
|
||||
$pageTitle = 'Recovery and Supplements | Neon Health Tracker';
|
||||
$activePage = 'recovery';
|
||||
$pageTitle = 'NIH/NLM Research Links | Neon Medical Tracker';
|
||||
$activePage = 'research';
|
||||
$studies = db_all($pdo, 'SELECT * FROM research_studies ORDER BY category, related_medicine, title');
|
||||
$photo = '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="detail-hero">
|
||||
<div>
|
||||
<p class="site-eyebrow">Recovery stack</p>
|
||||
<h1>Track supplements and body signals beside the training plan.</h1>
|
||||
<p>Plan pre-workout, intra-workout, post-workout, daily, and evening supplements. Pair that with weight, body fat, sleep, resting heart rate, mood, and notes.</p>
|
||||
<a class="site-primary" href="/signup.php">Build a recovery log</a>
|
||||
<p class="site-eyebrow">NIH/NLM research links</p>
|
||||
<h1>Connect medications and conditions to study-search starting points.</h1>
|
||||
<p>Use curated categories and links into NIH/NLM systems to begin research on studies related to the medicines listed in the catalog.</p>
|
||||
<a class="site-primary" href="/medical.php">Open terminology database</a>
|
||||
</div>
|
||||
<figure>
|
||||
<img src="<?= htmlspecialchars($photo, ENT_QUOTES) ?>" alt="Runner training outdoors">
|
||||
@@ -26,23 +27,24 @@ require __DIR__ . '/partials/site-header.php';
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
<section class="detail-grid">
|
||||
<article>
|
||||
<h2>Supplement library</h2>
|
||||
<p>Start with creatine, caffeine, citrulline, electrolytes, whey, casein, magnesium, omega-3s, greens, and more.</p>
|
||||
</article>
|
||||
<article>
|
||||
<h2>Timing windows</h2>
|
||||
<p>Separate pre-workout, intra-workout, post-workout, daily, and evening routines so supplement habits stay clear.</p>
|
||||
</article>
|
||||
<article>
|
||||
<h2>Health metrics</h2>
|
||||
<p>Log weight, sleep, resting heart rate, body fat, mood, and notes to understand how training is landing.</p>
|
||||
</article>
|
||||
<article>
|
||||
<h2>Custom additions</h2>
|
||||
<p>Add custom supplements and doses as your recovery plan evolves.</p>
|
||||
</article>
|
||||
<section class="admin-public-shell">
|
||||
<div class="term-table">
|
||||
<?php foreach ($studies as $study): ?>
|
||||
<article>
|
||||
<div>
|
||||
<h3><?= htmlspecialchars($study['title'], ENT_QUOTES) ?></h3>
|
||||
<span><?= htmlspecialchars($study['category'] . ' / ' . $study['related_medicine'], ENT_QUOTES) ?></span>
|
||||
</div>
|
||||
<p><?= htmlspecialchars($study['summary'], ENT_QUOTES) ?></p>
|
||||
<p><?= htmlspecialchars($study['study_type'], ENT_QUOTES) ?></p>
|
||||
<div class="source-links">
|
||||
<a href="<?= htmlspecialchars($study['source_url'], ENT_QUOTES) ?>"><?= htmlspecialchars($study['nih_source'], ENT_QUOTES) ?></a>
|
||||
<a href="<?= htmlspecialchars($study['pubmed_url'], ENT_QUOTES) ?>">PubMed</a>
|
||||
<a href="<?= htmlspecialchars($study['clinicaltrials_url'], ENT_QUOTES) ?>">ClinicalTrials.gov</a>
|
||||
</div>
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<?php require __DIR__ . '/partials/site-footer.php'; ?>
|
||||
|
||||
Reference in New Issue
Block a user