Skip to content

Commit

Permalink
removing the word download from the hero card button (#159)
Browse files Browse the repository at this point in the history
* removing the word download from the hero card button

* Update README.md

* Update README.md
  • Loading branch information
DanCollinz authored Dec 7, 2023
1 parent 82e064c commit 268d9a6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions blocks/hero/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,7 @@ function buildCardContent(block) {
const name = document.createElement('p');
name.classList.add('name');
name.textContent = text;
const download = document.createElement('p');
download.classList.add('download');
download.textContent = 'Download';
wrapper.append(name, download);
wrapper.append(name);
a.replaceChildren(wrapper);
});

Expand Down

0 comments on commit 268d9a6

Please sign in to comment.