66 lines
3.3 KiB
PHP
66 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">
|
|
<title>Nibbles</title>
|
|
<meta name="description" content="A modern take on the classic Nibbles game, built with Flatlogic Generator.">
|
|
<meta name="keywords" content="nibbles game, snake game, retro gaming, browser game, html5 game, classic arcade, flatlogic">
|
|
<meta property="og:title" content="Nibbles">
|
|
<meta property="og:description" content="A modern take on the classic Nibbles game, built with Flatlogic Generator.">
|
|
<meta property="og:image" content="">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:image" content="">
|
|
|
|
<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=Poppins:wght@400;600&family=Roboto&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
|
|
</head>
|
|
<body>
|
|
|
|
<header class="py-3 mb-4 border-bottom">
|
|
<div class="container d-flex flex-wrap justify-content-center">
|
|
<a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-dark text-decoration-none">
|
|
<span class="fs-4">Nibbles</span>
|
|
</a>
|
|
<ul class="nav nav-pills">
|
|
<li class="nav-item"><a href="#game-section" class="nav-link">Play</a></li>
|
|
<li class="nav-item"><a href="#" class="nav-link">Leaderboard</a></li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="container">
|
|
<div class="p-5 mb-4 bg-light rounded-3" style="background-color: #e9c46a !important;">
|
|
<div class="container-fluid py-5">
|
|
<h1 class="display-5 fw-bold">Welcome to Nibbles!</h1>
|
|
<p class="col-md-8 fs-4">The classic snake game, reimagined for the modern web. Guide your snake to eat the food and grow longer, but don't run into the walls or yourself!</p>
|
|
<button class="btn btn-primary btn-lg" type="button" id="play-button">Play as Guest</button>
|
|
</div>
|
|
</div>
|
|
|
|
<section id="game-section" class="py-5">
|
|
<h2 class="text-center mb-4">Game On!</h2>
|
|
<div id="game-canvas">
|
|
<p class="text-center p-5">Your game will appear here. We are still building this part. Stay tuned!</p>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<footer class="py-3 my-4">
|
|
<div class="container">
|
|
<ul class="nav justify-content-center border-bottom pb-3 mb-3">
|
|
<li class="nav-item"><a href="#" class="nav-link px-2 text-muted">Home</a></li>
|
|
<li class="nav-item"><a href="#game-section" class="nav-link px-2 text-muted">Play</a></li>
|
|
<li class="nav-item"><a href="#" class="nav-link px-2 text-muted">Leaderboard</a></li>
|
|
</ul>
|
|
<p class="text-center text-muted">© 2025 Nibbles, Inc</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html> |