40090-vm/includes/footer.php
Flatlogic Bot d6311a3a5e 1.0
2026-05-26 10:05:49 +00:00

70 lines
3.2 KiB
PHP

<?php
declare(strict_types=1);
$flash = flash_get();
$jsVersion = (string) (@filemtime(__DIR__ . '/../assets/js/main.js') ?: time());
$storageMode = using_preview_storage() ? 'Preview session storage' : 'Database-backed inquiry desk';
?>
</main>
<footer class="site-footer">
<div class="container">
<div class="row g-4 justify-content-between">
<div class="col-lg-4">
<p class="footer-kicker">Genitri Ecco Wellness</p>
<h2 class="footer-title">Integrated nature-based experience ecosystem.</h2>
<p class="footer-copy">A premium minimalist platform for eco wellness, experiential tourism, hospitality collaboration, and qualified strategic inquiry.</p>
</div>
<div class="col-sm-6 col-lg-2">
<p class="footer-label">Navigation</p>
<ul class="footer-links">
<?php foreach (navigation_items() as $item): ?>
<li><a href="<?= h($item['href']) ?>"><?= h($item['label']) ?></a></li>
<?php endforeach; ?>
</ul>
</div>
<div class="col-sm-6 col-lg-3">
<p class="footer-label">Operational focus</p>
<ul class="footer-links footer-links--muted">
<li>Eco wellness</li>
<li>Retreat and immersive experiences</li>
<li>Hospitality ecosystem and MICE support</li>
<li>Partnership and governance readiness</li>
</ul>
</div>
<div class="col-lg-2">
<p class="footer-label">System</p>
<ul class="footer-links">
<li><a href="admin.php">Preview desk</a></li>
<li><a href="healthz.php">Health check</a></li>
<li class="footer-note"><?= h($storageMode) ?></li>
</ul>
</div>
</div>
<div class="footer-bar">
<span>© <?= h(current_year()) ?> PT. Genitri Bregas Persada</span>
<span>Genitri Ecco Wellness · <?= h(site_tagline()) ?></span>
</div>
</div>
</footer>
<?php if ($flash):
$toastClass = match ($flash['type']) {
'success' => 'text-bg-success',
'warning' => 'text-bg-warning',
'danger' => 'text-bg-danger',
default => 'text-bg-primary',
};
?>
<div class="toast-container position-fixed bottom-0 end-0 p-3">
<div class="toast align-items-center border-0 <?= h($toastClass) ?>" role="status" aria-live="polite" aria-atomic="true">
<div class="d-flex align-items-start">
<div class="toast-body"><?= h($flash['message']) ?></div>
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
</div>
</div>
<?php endif; ?>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/main.js?v=<?= h($jsVersion) ?>"></script>
</body>
</html>