'use client' import { BlocksIcon } from 'lucide-react' import { TabbedLexiconViewer } from '@/app/components' import { getAllSchemas, getLexicon, parseLexiconFields, } from '@/app/lib/lexicon' import { LEXICON_TABS } from '@/app/data/content' export function DefinitionsSection() { const allSchemas = getAllSchemas() // Build tab configs from the defined NSIDs const tabs = LEXICON_TABS.map((nsid) => { const schema = getLexicon(nsid) return schema ? { nsid, schema, fields: parseLexiconFields(schema), } : null }).filter((tab) => tab !== null) if (tabs.length === 0) { return (

Definitions

Failed to load lexicon definitions. Please try again later.

) } return (

Definitions

We currently define three main lexicons that cover the core building blocks of long-form platforms: where content lives, what it contains, and how users connect with publications.

{/* Modularity callout */}

Modularity.{ ' ' } Each lexicon is independent. Use them together for full support, or implement only what your platform requires.

) }