1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00
This commit is contained in:
zumbiepig 2024-09-03 08:15:06 -07:00
parent 5b6dbdd42d
commit b8aa84b936
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE
14 changed files with 23 additions and 31 deletions

View File

@ -31,7 +31,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -209,7 +209,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -94,7 +94,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -114,7 +114,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -44,7 +44,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -63,7 +63,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -60,7 +60,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -31,7 +31,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -3,10 +3,6 @@
src: url(/resources/fonts/Minecraftia-Regular.ttf); src: url(/resources/fonts/Minecraftia-Regular.ttf);
} }
a:visited {
color: blue;
}
body { body {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -504,6 +500,10 @@ nav {
margin-bottom: 5px; margin-bottom: 5px;
} }
.mod-item .mod-author a {
color: #0000ff
}
.mod-item .mod-description { .mod-item .mod-description {
font-size: 14px; font-size: 14px;
color: #bbb; color: #bbb;

View File

@ -56,7 +56,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -76,7 +76,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -57,7 +57,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -48,7 +48,7 @@
</div> </div>
<div class="bottom-bar"> <div class="bottom-bar">
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<a class="bottom-bar-left link" onclick="window.open('https://discord.gg/YKgfuFvKhA')">Join the MineXLauncher Discord</a> <a href="https://discord.gg/YKgfuFvKhA" class="bottom-bar-left link" target="_blank">Join the MineXLauncher Discord</a>
</div> </div>
<div class="bottom-bar-links"> <div class="bottom-bar-links">
<span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span> <span class="bottom-bar-right">© 2024 MineXLauncher. All rights reserved.</span>

View File

@ -531,21 +531,13 @@ if (window.location.pathname === '/settings/') {
addonData[addonType].forEach((addon) => { addonData[addonType].forEach((addon) => {
const modItem = document.createElement('div'); const modItem = document.createElement('div');
modItem.classList.add('mod-item'); modItem.classList.add('mod-item');
modItem.innerHTML = `<div class="mod-icon"> modItem.innerHTML = `<div class="mod-icon"><img loading="lazy" src="/resources/mods/icons/${addon.id}.webp" /></div><div class="mod-details"><strong class="mod-name">${
<img loading="lazy" src="/resources/mods/icons/${addon.id}.webp" /> addon.name
</div> }</strong><p class="mod-author">By <a href="${addon.authorLink} target="_blank">${addon.author}</a></p><p class="mod-description">${addon.description}</p></div><div class="mod-links">${
<div class="mod-details">
<strong class="mod-name">${addon.name}</strong>
<p class="mod-author">By <a href="${addon.authorLink}" target="_blank">${addon.author}</a></p>
<p class="mod-description">${addon.description}</p>
</div>
<div class="mod-links">
${
addonType === 'mods' addonType === 'mods'
? `<a class="mod-install" id="mod-install-${addon.id}" onclick="mods.toggle('${addon.id}')">Install</a>` ? `<a class="mod-install" id="mod-install-${addon.id}" onclick="mods.toggle('${addon.id}')">Install</a>`
: `<a href="/resources/mods/downloads/${addon.id}.zip" class="mod-download" download>Download</a>` : `<a href="/resources/mods/downloads/${addon.id}.zip" class="mod-download" download>Download</a>`
} }</div>`;
</div>`;
modList?.appendChild(modItem); modList?.appendChild(modItem);
}); });