Initial DEV environment from production snapshot

This commit is contained in:
2025-11-22 10:51:24 +00:00
commit 143a17a6e7
18 changed files with 474 additions and 0 deletions

18
index.php Executable file
View File

@@ -0,0 +1,18 @@
<?php
$page_title = "Benvenuto";
include __DIR__ . '/header.php';
?>
<div class="text-center mt-5">
<h1>Benvenuto su Diplomacy Web App</h1>
<p class="lead">Gioca con i tuoi amici su invito! Registrati o effettua il login per iniziare.</p>
<?php if(!is_logged_in()): ?>
<a href="<?= BASE_URL ?>/auth/register.php" class="btn btn-primary btn-lg me-2">Registrati</a>
<a href="<?= BASE_URL ?>/auth/login.php" class="btn btn-secondary btn-lg">Login</a>
<?php else: ?>
<a href="<?= BASE_URL ?>/game/dashboard.php" class="btn btn-success btn-lg">Vai alla Dashboard</a>
<?php endif; ?>
</div>
<?php include __DIR__ . '/footer.php'; ?>