Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,19 @@ <h1 id="hero-title">Java PDF layout engine for structured business documents.</h
</div>
</section>

<section class="layered-callout section-shell" aria-labelledby="layered-title">
<div class="layered-card">
<span class="layered-badge">NEW</span>
<h2 id="layered-title">Building your own templates?</h2>
<p>The <strong>layered architecture</strong> guide walks you through the five-folder pattern &mdash; <code>data</code> / <code>theme</code> / <code>components</code> / <code>widgets</code> / <code>presets</code> &mdash; with a worked CV example, widget cookbook, and step-by-step contributor checklist. New templates and major rewrites follow this shape.</p>
<div class="layered-actions">
<a class="button button-primary" href="https://github.com/DemchaAV/GraphCompose/tree/develop/docs/templates/v2-layered">Quickstart (5 min)</a>
<a class="button button-secondary" href="https://github.com/DemchaAV/GraphCompose/blob/develop/docs/templates/v2-layered/authoring-presets.md">Author a preset</a>
<a class="button button-ghost" href="https://github.com/DemchaAV/GraphCompose/blob/develop/docs/templates/v2-layered/contributor-guide.md">Add a template family</a>
</div>
</div>
</section>

<section class="value-prop section-shell" aria-labelledby="value-title">
<div class="value-grid">
<div>
Expand Down
57 changes: 57 additions & 0 deletions docs/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,63 @@ h2 {
font-size: 0.94em;
}

/* Layered architecture callout */
.layered-callout {
padding-top: 32px;
padding-bottom: 32px;
}

.layered-card {
position: relative;
padding: 28px 32px;
border-radius: 14px;
background: linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(99, 102, 241, 0.10));
border: 1px solid rgba(129, 140, 248, 0.35);
}

.layered-badge {
display: inline-block;
padding: 4px 10px;
font-size: 10px;
font-weight: 700;
letter-spacing: 1.5px;
color: #0f172a;
background: linear-gradient(135deg, #38bdf8, #818cf8);
border-radius: 4px;
margin-bottom: 12px;
}

.layered-card h2 {
margin: 0 0 8px 0;
font-size: 22px;
color: #f8fafc;
}

.layered-card p {
margin: 0 0 18px 0;
max-width: 720px;
color: #cbd5e1;
line-height: 1.55;
}

.layered-card strong {
color: #e2e8f0;
}

.layered-card code {
background: rgba(148, 163, 184, 0.18);
color: #f1f5f9;
padding: 1px 6px;
border-radius: 3px;
font-size: 12px;
}

.layered-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
}

/* Value prop strip */
.value-prop {
padding-top: 56px;
Expand Down