diff options
Diffstat (limited to 'layouts/blog/baseof.html')
-rw-r--r-- | layouts/blog/baseof.html | 27 |
1 files changed, 27 insertions, 0 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--; |