Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
FireguiQueen committed Apr 16, 2024
1 parent bba05b6 commit 8efe42d
Show file tree
Hide file tree
Showing 23 changed files with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions assets/javascript/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function CreatCard(nome, desenho)
{
return`
<a href="./Draws/${desenho}/index.html" target="blank">
<a href="./draws/${desenho}/index.html" target="blank">
<div id="card" style="background-image: url(./assets/images/${desenho}.png);">
<ul id="draws-name">
<li>${nome}</li>
Expand All @@ -12,32 +12,32 @@ function CreatCard(nome, desenho)

const draws = [
{
name: "Clã Uchiha",
name: "Clan Uchiha",
file: 'Uchiha'
},
{
name: "Cubo",
file: 'Cube'
name: "Cube",
file: 'cube'
},
{
name: "Flor",
file: 'Flower'
name: "Flower",
file: 'flower'
},
{
name: "Gato",
file: 'Cat'
name: "Cat",
file: 'cat'
},
{
name: "Eric Cartman",
file: 'Eric-Cartman'
file: 'eric-cartman'
},
{
name: "Gumball",
file: 'Gumball'
file: 'gumball'
},
{
name: "Em breve",
file: 'Soon'
name: "Soon",
file: 'soon'
}
];
const drawListLength = draws.length;
Expand All @@ -47,5 +47,4 @@ for (let i = 0; i < drawListLength; i++)
{
const {name, file} = draws[i];
section.innerHTML += CreatCard(name, file);
}

}
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8efe42d

Please sign in to comment.