import type { SidebarsConfig } from '@docusaurus/plugin-content-docs';

const sidebars: SidebarsConfig = {
  docsSidebar: [
    {
      type: 'autogenerated',
      dirName: '.',
    },
    {
      type: 'html',
      value: '<hr style="margin: 1rem 0; border: none; border-top: 1px solid var(--ifm-color-emphasis-300);" />',
    },
    {
      type: 'link',
      label: 'Example Apps',
      href: 'https://github.com/TheWidlarzGroup/react-native-video/tree/master/examples',
    },
    {
      type: 'doc',
      label: 'Useful Projects',
      id: 'projects',
    },
    {
      type: 'html',
      value: '<hr style="margin: 1rem 0; border: none; border-top: 1px solid var(--ifm-color-emphasis-300);" />',
    },
    {
      type: 'link',
      label: 'Offline Video SDK',
      href: 'https://www.thewidlarzgroup.com/offline-video-sdk/?utm_source=rnv&utm_medium=docs&utm_campaign=sidebar&utm_id=offline-video-sdk-button',
    },
    {
      type: 'link',
      label: 'Enterprise Support',
      href: 'https://www.thewidlarzgroup.com/?utm_source=rnv&utm_medium=docs&utm_campaign=navbar&utm_id=enterprise#Contact',
    },
    {
      type: 'link',
      label: 'Boost Your Issue',
      href: 'https://www.thewidlarzgroup.com/issue-boost/?utm_source=rnv&utm_medium=docs&utm_campaign=sidebar&utm_id=issue-boost-button',
    },
    {
      type: 'html',
      value: '<hr style="margin: 1rem 0; border: none; border-top: 1px solid var(--ifm-color-emphasis-300);" />',
    },
    {
      type: 'doc',
      label: 'Updating',
      id: 'updating',
    },
    {
      type: 'link',
      label: 'Releases',
      href: 'https://github.com/TheWidlarzGroup/react-native-video/releases',
    }
  ],
};

export default sidebars;
