feat: New ui content

- New frame examples
- Move first parts to macros
This commit is contained in:
sthag 2025-06-22 17:42:35 +02:00
parent 24efcefab3
commit 07e2e8ff6d
6 changed files with 296 additions and 157 deletions

View file

@ -0,0 +1,37 @@
---
title: TUI
tags:
- ui
---
{% set pageId = page.fileSlug %}
{% set pageClass = "h_full_view" %}
{% set bodyClass = "body_frame" %}
{% extends "hippie/_app.njk" %}
{% import "hippie/macros/_io.njk" as io %}
{% block title %}{{ title }}
{% endblock %}
{% block links %}
{{ super() }}
<link href="/vendor/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet">
<link href="{{ pageBase }}css/ui.css" media="all" rel="stylesheet"/>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block body %}
{{ io.frameHeader('title-bar') }}
<main class="io">
</main>
{{ io.frameFooter('mode-bar') }}
{% endblock %}
{%- block script %}
{{ super() }}
<script src="{{ pageBase }}js/app.js"></script>
<script></script>
{% endblock %}