First commit of group-ironmen-master directory.

This commit is contained in:
2025-10-27 08:25:16 +08:00
commit a8467389ef
26390 changed files with 35396 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
donate-button img.donate-button__logo {
margin-right: 0.25rem;
height: 20px;
image-rendering: crisp-edges;
image-rendering: pixelated;
}

View File

@@ -0,0 +1,6 @@
<a class="desktop" href="https://ko-fi.com/gimplugin" target="_blank">
<button class="men-button" type="button">
<img class="donate-button__logo" loading="lazy" src="/images/kofi_p_logo_nolabel.webp" height="20"/>
<span>Support</span>
</button>
</a>

View File

@@ -0,0 +1,22 @@
import { BaseElement } from "../base-element/base-element";
export class DonateButton extends BaseElement {
constructor() {
super();
}
html() {
return `{{donate-button.html}}`;
}
connectedCallback() {
super.connectedCallback();
this.render();
}
disconnectedCallback() {
super.disconnectedCallback();
}
}
customElements.define("donate-button", DonateButton);