summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/blog/baseof.html27
-rw-r--r--layouts/partials/single/dates.html2
2 files changed, 28 insertions, 1 deletions
diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html
index 7b86dd3..f0a02ad 100644
--- a/layouts/blog/baseof.html
+++ b/layouts/blog/baseof.html
@@ -363,6 +363,20 @@
{{- $img1x := $img.Resize "100x webp" }}
{{- $img2x := $img.Resize "200x webp" }}
right: [ {{ $img1x.Permalink }}, {{ $img2x.Permalink }} ],
+ },
+ state4:{
+ {{- $img := resources.Get "blog/logo/grim.png" }}
+ {{- $img1x := $img.Resize "100x webp" }}
+ {{- $img2x := $img.Resize "200x webp" }}
+ front: [ {{ $img1x.Permalink }}, {{ $img2x.Permalink }} ],
+ {{- $img := resources.Get "blog/logo/right.png" }}
+ {{- $img1x := $img.Resize "100x webp" }}
+ {{- $img2x := $img.Resize "200x webp" }}
+ left: [ {{ $img1x.Permalink }}, {{ $img2x.Permalink }} ],
+ {{- $img := resources.Get "blog/logo/left.png" }}
+ {{- $img1x := $img.Resize "100x webp" }}
+ {{- $img2x := $img.Resize "200x webp" }}
+ right: [ {{ $img1x.Permalink }}, {{ $img2x.Permalink }} ],
}
}
@@ -371,6 +385,19 @@
const faceImg = document.getElementById('face');
+ setTimeout(() => {
+ const moneyLink = document.getElementById('moneyLink');
+
+ moneyLink.addEventListener( 'mouseover', function() {
+ health = "300"
+ state = "state4"
+
+ updateFace(getStateFaces().front);
+ })
+ }, 100)
+
+
+
faceImg.addEventListener( 'click', function() {
health--;
diff --git a/layouts/partials/single/dates.html b/layouts/partials/single/dates.html
index c8877e1..94913c3 100644
--- a/layouts/partials/single/dates.html
+++ b/layouts/partials/single/dates.html
@@ -23,7 +23,7 @@
{{ end }}
This page is licensed under a <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0 Deed</a> license.
- If you found this site interesting, you can <a href="https://ko-fi.com/mmspl">buy me a coffee</a>.
+ If you found this site interesting, you can <a id="moneyLink" href="https://ko-fi.com/mmspl">buy me a coffee</a>.
You can contact me via <a href="/me/contact/">email</a> or using <a href="https://emacs.ch/@mms">mastodon</a>.
</aside>