Update game.html
parent
4debd94d34
commit
baa99b499a
86
game.html
86
game.html
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Game - Tanks 2D</title>
|
||||
<title>Welcome to Tanki!</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
|
@ -16,7 +16,6 @@
|
|||
|
||||
.wrapper {
|
||||
margin-top: 80px; /* Отступ для контента под фиксированной шапкой */
|
||||
/* height: 100vh; */ /* Не нужно использовать высоту 100vh для обертки */
|
||||
overflow-y: auto; /* Включаем вертикальную прокрутку */
|
||||
}
|
||||
|
||||
|
@ -65,12 +64,12 @@
|
|||
padding: 20px;
|
||||
background-color: #222; /* Цвет фона контейнера */
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* Тень контейнера */
|
||||
box-shadow: 0 0 10px #748623; /* Тень контейнера */
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #007bff; /* Цвет заголовка */
|
||||
color: #748623; /* Цвет заголовка */
|
||||
}
|
||||
|
||||
p {
|
||||
|
@ -82,7 +81,7 @@
|
|||
.btn {
|
||||
display: inline-block;
|
||||
padding: 10px 20px;
|
||||
background-color: #007bff; /* Цвет кнопки */
|
||||
background-color: #748623; /* Цвет кнопки */
|
||||
color: #fff; /* Цвет текста на кнопке */
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
|
@ -90,7 +89,7 @@
|
|||
}
|
||||
|
||||
.btn:hover {
|
||||
background-color: #0056b3; /* Изменение цвета кнопки при наведении */
|
||||
background-color: #748623; /* Изменение цвета кнопки при наведении */
|
||||
}
|
||||
|
||||
.advertisement {
|
||||
|
@ -114,6 +113,16 @@
|
|||
margin: 0; /* Убираем внешние отступы */
|
||||
}
|
||||
|
||||
/* Стили для области оценки */
|
||||
#ratings {
|
||||
margin-top: 50px; /* Добавляем отступ сверху */
|
||||
text-align: center; /* Центрируем содержимое */
|
||||
}
|
||||
|
||||
#ratings input {
|
||||
width: 50px; /* Устанавливаем ширину поля ввода */
|
||||
margin: 10px; /* Добавляем отступы между элементами */
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -124,41 +133,48 @@
|
|||
<ul>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/game">Game</a></li>
|
||||
<li><a href="/link">Link</a></li>
|
||||
<li><a href="/support">Support</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="wrapper">
|
||||
<div class="container">
|
||||
<h1>Welcome to Tanki!</h1>
|
||||
<p>Experience the thrill of tank battles like never before. Join our community of players and dominate the battlefield!</p>
|
||||
<p>Get started now:</p>
|
||||
<a href="/about" class="btn">Learn More</a>
|
||||
|
||||
<div class="container">
|
||||
<h1>Tanks 2D</h1>
|
||||
<img src="https://img.poki.com/cdn-cgi/image/quality=78,width=314,height=314,fit=cover,f=auto/2fc66b5540735bef2565f422131519d8.png" alt="Tanks 2D Screenshot">
|
||||
|
||||
<p>
|
||||
Tanks 2D is an action-packed game where you control a tank and battle against other tanks in various environments.
|
||||
The game features multiple levels, unique weapons, and challenging obstacles.
|
||||
As you progress, you unlock new tanks and upgrades to enhance your gameplay experience.
|
||||
</p>
|
||||
|
||||
<h2>Key Features</h2>
|
||||
<p>
|
||||
- Fast-paced 2D tank battles<br>
|
||||
- Unique weapons and upgrades<br>
|
||||
- Various maps and environments<br>
|
||||
- Multiplayer modes and special events<br>
|
||||
</p>
|
||||
|
||||
<h2>How to Play</h2>
|
||||
<p>
|
||||
To start playing Tanks 2D, download the game using the link below and follow the instructions to install it.
|
||||
You can play single-player or join multiplayer battles to test your skills against other players.
|
||||
</p>
|
||||
|
||||
<a href="/download" class="download-link">Download Tanks 2D</a>
|
||||
<!-- Advertisement Section -->
|
||||
<div class="advertisement">
|
||||
<h2>Check out our latest game: Tanks 2D</h2>
|
||||
<p>Engage in fast-paced 2D tank battles with stunning graphics and intense gameplay!</p>
|
||||
<img src="https://cdn.discordapp.com/attachments/856238529502511144/1234090991045312543/image.png?ex=662f784c&is=662e26cc&hm=065a8314fa2f80d3f78d86beccbd81b4c1471065feba35a0dd0342d43376cfc7&" alt="Tanks 2D Advertisement">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Область для оценки -->
|
||||
<div id="ratings" class="container" style="margin-top: 1000px;"> <!-- Установите высоту в px в зависимости от контента выше -->
|
||||
<h2>Rate Our Website and Game</h2>
|
||||
<p>Please rate our website and game from 1 to 5 stars:</p>
|
||||
<div>
|
||||
<label for="websiteRating">Website:</label>
|
||||
<input type="number" id="websiteRating" name="websiteRating" min="1" max="5">
|
||||
</div>
|
||||
<div>
|
||||
<label for="gameRating">Game:</label>
|
||||
<input type="number" id="gameRating" name="gameRating" min="1" max="5">
|
||||
</div>
|
||||
<button onclick="submitRatings()">Submit Ratings</button>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.querySelector('.logo').addEventListener('click', function() {
|
||||
window.location.href = '/';
|
||||
});
|
||||
// Функция для отправки оценок
|
||||
function submitRatings() {
|
||||
var websiteRating = document.getElementById("websiteRating").value;
|
||||
var gameRating = document.getElementById("gameRating").value;
|
||||
|
||||
// Здесь можно добавить код для отправки оценок на сервер или их обработки
|
||||
|
||||
alert("Thank you for your ratings! \nFrom: Arsenij, Artem and Roma. :) \nWebsite: " + websiteRating + " stars\nGame: " + gameRating + " stars");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue