@@ -25,15 +25,15 @@ function renderPokemonIndex(pokemons: Array<Pokemon>): string {
25
25
<meta charset="UTF-8">
26
26
<meta http-equiv="X-UA-Compatible" content="IE=edge">
27
27
<meta name="viewport" content="width=device-width, initial-scale=1.0">
28
- <title>Pokédex </title>
28
+ <title>PokeQuickDex </title>
29
29
<link rel="stylesheet" href="css/styles.css">
30
30
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5418523060607609"
31
31
crossorigin="anonymous"></script>
32
32
<link rel="canonical" href="https://pokequickdex.vercel.app" />
33
33
<script defer src="/_vercel/insights/script.js"></script>
34
34
</head>
35
35
<body>
36
- <h1>Pokédex </h1>
36
+ <h1>Poke Quick Dex </h1>
37
37
<div class="search-filter-container">
38
38
<input type="text" id="search-input" class="search-input" placeholder="Search Pokémon..." />
39
39
<select id="type-select" class="type-select">
@@ -162,7 +162,7 @@ function renderPokemonIndex(pokemons: Array<Pokemon>): string {
162
162
<html>
163
163
${ head ( pokemon . name ) }
164
164
<body>
165
- <h1>${ pokemon . name . charAt ( 0 ) . toUpperCase ( ) + pokemon . name . slice ( 1 ) } <span class="pokemon-id">( #${ String ( pokemon . id ) . padStart ( 4 , '0' ) } ) </span></h1>
165
+ <h1>${ pokemon . name . charAt ( 0 ) . toUpperCase ( ) + pokemon . name . slice ( 1 ) } <span class="pokemon-id">#${ String ( pokemon . id ) . padStart ( 4 , '0' ) } </span></h1>
166
166
<h2 class="section-title">Pokédex Description</h2>
167
167
<p class="description">${ pokemon . pokedexDescription } </p>
168
168
<div class="pokemon-container">
@@ -255,7 +255,7 @@ function head(title: string): string {
255
255
}
256
256
257
257
( async ( ) => {
258
- const pokemons = await loadPokemons ( 50 ) ;
258
+ const pokemons = await loadPokemons ( 1010 ) ;
259
259
const indexHtml = renderPokemonIndex ( pokemons ) ;
260
260
await writeFile ( "index.html" , indexHtml ) ;
261
261
0 commit comments