Compare commits

..

3 commits

Author SHA1 Message Date
42a20c83f5 feat: replace transition with new variable 2024-08-14 18:08:41 +02:00
95a18e636f fix: change placeholder language 2024-08-14 18:02:45 +02:00
7ae8799d4f feat: add variables to templates 2024-08-14 17:57:41 +02:00
6 changed files with 8 additions and 11 deletions

View file

@ -3,14 +3,13 @@ title: Card
tags:
- demoExample
---
{% set pageBase = "../" %}
{% set pageId = page.fileSlug %}
{% set pageClass = "html_card" %}
{% extends "demo/_default.njk" %}
{% import "hippie/macros/_placeholder.njk" as ph %}
{% block title %}Karte{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block head %}
{{ super() }}
@ -47,7 +46,7 @@ tags:
</div>
<div class="card_box">
<div id="jsCardHover">
<p>Titel<br/>and description</p>
<p>Titel<br/>und Beschreibung</p>
<h1>{{ ph.name() }}</h1>
<p>
{{ ph.email('card_address') }}<br/>

View file

@ -3,15 +3,13 @@ title: Portal
tags:
- demoExample
---
{% set pageBase = "../" %}
{% set pageId = page.fileSlug %}
{% set bodyClass = "body_portal" %}
{% extends "demo/_default.njk" %}
{% import "demo/macros/_gates.njk" as gate %}
{% block title %}Portal{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block head %}
{{ super() }}

@ -1 +1 @@
Subproject commit 84ddbceb9a130943c3833b3d937bd7beac2e71d3
Subproject commit ca9dbcb48ceb8347aaff4b69e852e419f55ef65a

View file

@ -21,7 +21,7 @@ $portal_icon_size: 64px;
padding-left: $portal_margin;
overflow-x: hidden;
overflow-y: auto;
transition: flex 500ms cubic-bezier(0, 0, 0.2, 1.4), background 800ms ease;
transition: $transition_best;
&:hover {
flex: 3;

View file

@ -5,9 +5,9 @@
{% macro link(class='', text='domain.tld', href='http://domain.internal') %}
<a class="{{ class }}" href="{{ href }}">{{ text }}</a>
{% endmacro %}
{% macro name(class='', text='Prename Surname') %}
{% macro name(class='', text='Vorname Nachname') %}
<span class="{{ class }}">{{ text }}</span>
{% endmacro %}
{% macro address(class='', text='Street No., Postcode City') %}
{% macro address(class='', text='Straße Nr., PLZ Ort') %}
<span class="{{ class }}">{{ text }}</span>
{% endmacro %}

View file

@ -1,6 +1,6 @@
<!-- head.meta.partial -->
<meta name="author" content="">
<meta name="generator" content="">
<meta name="generator" content="{{ eleventy.generator }}">
<meta name="description" content="">
<meta name="robots" content="noindex">