Skip to content

Commit

Permalink
remove download links entirely from mods page
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Jan 20, 2024
1 parent 5873045 commit 27512ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-mods-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ for (const mod of mods) {
.replace(/\$MOD_NAME/g, escape(mod.versions[0].modJSON.name))
.replace(/\$MOD_VERSION_LINKS/g, mod.versions
.map(ver => html`<a
href="${ver.entryJSON.mod.download}"
href="#"
fake-download="${ver.entryJSON.mod.download}"
class="
button wide
border-solid border-2 border-light border-opacity-25 hover:border-cyan
Expand Down
1 change: 1 addition & 0 deletions src/mods/[mod.id]/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ <h3 class="text-green font-head text-2xl">
>
<div class="flex flex-col items-start gap-2">
<!-- <h1 class="text-2xl mb-4">Versions</h1> -->
<p>You may download these easily in-game!</p>
$MOD_VERSION_LINKS
</div>
</div>
Expand Down

1 comment on commit 27512ca

@cdc-sys
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove download icon too then brah

Please sign in to comment.