This repository has been archived on 2026-11-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
DOSSIER-STANDALONE/website/layouts/index.html
T
karim 5a6129bee1 Dokumentations-/Marketing-Website hinzugefügt (Hugo, Hextra-Theme)
Erstmaliger Commit des website/-Unterprojekts (bisher nie versioniert).
Enthält Inhalt/Konfiguration (content/, data/, i18n/, hugo.toml) sowie das
vendorte Hextra-Theme; Build-Output (public/) und Lock-Datei bleiben über
website/.gitignore ausgeschlossen.
2026-10-08 20:25:14 +02:00

75 lines
3.0 KiB
HTML

{{/* Bespoke Startseite: löst den generischen "hextra-home.html"-Titel-nur-
Fallback ab. Hängt in Hextra's eigenem Navbar/Footer/Sidebar-Rahmen
(baseof.html "main"-Block, gleiche Struktur wie hextra-home.html),
Inhalt/Styling ist eigenständig unter .dossier-home (s. custom.css). */}}
{{ define "main" }}
{{ $p := .Site.Params.dossier }}
{{ $d := hugo.Data.dossier }}
<div class='hx:mx-auto hx:flex hextra-max-page-width'>
{{ partial "sidebar.html" (dict "context" . "disableSidebar" true) }}
<main id="content" class="hx:w-full hx:break-words hx:min-w-0 hx:pb-8 hx:pt-8 hx:md:pt-12 hx:pl-[max(env(safe-area-inset-left),1.5rem)] hx:pr-[max(env(safe-area-inset-left),1.5rem)]">
<div class="dossier-home">
<section class="dh-section dh-hero">
<h1 class="dh-hook">{{ $p.hookMain }} <span class="accent">{{ $p.hookAccent }}</span></h1>
<p class="dh-lead">{{ $p.lead }}</p>
<div class="dh-actions">
<a class="dh-btn dh-btn--primary" href="/docs/">Dokumentation ansehen</a>
<a class="dh-btn dh-btn--ghost" href="{{ $p.repo }}">Quellcode ↗</a>
</div>
{{/* Miniatur-Nachbau der echten Oberleiste — Ansichts-Segmentpille,
Kommandozeile —, in den echten Programmfarben. Bewusst kein
Screenshot: veraltet nie, lädt ohne Bild. */}}
<div class="dh-mockup" aria-hidden="true">
<span class="dh-seg">
<span class="dh-seg__cell">Grundriss</span>
<span class="dh-seg__cell is-active">3D</span>
<span class="dh-seg__cell">Schnitt</span>
</span>
<span class="dh-cmd">wand</span>
<span class="dh-cmd">5,3&nbsp;·&nbsp;r5,3&nbsp;·&nbsp;5&lt;45</span>
</div>
<p class="dh-meta">{{ $p.meta }}</p>
</section>
<section class="dh-section dh-ansatz">
<h2>{{ $p.ansatzTitle }}</h2>
<p>{{ $p.ansatzBody }}</p>
<p class="dh-views">{{ $p.ansatzViews }}</p>
</section>
<section class="dh-section dh-features">
<p class="dh-label">Funktionen</p>
<dl class="dh-feature-list">
{{ range $d.features }}
<div class="dh-feature-row">
<dt>{{ .title | safeHTML }}</dt>
<dd>{{ .body | safeHTML }}</dd>
</div>
{{ end }}
</dl>
</section>
<section class="dh-section dh-stack">
<span class="dh-label">Aufgebaut auf</span>
<p class="dh-stack-list">{{ delimit $d.stack " · " }}</p>
</section>
<section class="dh-section dh-origin">
<h2>{{ $p.originTitle }}</h2>
<p>{{ $p.originBody }}</p>
<div class="dh-cta">
<a class="dh-btn dh-btn--ghost" href="{{ $p.bureau }}">openbureau ↗</a>
<a class="dh-btn dh-btn--ghost" href="{{ $p.rapport }}">rapport (Büro-Software) ↗</a>
<a class="dh-btn dh-btn--ghost{{ if $p.forumSoon }} hx:opacity-60{{ end }}" href="{{ $p.forum }}">Forum{{ if $p.forumSoon }} (bald){{ end }} ↗</a>
</div>
</section>
</div>
</main>
</div>
{{ end }}