- cover_story: clamp headline to its reserved 8-col track (mb-cover-folio) so it never crosses the deck column or bleeds off-viewport; kicker + CTA stay in frame; deck in a reserved right column; wire duotone cover image. - article template: render the page <h1> exactly once (was never rendered); fix the multi-line ninjatpl comment that failed theme registration. - lookbook + hero + seed: add seed/media (sneakers, editorial-figure, streetwear-look, sneakers-street; studio-portrait avoided) and wire image slots; expand the offcut-method article to ~9 paragraphs. - drop-cap: extra clearance so wrapped lines do not crowd the cap. - SVG geometry guard: add explicit width/height to all icon <use> SVGs and replace icon shortcodes with sized <svg> markup (balloon guard). - refresh gallery screenshots (home/about/article x light+dark, retina). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
14 lines
1.7 KiB
Plaintext
14 lines
1.7 KiB
Plaintext
{# sidebar-nav (magazine-bold) — small-caps vertical menu with hairline divider rule and fluoro link/icon accents. #}
|
|
{% set compact = template == "compact" %}
|
|
<nav data-block-override="magazine-bold:sidebar-nav" class="flex-1 {% if compact %}w-56 py-4 pr-3{% else %}w-64 py-6 pr-4{% endif %}{% if showBorder %} border-r border-[hsl(var(--border))]{% endif %}{% if class %} {{ class }}{% endif %}">
|
|
{% if title %}<h3 class="mb-caps mb-underline {% if compact %}px-2 mb-4 text-xs text-muted-foreground{% else %}px-3 mb-5 text-sm text-foreground{% endif %}" style="font-family:var(--font-heading, "Archivo Black", 'Arial Black', sans-serif)">{{ title }}</h3>{% endif %}
|
|
<ul class="{% if compact %}space-y-0.5{% else %}space-y-1{% endif %}">
|
|
{% for item in menu.items %}
|
|
<li><a href="{{ item.url|default:'#' }}"{% if item.open_in_new_tab %} target="_blank" rel="noopener"{% endif %}{% if item.title %} title="{{ item.title }}"{% endif %} data-bn-sidebar-link class="mb-caps flex items-center rounded-none text-sm text-muted-foreground transition-colors hover:text-[hsl(var(--accent))] hover:bg-accent {% if compact %}px-2 py-1.5{% else %}px-3 py-2{% endif %} {{ item.css_class }}">{% if item.icon %}<svg width="16" height="16" class="mr-2 h-4 w-4 text-[hsl(var(--accent))]" aria-hidden="true"><use href="/icons/{{ item.icon|split:":"|first }}.svg#{{ item.icon|split:":"|last }}"></use></svg>{% endif %}{{ item.label }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
{% if highlightCurrent %}<script>
|
|
(function(){var p=window.location.pathname;document.querySelectorAll('[data-bn-sidebar-link]').forEach(function(a){if(a.getAttribute('href')===p){a.classList.remove('text-muted-foreground');a.classList.add('text-foreground','bg-accent','font-medium');}});})();
|
|
</script>{% endif %}
|