restructure(site): Antidote → 8th tab inside The Case

Remove section 03 (The Antidote) entirely as a standalone section.
Bring the original pattern list (patterns-tabbed via /api/patterns)
and gallery-stack-container back intact, and move them into a new
8th tab in The Case: "Anti-patterns, caught". The new tab panel
shows the list + gallery side-by-side on wide viewports, stacked on
narrow. Keeps the existing app.js wiring (renderPatternsWithTabs
and initGalleryStack both auto-discover via IDs).

Section numbers renumbered: Case 04→03, Live 05→04, Install 06→05,
Changelog 07→06, FAQ 08→07. Sticky nav updated to match.
This commit is contained in:
Paul Bakaus
2026-04-22 14:54:09 -07:00
parent 1ac4cf91e2
commit 1a9e357632
3 changed files with 84 additions and 97 deletions
+29
View File
@@ -3978,3 +3978,32 @@
gap: var(--spacing-sm);
}
}
/* ============================================
WHY — Anti-patterns, caught (tab 08 visual)
============================================ */
.why-visual--antidote {
padding: 0;
background: transparent;
border: 0;
min-height: 0;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
gap: var(--spacing-md);
margin-bottom: var(--spacing-md);
}
.why-visual--antidote .patterns-tabbed {
margin: 0;
min-width: 0;
}
.why-visual--antidote .gallery-stack-container {
flex: none;
width: 100%;
}
@media (max-width: 860px) {
.why-visual--antidote { grid-template-columns: 1fr; }
}