mirror of
https://github.com/YouHaveTrouble/youhavetrouble.github.io.git
synced 2026-05-12 06:16:55 +00:00
terraria section, make images undraggable
This commit is contained in:
+16
-2
@@ -41,11 +41,25 @@
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<h2>Minecraft plugins</h2>
|
<h2>Minecraft projects</h2>
|
||||||
<div class="row" data-plugins>
|
<div class="row" data-plugins>
|
||||||
<noscript>Sorry, but this data is loaded by javascript, which seems to not be enabled!</noscript>
|
<noscript>Sorry, but this data is loaded by javascript, which seems to not be enabled!</noscript>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section>
|
||||||
|
<h2>Terraria projects</h2>
|
||||||
|
<div class="row">
|
||||||
|
<a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2897350075" class="hori-card" target="_blank">
|
||||||
|
<div class="icon">
|
||||||
|
<img draggable="false" src="https://steamuserimages-a.akamaihd.net/ugc/2006946285968997403/1444B38AE5A967655FD8C780CCD3A46DB08BCC86/?" alt=""/>
|
||||||
|
</div>
|
||||||
|
<div class="desc">
|
||||||
|
<b>YHT Mod</b>
|
||||||
|
<small>TModLoader mod with a bit of content and quality of life changes</small>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
<footer>
|
<footer>
|
||||||
<small>© Paweł "YouHaveTrouble" Michalewski</small>
|
<small>© Paweł "YouHaveTrouble" Michalewski</small>
|
||||||
</footer>
|
</footer>
|
||||||
@@ -53,7 +67,7 @@
|
|||||||
<template id="iconTemplate">
|
<template id="iconTemplate">
|
||||||
<a data-link class="hori-card" target="_blank">
|
<a data-link class="hori-card" target="_blank">
|
||||||
<div class="icon">
|
<div class="icon">
|
||||||
<img data-iconimage loading="lazy">
|
<img draggable="false" data-iconimage loading="lazy" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="desc">
|
<div class="desc">
|
||||||
<b data-name></b>
|
<b data-name></b>
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ async function getPlugins() {
|
|||||||
|
|
||||||
for (const plugin in json) {
|
for (const plugin in json) {
|
||||||
const pluginData = json[plugin];
|
const pluginData = json[plugin];
|
||||||
if (pluginData.client_side !== "unsupported") continue;
|
|
||||||
const clonedTemplate = template.content.cloneNode(true);
|
const clonedTemplate = template.content.cloneNode(true);
|
||||||
const projectType = pluginData.project_type;
|
const projectType = pluginData.project_type;
|
||||||
const slug = pluginData.slug;
|
const slug = pluginData.slug;
|
||||||
|
|||||||
Reference in New Issue
Block a user