rome.test.js.snap 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`RomePage page renders correctly 1`] = `
  3. <BaseLayout
  4. t={[Function]}
  5. >
  6. <SiteMetadata
  7. description="rome.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. rome.hero.chipText
  23. </Chip>
  24. }
  25. image="icon-mock"
  26. indent={true}
  27. noOverflow={false}
  28. reverse={false}
  29. theme="black"
  30. title="rome.hero.title"
  31. >
  32. <p
  33. className="RomePage__hero-paragraph"
  34. >
  35. rome.hero.text
  36. </p>
  37. <HeroCard
  38. content={null}
  39. counterTitle={
  40. <React.Fragment>
  41. rome.heroCard.title
  42. </React.Fragment>
  43. }
  44. date="2020/05/20 15:00"
  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="rome.modal.title"
  55. >
  56. <p>
  57. <Trans
  58. components={
  59. Array [
  60. <strong />,
  61. ]
  62. }
  63. i18nKey="rome.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="rome.criticalDocuments.title"
  77. >
  78. <ColumnsLayout
  79. className=""
  80. columnsCount={2}
  81. largeSpacing={false}
  82. >
  83. <Pane
  84. className=""
  85. disabled={true}
  86. image="icon-component-mock"
  87. title="rome.criticalDocuments.fullSpecifications.title"
  88. >
  89. rome.criticalDocuments.fullSpecifications.text
  90. </Pane>
  91. <Pane
  92. className=""
  93. disabled={false}
  94. href="https://github.com/Joystream/joystream-landing/tree/master/testnets/rome"
  95. image="icon-component-mock"
  96. target="_blank"
  97. title="rome.criticalDocuments.releasePlan.title"
  98. >
  99. rome.criticalDocuments.releasePlan.text
  100. </Pane>
  101. </ColumnsLayout>
  102. </TitleWrapper>
  103. <TitleWrapper
  104. className=""
  105. subtitle={
  106. <React.Fragment>
  107. <Trans
  108. components={
  109. Array [
  110. <Link
  111. className=""
  112. highlighted={false}
  113. href="https://github.com/Joystream/joystream-landing/tree/master/testnets/rome#release-okrs"
  114. >
  115. OKR
  116. </Link>,
  117. ]
  118. }
  119. i18nKey="rome.testnetGoals.subtitle"
  120. />
  121. </React.Fragment>
  122. }
  123. title="rome.testnetGoals.title"
  124. >
  125. <GoalList
  126. data={
  127. Array [
  128. Object {
  129. "text": "rome.testnetGoals.goals.contentDirectory.text",
  130. "title": "rome.testnetGoals.goals.contentDirectory.title",
  131. },
  132. Object {
  133. "text": "rome.testnetGoals.goals.content.text",
  134. "title": "rome.testnetGoals.goals.content.title",
  135. },
  136. Object {
  137. "text": "rome.testnetGoals.goals.contentCurator.text",
  138. "title": "rome.testnetGoals.goals.contentCurator.title",
  139. },
  140. Object {
  141. "text": "rome.testnetGoals.goals.contentCreator.text",
  142. "title": "rome.testnetGoals.goals.contentCreator.title",
  143. },
  144. ]
  145. }
  146. />
  147. </TitleWrapper>
  148. </LayoutWrapper>
  149. <LayoutWrapper
  150. className=""
  151. dark={true}
  152. gradient={false}
  153. >
  154. <TitleWrapper
  155. className=""
  156. subtitle=""
  157. title="rome.roles.title"
  158. >
  159. <ColumnsLayout
  160. className=""
  161. columnsCount={2}
  162. largeSpacing={false}
  163. >
  164. <RoleList
  165. content={
  166. Object {
  167. "contentCreatorsCount": 20,
  168. "contentCuratorsCount": 3,
  169. "councilMembersCount": 12,
  170. "storageProviders": 10,
  171. "validatorsCount": 20,
  172. }
  173. }
  174. oldTestnet={true}
  175. roles={
  176. Array [
  177. Object {
  178. "hasLabel": false,
  179. "image": "icon-component-mock",
  180. "key": "contentCreatorsCount",
  181. "title": "rolesData.contentCreator",
  182. "to": "/roles#content-creator",
  183. },
  184. Object {
  185. "hasLabel": false,
  186. "image": "icon-component-mock",
  187. "key": "contentCuratorsCount",
  188. "title": "rolesData.contentCurator",
  189. "to": "/roles#content-curator",
  190. },
  191. Object {
  192. "hasLabel": false,
  193. "image": "icon-component-mock",
  194. "key": "validatorsCount",
  195. "title": "rolesData.validator",
  196. "to": "/roles#validator",
  197. },
  198. Object {
  199. "hasLabel": false,
  200. "image": "icon-component-mock",
  201. "key": "councilMembersCount",
  202. "title": "rolesData.councilMember",
  203. "to": "/roles#council-member",
  204. },
  205. Object {
  206. "hasLabel": false,
  207. "image": "icon-component-mock",
  208. "key": "storageProviders",
  209. "title": "rolesData.storageProvider",
  210. "to": "/roles#storage-provider",
  211. },
  212. Object {
  213. "hasLabel": false,
  214. "image": "icon-component-mock",
  215. "key": "builders",
  216. "title": "rolesData.builder",
  217. "to": "/roles#builder",
  218. },
  219. ]
  220. }
  221. t={[Function]}
  222. />
  223. </ColumnsLayout>
  224. </TitleWrapper>
  225. </LayoutWrapper>
  226. <MapInfo
  227. className=""
  228. location="rome"
  229. title="rome.map.title"
  230. >
  231. <p>
  232. <Trans
  233. components={
  234. Array [
  235. <strong />,
  236. <br />,
  237. <Link
  238. className=""
  239. highlighted={false}
  240. href="https://testnet.joystream.org/"
  241. >
  242. <icon-component-mock />
  243. Explore current testnet
  244. </Link>,
  245. ]
  246. }
  247. i18nKey="rome.map.text"
  248. />
  249. </p>
  250. </MapInfo>
  251. </BaseLayout>
  252. `;