--- import Base from './Base.astro'; import '../styles/sub-pages.css'; import { SKILL_CATEGORIES, CATEGORY_ORDER, CATEGORY_LABELS, COMMAND_RELATIONSHIPS, } from '../data/sub-pages-data'; interface Props { title: string; description: string; tagline: string; slug: string; category: string; allCommands: { slug: string; category: string }[]; } const { title, description, tagline, slug, category, allCommands } = Astro.props; const categoryLabel = CATEGORY_LABELS[category] || category; const relationships = COMMAND_RELATIONSHIPS[slug] || {}; const sidebarGroups: Record = {}; for (const cat of CATEGORY_ORDER) { sidebarGroups[cat] = allCommands .filter(c => c.category === cat) .sort((a, b) => a.slug.localeCompare(b.slug)); } ---
{categoryLabel}

/impeccable {slug}

{tagline &&

{tagline}

}
{(relationships.leadsTo || relationships.pairs || relationships.combinesWith) && ( )}