36030-vm/index.php
Flatlogic Bot c93847b916 1
2025-11-22 15:17:24 +00:00

68 lines
3.3 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO and Meta Tags -->
<title><?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Paper Bingo'); ?></title>
<meta name="description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'A digital version of the classic paper and pen bingo game.'); ?>">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="<?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Paper Bingo'); ?>">
<meta property="og:description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'A digital version of the classic paper and pen bingo game.'); ?>">
<meta property="og:image" content="<?php echo htmlspecialchars(getenv('PROJECT_IMAGE_URL') ?: ''); ?>">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="<?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Paper Bingo'); ?>">
<meta property="twitter:description" content="<?php echo htmlspecialchars(getenv('PROJECT_DESCRIPTION') ?: 'A digital version of the classic paper and pen bingo game.'); ?>">
<meta property="twitter:image" content="<?php echo htmlspecialchars(getenv('PROJECT_IMAGE_URL') ?: ''); ?>">
<!-- Stylesheets -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<div id="countdown-overlay" class="countdown-overlay">
<span id="countdown-number">3</span>
</div>
<main class="container game-container my-5">
<header class="text-center mb-4">
<h1 class="display-4 fw-bold"><?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Paper Bingo'); ?></h1>
<p class="lead">Tap the cells to fill the grid from 1 to 25 as fast as you can.</p>
</header>
<section class="card shadow-sm mb-4">
<div class="card-body text-center">
<div class="d-flex justify-content-around align-items-center">
<div>
<h2 class="h6 text-muted mb-1">Time</h2>
<div id="timer" class="timer">00:00</div>
</div>
<div>
<h2 class="h6 text-muted mb-1">Status</h2>
<div id="status-message" class="status-message">Waiting to start...</div>
</div>
</div>
</div>
</section>
<section id="bingo-grid" class="grid-container shadow-sm"></section>
</main>
<footer class="text-center mt-5 text-muted">
<p>&copy; <?php echo date("Y"); ?> <?php echo htmlspecialchars(getenv('PROJECT_NAME') ?: 'Paper Bingo'); ?>. All rights reserved.</p>
</footer>
<!-- Scripts -->
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>