123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`RomePage page renders correctly 1`] = `
- <BaseLayout
- t={[Function]}
- >
- <SiteMetadata
- description="rome.siteMetadata.description"
- image="test-file-stub"
- lang="en"
- meta={Array []}
- title="siteMetadata.title"
- />
- <Hero
- animationEnd={500}
- animationEndValue={-40}
- animationStartValue={0}
- chip={
- <Chip
- icon="icon-component-mock"
- onClick={[Function]}
- >
- rome.hero.chipText
- </Chip>
- }
- image="icon-mock"
- indent={true}
- noOverflow={false}
- reverse={false}
- theme="black"
- title="rome.hero.title"
- >
- <p
- className="RomePage__hero-paragraph"
- >
- rome.hero.text
- </p>
- <HeroCard
- content={null}
- counterTitle={
- <React.Fragment>
- rome.heroCard.title
- </React.Fragment>
- }
- date="2020/05/20 15:00"
- error={false}
- info={true}
- t={[Function]}
- />
- <TestnetModal
- className=""
- closeModal={[Function]}
- image="icon-mock"
- isOpen={false}
- title="rome.modal.title"
- >
- <p>
- <Trans
- components={
- Array [
- <strong />,
- ]
- }
- i18nKey="rome.modal.text"
- />
- </p>
- </TestnetModal>
- </Hero>
- <LayoutWrapper
- className=""
- dark={false}
- gradient={false}
- >
- <TitleWrapper
- className=""
- subtitle=""
- title="rome.criticalDocuments.title"
- >
- <ColumnsLayout
- className=""
- columnsCount={2}
- largeSpacing={false}
- >
- <Pane
- className=""
- disabled={true}
- image="icon-component-mock"
- title="rome.criticalDocuments.fullSpecifications.title"
- >
- rome.criticalDocuments.fullSpecifications.text
- </Pane>
- <Pane
- className=""
- disabled={false}
- href="https://github.com/Joystream/joystream-landing/tree/master/testnets/rome"
- image="icon-component-mock"
- target="_blank"
- title="rome.criticalDocuments.releasePlan.title"
- >
- rome.criticalDocuments.releasePlan.text
- </Pane>
- </ColumnsLayout>
- </TitleWrapper>
- <TitleWrapper
- className=""
- subtitle={
- <React.Fragment>
- <Trans
- components={
- Array [
- <Link
- className=""
- highlighted={false}
- href="https://github.com/Joystream/joystream-landing/tree/master/testnets/rome#release-okrs"
- >
- OKR
- </Link>,
- ]
- }
- i18nKey="rome.testnetGoals.subtitle"
- />
- </React.Fragment>
- }
- title="rome.testnetGoals.title"
- >
- <GoalList
- data={
- Array [
- Object {
- "text": "rome.testnetGoals.goals.contentDirectory.text",
- "title": "rome.testnetGoals.goals.contentDirectory.title",
- },
- Object {
- "text": "rome.testnetGoals.goals.content.text",
- "title": "rome.testnetGoals.goals.content.title",
- },
- Object {
- "text": "rome.testnetGoals.goals.contentCurator.text",
- "title": "rome.testnetGoals.goals.contentCurator.title",
- },
- Object {
- "text": "rome.testnetGoals.goals.contentCreator.text",
- "title": "rome.testnetGoals.goals.contentCreator.title",
- },
- ]
- }
- />
- </TitleWrapper>
- </LayoutWrapper>
- <LayoutWrapper
- className=""
- dark={true}
- gradient={false}
- >
- <TitleWrapper
- className=""
- subtitle=""
- title="rome.roles.title"
- >
- <ColumnsLayout
- className=""
- columnsCount={2}
- largeSpacing={false}
- >
- <RoleList
- content={
- Object {
- "contentCreatorsCount": 20,
- "contentCuratorsCount": 3,
- "councilMembersCount": 12,
- "storageProviders": 10,
- "validatorsCount": 20,
- }
- }
- oldTestnet={true}
- roles={
- Array [
- Object {
- "hasLabel": false,
- "image": "icon-component-mock",
- "key": "contentCreatorsCount",
- "title": "rolesData.contentCreator",
- "to": "/roles#content-creator",
- },
- Object {
- "hasLabel": false,
- "image": "icon-component-mock",
- "key": "contentCuratorsCount",
- "title": "rolesData.contentCurator",
- "to": "/roles#content-curator",
- },
- Object {
- "hasLabel": false,
- "image": "icon-component-mock",
- "key": "validatorsCount",
- "title": "rolesData.validator",
- "to": "/roles#validator",
- },
- Object {
- "hasLabel": false,
- "image": "icon-component-mock",
- "key": "councilMembersCount",
- "title": "rolesData.councilMember",
- "to": "/roles#council-member",
- },
- Object {
- "hasLabel": false,
- "image": "icon-component-mock",
- "key": "storageProviders",
- "title": "rolesData.storageProvider",
- "to": "/roles#storage-provider",
- },
- Object {
- "hasLabel": false,
- "image": "icon-component-mock",
- "key": "builders",
- "title": "rolesData.builder",
- "to": "/roles#builder",
- },
- ]
- }
- t={[Function]}
- />
- </ColumnsLayout>
- </TitleWrapper>
- </LayoutWrapper>
- <MapInfo
- className=""
- location="rome"
- title="rome.map.title"
- >
- <p>
- <Trans
- components={
- Array [
- <strong />,
- <br />,
- <Link
- className=""
- highlighted={false}
- href="https://testnet.joystream.org/"
- >
- <icon-component-mock />
- Explore current testnet
- </Link>,
- ]
- }
- i18nKey="rome.map.text"
- />
- </p>
- </MapInfo>
- </BaseLayout>
- `;
|