update styles and html for online mods page, add open external link function

This commit is contained in:
2026-01-20 20:32:35 +01:00
parent 43ad575e75
commit d647fcefc2
6 changed files with 64 additions and 6 deletions

View File

@@ -80,8 +80,18 @@
<template id="mod-template">
<div class="mod-container">
<h3 id="mod-title"> Mod Title </h3>
<p id="mod-description"> description </p>
<div class="mod-text">
<h3 id="mod-title">Mod Title</h3>
<p id="mod-description">description</p>
<p class="transparent-text">V1.0.0 last update on 01/01/2026</p>
<div class="mod-actions">
<button class="default-button" onclick="downloadMod()">Download</button>
<a href="https://google.com" class="default-button" id="external-link">Website</a>
</div>
</div>
<img class="mod-icon" src="assets/placeholder_icon.png" alt="mod icon">
</div>
</template>