-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (107 loc) · 5.88 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Inicio | Tres En Raya JS Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Tres En Raya hecho en JavaScript">
<meta name="keywords" content="game, JS, public-game">
<meta name="author" content="devparada">
<!-- Twitter -->
<meta property="twitter:title" content="Tres En Raya Game">
<meta property="twitter:description" content="Tres En Raya hecho en JavaScript">
<meta property="twitter:image" content="https://tresenrayajs.vercel.app/img/cartel.jpg">
<meta name="twitter:card" content="summary_large_image">
<!-- Open Graph -->
<meta property="og:title" content="Tres En Raya Game">
<meta property="og:description" content="Tres En Raya hecho en JavaScript">
<meta property="og:url" content="https://tresenrayajs.vercel.app">
<meta property="og:type" content="website">
<meta property="og:image" content="https://tresenrayajs.vercel.app/img/cartel.jpg">
<meta property="og:site_name" content="TresEnRayaJS">
<!-- Favicon -->
<link rel="icon" href="img/favicon.png" sizes="16x16 32x32" ttype="image/png">
<!-- Google Fonts -->
<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=Roboto:ital,wght@0,300;0,500;0,700;1,300;1,500;1,700&display=swap"
rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,500;0,700;1,300;1,500;1,700&display=swap"
rel="stylesheet">
</noscript>
<!-- Hojas de estilo -->
<link href="css/estilos.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"
rel="preload" as="style" onload="this.onload=null;this.rel='stylesheet'" rel="stylesheet">
<noscript>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"
rel="stylesheet">
</noscript>
<link rel="manifest" href="/manifest.json">
</head>
<body>
<header
class="barra-header d-flex flex-wrap align-items-center justify-content-center justify-content-md-between p-2">
<a href="#" class="d-flex align-items-center col-md-3 text-decoration-none">
<img src="img/favicon.png" alt="Logotipo cabecera" class="logo">
<p class="text-white mb-0 texto-logo">TresEnRayaJS</p>
</a>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid d-flex justify-content-between align-items-center">
<a href="#" class="enlace-movil navbar-brand align-items-center">
<img src="img/favicon.png" alt="Logotipo cabecera móvil" width="50"
class="d-inline-block align-text-top logo">
<p class="text-white mb-0">TresEnRayaJS</p>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarMovil"
aria-controls="navbarMovil" aria-expanded="false" aria-label="Alternar la navegación">
<span class="navbar-toggler-icon text-white"></span>
</button>
<div class="collapse navbar-collapse mt-1" id="navbarMovil">
<ul class="nav-pills navbar-nav d-flex flex-row align-items-center justify-content-center gap-1">
<li class="nav-item">
<a href="#" class="nav-link text-white active px-3 py-2" aria-current="active">🏠 Inicio</a>
</li>
<li class="nav-item">
<a href="pages/cpu.html" class="nav-link text-white px-3 py-2">💻 CPU</a>
</li>
<li class="nav-item">
<a href="pages/2jugadores.html" class="nav-link text-white px-3 py-2">🧑 2 jugadores</a>
</li>
</div>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class="container">
<img src="img/favicon.png" alt="Logotipo" width="100">
<h1 class="m-1">Tres en Raya Game</h1>
<p class="m-2">Selecciona un modo de juego</p>
<div class="container d-flex justify-content-center flex-row gap-3 m-3">
<button class="botones btn btn-primary px-4 py-2" id="boton-cpu">💻 CPU</button>
<button class="botones btn btn-primary px-4 py-2" id="boton-2jugadores">🧑 2 jugadores</button>
</div>
</div>
<!-- Script -->
<script src="js/inicio.js"></script>
</main>
<footer class="footer text-center text-white">
<div class="container py-3">
<p class="mb-2">Hecho por <a href="https://github.com/devparada" class="link-info">devparada</a> ❤️
para la comunidad</p>
<a href="https://github.com/devparada/TresEnRayaJS" class="link-info">Código fuente</a> de este juego
<p class="mt-2">Este juego está desplegado en 🌐 Vercel</p>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</body>
</html>