37392-vm/index.php
Flatlogic Bot a288b28941 Gastos01
2026-01-12 23:45:59 +00:00

74 lines
2.6 KiB
PHP

<?php
declare(strict_types=1);
@ini_set('display_errors', '1');
@error_reporting(E_ALL);
@date_default_timezone_set('UTC');
$phpVersion = PHP_VERSION;
$now = date('Y-m-d H:i:s');
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>New Style</title>
<?php
// Read project preview data from environment
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
?>
<?php if ($projectDescription): ?>
<!-- Meta description -->
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
<!-- Open Graph meta tags -->
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<!-- Twitter meta tags -->
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<?php endif; ?>
<?php if ($projectImageUrl): ?>
<!-- Open Graph image -->
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<!-- Twitter image -->
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<?php endif; ?>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css">
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #F3F4F6;
color: #111827;
}
.btn-primary {
background-color: #4F46E5;
border-color: #4F46E5;
}
.btn-primary:hover {
background-color: #4338CA;
border-color: #4338CA;
}
</style>
</head>
<body>
<main>
<div class="container">
<div class="px-4 py-5 my-5 text-center">
<h1 class="display-5 fw-bold text-body-emphasis">Gestor de Gastos Familiar</h1>
<div class="col-lg-6 mx-auto">
<p class="lead mb-4">Bienvenido a tu espacio financiero compartido. Registra gastos, crea presupuestos y mantén el control de tus finanzas en pareja.</p>
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
<a href="add_expense.php" type="button" class="btn btn-primary btn-lg px-4 gap-3">Añadir Gasto</a>
<button type="button" class="btn btn-outline-secondary btn-lg px-4">Ver Resumen</button>
</div>
</div>
</div>
</div>
</main>
<footer>
Page updated: <?= htmlspecialchars($now) ?> (UTC)
</footer>
</body>
</html>