acropolis.test.js.snap 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`AcropolisPage page renders correctly 1`] = `
  3. <BaseLayout
  4. t={[Function]}
  5. >
  6. <SiteMetadata
  7. description="acropolis.siteMetadata.description"
  8. image="test-file-stub"
  9. lang="en"
  10. meta={Array []}
  11. title="siteMetadata.title"
  12. />
  13. <Hero
  14. animationEnd={500}
  15. animationEndValue={-40}
  16. animationStartValue={0}
  17. chip={
  18. <Chip
  19. icon="icon-component-mock"
  20. onClick={[Function]}
  21. >
  22. acropolis.hero.chipText
  23. </Chip>
  24. }
  25. image="icon-mock"
  26. indent={true}
  27. noOverflow={false}
  28. reverse={false}
  29. theme="black"
  30. title="acropolis.hero.title"
  31. >
  32. <p
  33. className="AcropolisPage__hero-paragraph"
  34. >
  35. acropolis.hero.text
  36. </p>
  37. <HeroCard
  38. content={null}
  39. counterTitle={
  40. <React.Fragment>
  41. acropolis.heroCard.title
  42. </React.Fragment>
  43. }
  44. date="2020/03/17 15:42"
  45. error={false}
  46. info={true}
  47. t={[Function]}
  48. />
  49. <TestnetModal
  50. className=""
  51. closeModal={[Function]}
  52. image="icon-mock"
  53. isOpen={false}
  54. title="acropolis.modal.title"
  55. >
  56. <p>
  57. <Trans
  58. components={
  59. Array [
  60. <strong />,
  61. ]
  62. }
  63. i18nKey="acropolis.modal.text"
  64. />
  65. </p>
  66. </TestnetModal>
  67. </Hero>
  68. <LayoutWrapper
  69. className=""
  70. dark={false}
  71. gradient={false}
  72. >
  73. <TitleWrapper
  74. className=""
  75. subtitle=""
  76. title="acropolis.criticalDocuments.title"
  77. >
  78. <ColumnsLayout
  79. className=""
  80. columnsCount={2}
  81. largeSpacing={false}
  82. >
  83. <Pane
  84. className=""
  85. disabled={false}
  86. href="https://github.com/Joystream/joystream/tree/master/testnets/acropolis/specification"
  87. image="icon-component-mock"
  88. target="_blank"
  89. title="acropolis.criticalDocuments.fullSpecifications.title"
  90. >
  91. acropolis.criticalDocuments.fullSpecifications.text
  92. </Pane>
  93. <Pane
  94. className=""
  95. disabled={false}
  96. href="https://github.com/Joystream/joystream/tree/master/testnets/acropolis"
  97. image="icon-component-mock"
  98. target="_blank"
  99. title="acropolis.criticalDocuments.releasePlan.title"
  100. >
  101. acropolis.criticalDocuments.releasePlan.text
  102. </Pane>
  103. </ColumnsLayout>
  104. </TitleWrapper>
  105. <TitleWrapper
  106. className=""
  107. subtitle={
  108. <Trans
  109. components={
  110. Array [
  111. <Link
  112. className=""
  113. highlighted={false}
  114. href="https://github.com/Joystream/joystream/tree/master/testnets/acropolis#release-okrs"
  115. >
  116. OKR
  117. </Link>,
  118. ]
  119. }
  120. i18nKey="acropolis.testnetGoals.subtitle"
  121. />
  122. }
  123. title="acropolis.testnetGoals.title"
  124. >
  125. <GoalList
  126. data={
  127. Array [
  128. Object {
  129. "text": "acropolis.testnetGoals.goals.forum.text",
  130. "title": "acropolis.testnetGoals.goals.forum.title",
  131. },
  132. Object {
  133. "text": "acropolis.testnetGoals.goals.storageNode.text",
  134. "title": "acropolis.testnetGoals.goals.storageNode.title",
  135. },
  136. Object {
  137. "text": "acropolis.testnetGoals.goals.storageProviders.text",
  138. "title": "acropolis.testnetGoals.goals.storageProviders.title",
  139. },
  140. Object {
  141. "state": "postponed",
  142. "text": "acropolis.testnetGoals.goals.tranches.text",
  143. "title": "acropolis.testnetGoals.goals.tranches.title",
  144. },
  145. ]
  146. }
  147. />
  148. </TitleWrapper>
  149. </LayoutWrapper>
  150. <LayoutWrapper
  151. className=""
  152. dark={true}
  153. gradient={false}
  154. >
  155. <TitleWrapper
  156. className=""
  157. subtitle=""
  158. title="acropolis.roles.title"
  159. >
  160. <ColumnsLayout
  161. className=""
  162. columnsCount={2}
  163. largeSpacing={false}
  164. >
  165. <RoleList
  166. content={
  167. Object {
  168. "contentCreatorsCount": 20,
  169. "contentCuratorsCount": 3,
  170. "councilMembersCount": 12,
  171. "storageProviders": 10,
  172. "validatorsCount": 20,
  173. }
  174. }
  175. oldTestnet={true}
  176. roles={
  177. Array [
  178. Object {
  179. "hasLabel": false,
  180. "image": "icon-component-mock",
  181. "key": "validatorsCount",
  182. "title": "rolesData.validator",
  183. "to": "/roles#validator",
  184. },
  185. Object {
  186. "hasLabel": false,
  187. "image": "icon-component-mock",
  188. "key": "councilMembersCount",
  189. "title": "rolesData.councilMember",
  190. "to": "/roles#council-member",
  191. },
  192. Object {
  193. "hasLabel": true,
  194. "image": "icon-component-mock",
  195. "key": "storageProviders",
  196. "title": "rolesData.storageProvider",
  197. "to": "/roles#storage-provider",
  198. },
  199. ]
  200. }
  201. t={[Function]}
  202. />
  203. </ColumnsLayout>
  204. </TitleWrapper>
  205. </LayoutWrapper>
  206. <MapInfo
  207. className=""
  208. location="acropolis"
  209. title="acropolis.map.title"
  210. >
  211. <p>
  212. <Trans
  213. components={
  214. Array [
  215. <strong />,
  216. <br />,
  217. <Link
  218. className=""
  219. highlighted={false}
  220. to="/athens"
  221. >
  222. <icon-component-mock />
  223. Explore previous testnet
  224. </Link>,
  225. ]
  226. }
  227. i18nKey="acropolis.map.text"
  228. />
  229. </p>
  230. </MapInfo>
  231. </BaseLayout>
  232. `;