Initial Commit, final submission

This commit is contained in:
Eclypsed
2024-12-19 18:21:27 -05:00
commit 87f1c79481
29 changed files with 4126 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import TanocStoreLogoImage from '@images/tanocStoreLogo.png'
const template = document.createElement('template')
template.innerHTML = `
<a class="bg-primary inline-block" href="https://www.tanocstore.net/" target="_blank">
<img alt="TANO*C STORE Logo" class="opacity-0" aria-hidden="true" />
</a>
`
class TanocStoreLogo extends HTMLElement {
constructor() {
super()
this.appendChild(template.content.cloneNode(true))
const image = this.querySelector('img')!
image.src = TanocStoreLogoImage
const link = this.querySelector('a')!
link.style.maskImage = `url("${TanocStoreLogoImage}")`
}
public static define() {
customElements.define('tanoc-store-logo', TanocStoreLogo)
}
}
export default TanocStoreLogo