- Public display

This commit is contained in:
Ty Clifford
2026-07-03 18:00:34 -04:00
parent c5ec4f4c7e
commit 90b1194b65
16 changed files with 237 additions and 49 deletions
+20
View File
@@ -2,6 +2,26 @@
declare(strict_types=1);
require __DIR__ . '/../app/bootstrap.php';
if (!app_tracker_area_enabled()) {
http_response_code(404);
$pageTitle = 'Tracker Unavailable | Medical Tracker';
$activePage = '';
require __DIR__ . '/partials/site-header.php';
?>
<main>
<section class="admin-public-shell record-shell">
<p class="site-eyebrow">Private area disabled</p>
<h1>Tracker is not available.</h1>
<p>This public site is currently configured for reference browsing only.</p>
<a class="site-primary" href="/">Return home</a>
</section>
</main>
<?php
require __DIR__ . '/partials/site-footer.php';
exit;
}
app_db();
?>
<!doctype html>