Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. const aspectsArr = [1, 2, 3, 4, 5, 6]
  2. // Splash page is unique in survey steps and therefore is simply spliced in
  3. // during survey generation
  4. const splash = {
  5. response_key_id: 20,
  6. response_key_category: 'splash',
  7. response_key_prompt: 'splash page',
  8. response_key_description: 'required for splash page rendering',
  9. aspect: null,
  10. category: 'splash',
  11. component: 'Splash',
  12. survey_stage: 'splash',
  13. placeholder: null,
  14. invalidInputPrompt: null,
  15. }
  16. // Auth page is also unique in survey steps and is spliced in as well
  17. const auth = {
  18. response_key_id: 21,
  19. response_key_category: 'auth',
  20. response_key_prompt: 'auth page',
  21. response_key_description: 'required to authenticate user signup',
  22. aspect: null,
  23. category: 'auth',
  24. component: 'Auth',
  25. survey_stage: 'auth',
  26. placeholder: null,
  27. invalidInputPrompt: null,
  28. }
  29. // Easily reorder steps of survey here:
  30. const allSteps = {
  31. usa: {
  32. email: 'email',
  33. password: 'password',
  34. name: 'name',
  35. seeking: 'seeking',
  36. aspect01: 'aspect-1',
  37. aspect02: 'aspect-2',
  38. aspect03: 'aspect-3',
  39. zipcode: 'zipcode',
  40. urgency: 'urgency',
  41. aspect04: 'aspect-4',
  42. aspect05: 'aspect-5',
  43. aspect06: 'aspect-6',
  44. presence: 'presence',
  45. duration: 'duration',
  46. pronouns: 'pronouns',
  47. language: 'language',
  48. image: 'image',
  49. distance: 'distance',
  50. blurb: 'blurb',
  51. // experience: 'experience',
  52. // roles: 'role',
  53. },
  54. }
  55. const surveyStages = {
  56. 7: allSteps.usa.name,
  57. 8: allSteps.usa.email,
  58. 9: allSteps.usa.password,
  59. 10: allSteps.usa.zipcode,
  60. 11: allSteps.usa.seeking,
  61. 12: allSteps.usa.image,
  62. 13: allSteps.usa.language,
  63. 14: allSteps.usa.duration,
  64. 15: allSteps.usa.presence,
  65. 16: allSteps.usa.blurb,
  66. 17: allSteps.usa.urgency,
  67. 18: allSteps.usa.pronouns,
  68. 19: allSteps.usa.distance,
  69. 1: allSteps.usa.aspect01,
  70. 2: allSteps.usa.aspect02,
  71. 3: allSteps.usa.aspect03,
  72. 4: allSteps.usa.aspect04,
  73. 5: allSteps.usa.aspect05,
  74. 6: allSteps.usa.aspect06,
  75. }
  76. const aspectResponses = {
  77. usa: {
  78. never: 'never',
  79. rarely: 'rarely',
  80. not_really: 'not really',
  81. occasionally: 'occasionally',
  82. mostly: 'mostly',
  83. often: 'often',
  84. everytime: 'everytime',
  85. },
  86. }
  87. const possible = {}
  88. possible.usa = {
  89. email: [],
  90. name: [],
  91. seeking: ['position', 'candidate'],
  92. language: ['english', 'spanish'],
  93. // key 13
  94. urgency: [
  95. 'actively_looking',
  96. 'open_to_the_right_opportunity',
  97. 'casually_browsing',
  98. ],
  99. // key 11
  100. presence: ['remote', 'in_person', 'hybrid', 'flexible'],
  101. // key 10
  102. duration: ['full-time', 'part-time', 'contract', 'flexible'],
  103. // Experience and roles concat, key: 14
  104. // experience: ['associate', 'junior', 'mid-level', 'senior', 'staff'],
  105. // roles: {
  106. // type: [
  107. // 'back-end',
  108. // 'database',
  109. // 'front-end',
  110. // 'full-stack',
  111. // 'qa',
  112. // 'security',
  113. // 'system',
  114. // 'test',
  115. // ],
  116. // position: [
  117. // 'administrator',
  118. // 'analyst',
  119. // 'architect',
  120. // 'developer',
  121. // 'engineer',
  122. // 'manager',
  123. // 'technician',
  124. // ],
  125. // candidate: ['hiring_manager', 'recruiter'],
  126. // },
  127. pronouns: ['she/her', 'she/they', 'he/him', 'he/they', 'they/them'],
  128. // role: ['role1', 'role2'],
  129. image: [],
  130. zipcode: [],
  131. blurb: [],
  132. }
  133. export {
  134. allSteps,
  135. splash,
  136. auth,
  137. surveyStages,
  138. aspectResponses,
  139. aspectsArr,
  140. possible,
  141. }