feat(toc): Add collapsible sections and dynamic update capabilities to TableOfContents with updated props, state, and rendering logic

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-26 01:06:56 -07:00
parent 180ee91e1c
commit 9abb30f2b6

View file

@ -102,7 +102,11 @@ const NAV: NavGroup[] = [
{ to: '/climate/weather', icon: '⛈', label: 'Weather' },
{ to: '/climate/terrain', icon: '🌿', label: 'Terrain Evolution' },
{ to: '/climate/survival', icon: '🛡', label: 'Survival' },
{ to: '/climate/ecosystem', icon: '🦌', label: 'Ecosystem' },
{ to: '/climate/ecosystem', icon: '🦌', label: 'Ecosystem', end: true },
{ to: '/climate/ecosystem/biomes', icon: '🌳', label: 'Biome Browser' },
{ to: '/climate/ecosystem/species', icon: '🐾', label: 'Species Browser' },
{ to: '/climate/ecosystem/food-web', icon: '🕸', label: 'Food Web' },
{ to: '/climate/ecosystem/populations', icon: '📈', label: 'Populations' },
{ to: '/climate/simulation', icon: '🎬', label: 'Simulation' },
],
},