diff --git a/public/app.js b/public/app.js index 85959db8b..d02e35f59 100644 --- a/public/app.js +++ b/public/app.js @@ -30,30 +30,72 @@ async function loadContent() { // Render commands (Glass Terminal) renderTerminalLayout(allCommands); - // Render patterns and antipatterns - renderPatterns(patternsData.patterns, "patterns-grid", "pattern"); - renderPatterns(patternsData.antipatterns, "antipatterns-grid", "antipattern"); + // Render patterns with tabbed navigation + renderPatternsWithTabs(patternsData.patterns, patternsData.antipatterns); } catch (error) { console.error("Failed to load content:", error); } } -function renderPatterns(categories, containerId, classPrefix) { - const container = document.getElementById(containerId); - if (!container || !categories) return; +function renderPatternsWithTabs(patterns, antipatterns) { + const container = document.getElementById("patterns-categories"); + if (!container || !patterns || !antipatterns) return; - container.innerHTML = categories - .map( - (category) => ` -
One design skill and 15 commands that work across Cursor, Claude Code, Gemini CLI, and Codex CLI. Stop getting generic AI output. Start getting considered design.
+One design skill and 15 commands that work across Cursor, Claude Code, Gemini CLI, and Codex CLI. Stop getting generic AI output. Start getting intentional design.
@@ -104,10 +104,10 @@ -Introducing
The original Claude frontend-design skill says to avoid Arial and Inter. We've expanded it with 60+ specific patterns that fight model bias across every design domain.
-Your AI learns what TO do and what NOT to do. These rules are baked into the skill.
-These rules are embedded in the skill. Your AI internalizes them before writing a single line of code.
-We wrote it once, then compiled it for each platform. Same design intelligence, native to your workflow.