athens.test.js.snap 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`AthensPage page renders correctly 1`] = `
  3. <BaseLayout
  4. t={[Function]}
  5. >
  6. <SiteMetadata
  7. description="athens.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. athens.hero.chipText
  23. </Chip>
  24. }
  25. image="icon-mock"
  26. indent={true}
  27. noOverflow={false}
  28. reverse={false}
  29. theme="black"
  30. title="athens.hero.title"
  31. >
  32. <p
  33. className="AthensPage__hero-paragraph"
  34. >
  35. athens.hero.text
  36. </p>
  37. <HeroCard
  38. content={null}
  39. counterTitle={
  40. <Trans
  41. components={
  42. Array [
  43. <br />,
  44. <Link
  45. className=""
  46. highlighted={false}
  47. to="/acropolis"
  48. >
  49. ACROPOLIS
  50. </Link>,
  51. ]
  52. }
  53. i18nKey="athens.heroCard.text"
  54. />
  55. }
  56. date="2019/06/24 17:50"
  57. error={false}
  58. info={true}
  59. t={[Function]}
  60. />
  61. <TestnetModal
  62. className=""
  63. closeModal={[Function]}
  64. image="icon-mock"
  65. isOpen={false}
  66. title="athens.modal.title"
  67. >
  68. <p>
  69. <Trans
  70. components={
  71. Array [
  72. <strong />,
  73. ]
  74. }
  75. i18nKey="athens.modal.text"
  76. />
  77. </p>
  78. </TestnetModal>
  79. </Hero>
  80. <LayoutWrapper
  81. className=""
  82. dark={false}
  83. gradient={false}
  84. >
  85. <TitleWrapper
  86. className=""
  87. subtitle=""
  88. title="athens.criticalDocuments.title"
  89. >
  90. <ColumnsLayout
  91. className="ColumnsLayout--documents"
  92. columnsCount={2}
  93. largeSpacing={false}
  94. >
  95. <Pane
  96. className=""
  97. disabled={true}
  98. image="icon-component-mock"
  99. title="athens.criticalDocuments.fullSpecifications.title"
  100. >
  101. athens.criticalDocuments.fullSpecifications.text
  102. </Pane>
  103. <Pane
  104. className=""
  105. disabled={false}
  106. href="https://github.com/Joystream/joystream-landing/tree/master/testnets/athens"
  107. image="icon-component-mock"
  108. target="_blank"
  109. title="athens.criticalDocuments.releasePlan.title"
  110. >
  111. athens.criticalDocuments.releasePlan.text
  112. </Pane>
  113. </ColumnsLayout>
  114. </TitleWrapper>
  115. <TitleWrapper
  116. className=""
  117. subtitle={
  118. <React.Fragment>
  119. <Trans
  120. components={
  121. Array [
  122. <Link
  123. className=""
  124. highlighted={false}
  125. href="https://github.com/Joystream/joystream-landing/tree/master/testnets/athens#okrs"
  126. >
  127. OKR
  128. </Link>,
  129. ]
  130. }
  131. i18nKey="athens.testnetGoals.subtitle"
  132. />
  133. </React.Fragment>
  134. }
  135. title="Testnet Goals"
  136. >
  137. <GoalList
  138. data={
  139. Array [
  140. Object {
  141. "text": "athens.testnetGoals.goals.media.text",
  142. "title": "athens.testnetGoals.goals.media.title",
  143. },
  144. Object {
  145. "text": "athens.testnetGoals.goals.memberships.text",
  146. "title": "athens.testnetGoals.goals.memberships.title",
  147. },
  148. Object {
  149. "state": "postponed",
  150. "text": "athens.testnetGoals.goals.storageNode.text",
  151. "title": "athens.testnetGoals.goals.storageNode.title",
  152. },
  153. Object {
  154. "state": "postponed",
  155. "text": <Trans
  156. components={
  157. Array [
  158. <Link
  159. className=""
  160. highlighted={false}
  161. href="https://blog.joystream.org/upgrades/"
  162. >
  163. runtime upgrade
  164. </Link>,
  165. <Link
  166. className=""
  167. highlighted={false}
  168. href="https://blog.joystream.org/sparta-sacked/"
  169. >
  170. Sparta network crashed
  171. </Link>,
  172. ]
  173. }
  174. i18nKey="athens.testnetGoals.goals.runtimeUpgrade.text"
  175. />,
  176. "title": "athens.testnetGoals.goals.runtimeUpgrade.title",
  177. },
  178. ]
  179. }
  180. />
  181. </TitleWrapper>
  182. </LayoutWrapper>
  183. <LayoutWrapper
  184. className=""
  185. dark={true}
  186. gradient={false}
  187. >
  188. <TitleWrapper
  189. className=""
  190. subtitle=""
  191. title="athens.roles.title"
  192. >
  193. <ColumnsLayout
  194. className=""
  195. columnsCount={2}
  196. largeSpacing={false}
  197. >
  198. <RoleList
  199. content={
  200. Object {
  201. "contentCreatorsCount": 20,
  202. "contentCuratorsCount": 3,
  203. "councilMembersCount": 12,
  204. "storageProviders": 10,
  205. "validatorsCount": 20,
  206. }
  207. }
  208. oldTestnet={true}
  209. roles={
  210. Array [
  211. Object {
  212. "hasLabel": false,
  213. "image": "icon-component-mock",
  214. "key": "validatorsCount",
  215. "title": "rolesData.validator",
  216. "to": "/roles#validator",
  217. "type": "migration",
  218. },
  219. Object {
  220. "hasLabel": false,
  221. "image": "icon-component-mock",
  222. "key": "councilMembersCount",
  223. "title": "rolesData.councilMember",
  224. "to": "/roles#council-member",
  225. "type": "migration",
  226. },
  227. Object {
  228. "hasLabel": true,
  229. "image": "icon-component-mock",
  230. "key": "storageProviders",
  231. "title": "rolesData.storageProvider",
  232. "to": "/roles#storage-provider",
  233. "type": "migration",
  234. },
  235. ]
  236. }
  237. t={[Function]}
  238. />
  239. </ColumnsLayout>
  240. </TitleWrapper>
  241. </LayoutWrapper>
  242. <MapInfo
  243. className=""
  244. location="acropolis"
  245. title="athens.map.title"
  246. >
  247. <p>
  248. <Trans
  249. components={
  250. Array [
  251. <strong />,
  252. <br />,
  253. <Link
  254. className=""
  255. highlighted={false}
  256. to="/sparta"
  257. >
  258. <icon-component-mock />
  259. Explore previous testnet
  260. </Link>,
  261. ]
  262. }
  263. i18nKey="athens.map.text"
  264. />
  265. </p>
  266. </MapInfo>
  267. </BaseLayout>
  268. `;