Files
soleprint/atlas/index.html
2025-12-31 09:07:27 -03:00

161 lines
6.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Album · Pawprint</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%2315803d'%3E%3Cpath d='M4 8 C4 8 12 6 24 10 L24 42 C12 38 4 40 4 40 Z' opacity='0.3'/%3E%3Cpath d='M44 8 C44 8 36 6 24 10 L24 42 C36 38 44 40 44 40 Z' opacity='0.5'/%3E%3Cpath d='M4 8 C4 8 12 6 24 10 M44 8 C44 8 36 6 24 10' fill='none' stroke='%2315803d' stroke-width='2'/%3E%3Cpath d='M4 40 C4 40 12 38 24 42 M44 40 C44 40 36 38 24 42' fill='none' stroke='%2315803d' stroke-width='2'/%3E%3Cline x1='24' y1='10' x2='24' y2='42' stroke='%2315803d' stroke-width='2'/%3E%3C/svg%3E">
<style>
* { box-sizing: border-box; }
html { background: #0a0a0a; }
body {
font-family: system-ui, -apple-system, sans-serif;
max-width: 960px;
margin: 0 auto;
padding: 2rem 1rem;
line-height: 1.6;
color: #e5e5e5;
background: #163528;
}
header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.logo { width: 64px; height: 64px; color: white; }
h1 { font-size: 2.5rem; margin: 0; color: white; }
.tagline {
color: rgba(255,255,255,0.85);
margin-bottom: 2rem;
border-bottom: 1px solid rgba(255,255,255,0.3);
padding-bottom: 2rem;
}
section {
background: #000000;
padding: 1.5rem;
margin: 1.5rem 0;
border-radius: 12px;
}
section h2 {
margin: 0 0 1rem 0;
font-size: 1.2rem;
color: #86efac;
}
.composition {
background: #000000;
border: 2px solid #3e915d;
padding: 1rem;
border-radius: 12px;
}
.composition h3 { margin: 0 0 0.75rem 0; font-size: 1.1rem; color: #86efac; }
.composition > p { margin: 0 0 1rem 0; font-size: 0.9rem; color: #a3a3a3; }
.components {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 0.75rem;
}
.component {
background: #0a0a0a;
border: 1px solid #6b665e;
padding: 0.75rem;
border-radius: 8px;
}
.component h4 { margin: 0 0 0.25rem 0; font-size: 0.95rem; color: #86efac; }
.component p { margin: 0; font-size: 0.85rem; color: #a3a3a3; }
.books {
list-style: none;
padding: 0;
margin: 0;
}
.books li {
padding: 0.75rem 0;
border-bottom: 1px solid #6b665e;
display: flex;
justify-content: space-between;
align-items: center;
}
.books li:last-child { border-bottom: none; }
.books a { color: #86efac; text-decoration: none; font-weight: 500; }
.books a:hover { text-decoration: underline; }
.status {
display: none;
}
footer {
margin-top: 3rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(255,255,255,0.3);
font-size: 0.85rem;
color: rgba(255,255,255,0.7);
}
footer a { color: white; }
footer .disabled { opacity: 0.5; }
</style>
</head>
<body>
<header style="position:relative;">
<!-- Open book -->
<svg class="logo" viewBox="0 0 48 48" fill="currentColor">
<path d="M4 8 C4 8 12 6 24 10 L24 42 C12 38 4 40 4 40 Z" opacity="0.3"/>
<path d="M44 8 C44 8 36 6 24 10 L24 42 C36 38 44 40 44 40 Z" opacity="0.5"/>
<path d="M4 8 C4 8 12 6 24 10 M44 8 C44 8 36 6 24 10" fill="none" stroke="currentColor" stroke-width="2"/>
<path d="M4 40 C4 40 12 38 24 42 M44 40 C44 40 36 38 24 42" fill="none" stroke="currentColor" stroke-width="2"/>
<line x1="24" y1="10" x2="24" y2="42" stroke="currentColor" stroke-width="2"/>
</svg>
<h1>Album</h1>
{% if pawprint_url %}<a href="{{ pawprint_url }}" style="position:absolute;right:0;top:50%;transform:translateY(-50%);color:rgba(255,255,255,0.7);font-size:0.85rem;">← Pawprint</a>{% endif %}
</header>
<p class="tagline">conocimiento y toma de decisiones <!-- Actionable documentation --></p>
<section>
<div class="composition">
<h3>Books</h3>
<div class="components">
<div class="component"><h4>Template</h4></div>
<div class="component"><h4>Larder</h4></div>
</div>
</div>
</section>
<section>
<h2>Books</h2>
<ul class="books">
{% for book in books %}
<li>
<a href="/book/{{ book.slug }}/">{{ book.title }}</a>
<span class="status {% if book.status == 'ready' %}ready{% elif book.status == 'building' %}building{% endif %}">{{ book.status | capitalize }}</span>
</li>
{% else %}
<li><span style="color:#86efac;font-weight:500;">--</span><span class="status">Pending</span></li>
{% endfor %}
</ul>
</section>
<section>
<h2>Templates</h2>
<ul class="books">
{% for template in templates %}
<li><a href="/template/{{ template.slug }}/">{{ template.title }}</a><span class="status {% if template.status == 'ready' %}ready{% elif template.status == 'building' %}building{% endif %}">{{ template.status | capitalize }}</span></li>
{% else %}
<li><span style="color:#86efac;font-weight:500;">--</span><span class="status">Pending</span></li>
{% endfor %}
</ul>
</section>
<section>
<h2>Larders</h2>
<ul class="books">
{% for larder in larders %}
<li><a href="/book/feature-form-samples/larder/">{{ larder.title }}</a><span class="status {% if larder.status == 'ready' %}ready{% elif larder.status == 'building' %}building{% endif %}">{{ larder.status | capitalize }}</span></li>
{% else %}
<li><span style="color:#86efac;font-weight:500;">--</span><span class="status">Pending</span></li>
{% endfor %}
</ul>
</section>
<footer>
{% if pawprint_url %}<a href="{{ pawprint_url }}">← Pawprint</a>{% else %}<span class="disabled">← Pawprint</span>{% endif %}
</footer>
</body>
</html>