-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
92 lines (92 loc) · 4.97 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#">
<title>POKEDEX</title>
<link rel="icon" href="./icons/favicon.ico">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/normalize.css">
<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=Rowdies:wght@300;400;700&display=swap" 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=Rubik:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap" rel="stylesheet">
</head>
<body>
<!--------------------- $Header ------------------------>
<header class="main-header l-section">
<img class="main-header__hero-image" src="./images/main-banner.jpg" alt="Image hero de fondo.">
<div class="l-container">
<div class="main-header__content">
<div>
<img class="main-logo" src="./images/main-logo-white.png" alt="Logo principal del sitio web.">
<!--------------------- $Search ------------------------>
<form id="js-formSearch" class="form" action="">
<div class="form__input">
<i class="icon-pokeball"></i>
<input id="js-inputSearch" class="form__search" type="search" name="input-search" placeholder="Ingresa nombre o Id" required>
</div>
<div class="form__input button">
<i class="icon-search"></i>
<input class="form__submit" type="submit" class="icon-search" value="">
</div>
</form>
<a id="js-linkRandomGenerator" class="icon-random main-header__link" href="./">Generar Pokémon aleatorio</a>
</div>
<div id="js-pokemonContainer" class="pokemon">
<!--
<div class="card-pokemon card-pokemon--vertical">
<div class="card-pokemon__content">
<span class="icon-pokeball card-pokemon__id">#<span>144</span></span>
<div class="card-pokemon__container-image">
<img class="card-pokemon__image" src="https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/dream-world/144.svg" alt="">
</div>
<h2 class="card-pokemon__name">articuno</h2>
</div>
<div class="card-pokemon__tags">
<span class="tag">ice</span>
<span class="tag">flying</span>
</div>
</div>
-->
</div>
</div>
</div>
</header>
<main class="main">
<div class="l-container center-content">
<!--------------------- $Select ------------------------>
<div class="select">
<i class="icon-pokeball select__title">Lista por</i>
<select id="js-select" class="select__list" name="" id="js-select">
<option class="select__item" value="">---</option>
</select>
</div>
<!--------------------- $List cards ------------------------>
<section id="js-pokemon-list" class="pokemon-list l-section">
<div id="js-pagination" class="pagination-nav l-section"></div>
<div class="grid">
<!--<article class="grid__item card card-pokemon">
<div class="card-pokemon__content">
<span class="card-pokemon__id">#00<span>${pokemon.id}</span></span>
<div class="card-pokemon__container-image">
<img class="card-pokemon__image" src="${pokemon.sprites.other.dream_world.front_default}" alt="">
</div>
<h2 class="card-pokemon__name">${pokemon.name}</h2>
</div>
<div class="card-pokemon__tags">
<span class="tag">${pokemon.types[0].type.name}</span>
${pokemon.types.length === 2 ? `<span class="tag">${pokemon.types[1].type.name}</span>` : ''}
</div>
</article>-->
</div>
</section>
</div>
</main>
<script src="./script.js"></script>
</body>
</html>