feat: Change global mouse interaction

- Add .body_intro to intro screen
- Change mouse over identifier
- Introduce HippieFade as global function
- Replace #js_mob with HippieFade
- Remove old partial
This commit is contained in:
sthag 2025-10-25 09:32:22 +02:00
parent 65d80fcbc4
commit ac8f55a7c9
8 changed files with 62 additions and 40 deletions

View file

@ -5,6 +5,7 @@ tags:
---
{% set pageId = "init" %}
{% set bodyClass = "body_intro" %}
{% extends "hippie/_app.njk" %}
{% import "hippie/macros/_placeholder.njk" as ph %}
@ -51,7 +52,7 @@ tags:
<p>This needs to be seen and acknowledged.<br>So an interaction must be made to continue.</p>
</div>
<div id="idle" class="step op_hide">
<div class="mouse_over"></div>
<div class="mouse-overlay"></div>
<div class="hello">Hello World!</div>
<p class="hello">Only left mouse click or any key</p>
</div>
@ -140,7 +141,7 @@ tags:
.then(showAgreement)
.then(showIdle)
.catch(er => console.error(er))
. finally(() => {
.finally(() => {
console.debug('Init end.', isAgree);
// location = 'demo/examples/ui/new.html';
});