fix: Intro

- Move style inside .body_intro
- Fix overlap of ids
This commit is contained in:
sthag 2026-03-08 18:54:44 +01:00
parent 6ae411c83b
commit 30fcd22a7b
3 changed files with 148 additions and 149 deletions

View file

@ -4,7 +4,6 @@ tags:
- game
---
{% assign pageId = "init" %}
{% assign bodyClass = 'body_intro' -%}
{% layout 'hippie/app.liquid' %}
@ -20,7 +19,7 @@ tags:
<div id="status">0%</div>
</div>
</div>
<div id="intro" class="step op_hide">
<div id="init" class="step op_hide">
<div id="hint" class="toast di_none" role="alert" aria-live="assertive" aria-atomic="true">
<p>Hold
<kbd>space</kbd>
@ -74,7 +73,7 @@ tags:
msgNo: 'No agreement today.'
}
};
const intro = document.getElementById('intro');
const intro = document.getElementById('init');
const agreement = steps.agreement.element;
const hint = {
element: document.getElementById('hint'),