import {
  changelogSection,
  documentationSection,
  recipesSection,
  referencesSection,
} from '@/shared/sections'
import { Hero } from './Hero'
import { WrenchScrewdriverIcon } from '@heroicons/react/24/solid'

export const toolbox = {
  name: 'Toolbox',
  headline: 'Core programs',
  description: 'A collection of core programs for your applications.',
  navigationMenuCatergory: 'Dev Tools',
  path: 'toolbox',
  icon: <WrenchScrewdriverIcon />,
  github: 'https://github.com/metaplex-foundation/mpl-toolbox',
  className: 'accent-sky',
  heroes: [{ path: '/toolbox', component: Hero }],
  sections: [
    {
      ...documentationSection('toolbox'),
      navigation: [
        {
          title: 'Introduction',
          links: [
            { title: 'Overview', href: '/toolbox' },
            { title: 'Getting started', href: '/toolbox/getting-started' },
          ],
        },
      ],
    },
    {
      ...referencesSection('toolbox'),
      href: `https://mpl-toolbox.typedoc.metaplex.com/`,
      target: '_blank',
    },
  ],
}
