Files
nexus/partials/structure/layout_end.php
Lars Gebhardt-Kusche 48b7583f19
All checks were successful
Deploy / deploy-staging (push) Successful in 6s
Deploy / deploy-production (push) Has been skipped
yyxx
2026-05-05 23:46:23 +02:00

19 lines
660 B
PHP
Executable File

</main>
<?php if (auth_is_admin()): ?>
<?php
$nexusDebugPayload = json_encode([
'enabled' => nexus_debug_enabled(),
'entries' => nexus_debug_entries(),
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
if (!is_string($nexusDebugPayload)) {
$nexusDebugPayload = '{"enabled":false,"entries":[]}';
}
?>
<div id="nexus-debug-root"></div>
<script id="nexus-debug-data" type="application/json"><?= $nexusDebugPayload ?></script>
<?php endif; ?>
<script src="<?= e(app()->assets()->versioned('/assets/js/app.js')) ?>" defer></script>
<?php asset_scripts('footer'); ?>
</body>
</html>