-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (58 loc) · 2.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="global.css" />
<link rel="shortcut icon" href="assets/corrida-e-pulo.gif" type="image/x-icon">
<title>Amelio's Farm</title>
</head>
<body>
<div class="game-container">
<div class="home">
<header class="home-header">
<h1 class="header-title text-animated">Amelio's Farm</h1>
<img
class="header-image"
src="assets/corrida-e-pulo.gif"
alt="Soja Especial"
/>
</header>
<main class="home-main">
<ul class="main-list">
<li id="start" class="list-item icon">
<button onclick="onModalUserName()" class="item-button">
<p class="item-text text-animated">Start Game</p>
</button>
</li>
<li id="score" class="list-item">
<button onclick="redirectScoreScreen()" class="item-button">
<p class="item-text text-animated">Score</p>
</button>
</li>
</ul>
</main>
<!-- <footer class="home-footer"><p class="footer-text">Direitos reservados @Elevii</p></footer> -->
</div>
</div>
<!-- MODAL -->
<div class="modal game-container desactive">
<div class="modal-content">
<button class="close" onclick="closeModal()">x</button>
<h2 class="text-animated">Insira seu nome:</h2>
<div class="container">
<input
class="modal-input"
type="text"
placeholder="Ex: Supreme"
name="user"
/>
<span class="not-found desactive">Insira nome de usuário</span>
<span class="error desactive">Insira um nome com mais de três (3) caracteres.</span>
</div>
<button class="modal-button" onclick="saveUser()">Start</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>