joy-pages.ts 487 B

12345678910111213141516171819202122232425262728
  1. import { Routes } from './types';
  2. import { ToS, Privacy } from '@polkadot/joy-pages/index';
  3. export default ([
  4. {
  5. Component: ToS,
  6. display: {
  7. isHidden: true
  8. },
  9. i18n: {
  10. defaultValue: 'Terms of Service'
  11. },
  12. icon: 'file outline',
  13. name: 'pages/tos'
  14. },
  15. {
  16. Component: Privacy,
  17. display: {
  18. isHidden: true
  19. },
  20. i18n: {
  21. defaultValue: 'Privacy Policy'
  22. },
  23. icon: 'file outline',
  24. name: 'pages/privacy'
  25. }
  26. ] as Routes);