feat: Combine start and tile screens
- Combine start and tile content to start screen - Remove tile screen - Remove new css module - Integrate style to start module
This commit is contained in:
parent
ebed5a2d42
commit
2387e08ad0
10 changed files with 247 additions and 267 deletions
|
|
@ -1,45 +0,0 @@
|
|||
---
|
||||
title: Tile
|
||||
tags:
|
||||
- ui
|
||||
---
|
||||
{% assign bodyClass = 'body_new' -%}
|
||||
{% layout 'hippie/app.liquid' %}
|
||||
|
||||
{% block body %}
|
||||
{% render 'hippie/partials/header-status', hippie: hippie, links: start %}
|
||||
<header class="area menu io">
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="" class="a_button">Func 1</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="" class="a_button">Func 2</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="area grid">
|
||||
<div class="item">1</div>
|
||||
<div class="item">2</div>
|
||||
<div class="item">3</div>
|
||||
<div class="item">4</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{%- block script %}
|
||||
{{ block.super -}}
|
||||
<script>
|
||||
const timeElement = document.getElementById('time');
|
||||
const timeDisplay = new TimeDisplay(timeElement);
|
||||
|
||||
ongoing();
|
||||
|
||||
document.addEventListener('mousemove', (event) => {
|
||||
document
|
||||
.getElementById('log')
|
||||
.textContent = "X: " + event.pageX + ", Y: " + event.pageY;
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue