index.tsx 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import React from 'react';
  2. import { Colors } from '../../../theme';
  3. import { PageWrapper, MenuButton } from '../../../components';
  4. import { MenuButtonType } from '../../../types/components';
  5. import UserGroupIcon from '../../../../assets/icons/user-group.svg';
  6. import CrownIcon from '../../../../assets/icons/crown.svg';
  7. import IDCardIcon from '../../../../assets/icons/id-card.svg';
  8. import StreetPeopleIcon from '../../../../assets/icons/street-view.svg';
  9. import ChartPieIcon from '../../../../assets/icons/chart-pie.svg';
  10. import MemoriamIcon from '../../../../assets/icons/monument.svg';
  11. import ScrollIcon from '../../../../assets/icons/scroll.svg';
  12. import TrophyIcon from '../../../../assets/icons/trophy.svg';
  13. const buttons: MenuButtonType[] = [
  14. {
  15. label: 'Master Ranking',
  16. icon: <UserGroupIcon fill={Colors.DARK_BLUE} width={20} height={20} />
  17. },
  18. {
  19. label: 'UN Masters',
  20. icon: <CrownIcon fill={Colors.DARK_BLUE} width={20} height={20} />
  21. },
  22. {
  23. label: 'LPI Ranking',
  24. icon: <IDCardIcon fill={Colors.DARK_BLUE} width={20} height={20} />
  25. },
  26. {
  27. label: 'Series Ranking',
  28. icon: <StreetPeopleIcon fill={Colors.DARK_BLUE} width={20} height={20} />
  29. },
  30. {
  31. label: 'Statistics',
  32. icon: <ChartPieIcon fill={Colors.DARK_BLUE} width={20} height={20} />
  33. },
  34. {
  35. label: 'In Memoriam',
  36. icon: <MemoriamIcon fill={Colors.DARK_BLUE} width={20} height={20} />
  37. },
  38. {
  39. label: 'In History',
  40. icon: <ScrollIcon fill={Colors.DARK_BLUE} width={20} height={20} />
  41. },
  42. {
  43. label: 'Triumphs',
  44. icon: <TrophyIcon fill={Colors.DARK_BLUE} width={20} height={20} />
  45. }
  46. ];
  47. const TravellersScreen = () => {
  48. return (
  49. <PageWrapper>
  50. {buttons.map((button) => (
  51. <MenuButton label={button.label} icon={button.icon} />
  52. ))}
  53. </PageWrapper>
  54. );
  55. };
  56. export default TravellersScreen;