123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`SpartaPage page renders correctly 1`] = `
- <BaseLayout
- t={[Function]}
- >
- <SiteMetadata
- description="sparta.siteMetadata.description"
- image="test-file-stub"
- lang="en"
- meta={Array []}
- title="siteMetadata.title"
- />
- <Hero
- animationEnd={500}
- animationEndValue={-40}
- animationStartValue={70}
- chip={
- <Chip
- icon="icon-component-mock"
- onClick={[Function]}
- >
- sparta.hero.chipText
- </Chip>
- }
- image="icon-mock"
- indent={true}
- noOverflow={false}
- reverse={false}
- theme="black"
- title="sparta.hero.title"
- >
- <p
- className="SpartaPage__hero-paragraph"
- >
- sparta.hero.text
- </p>
- <HeroCard
- content="sparta.heroCard.markdown"
- counterTitle=""
- date={null}
- error={true}
- info={false}
- t={[Function]}
- />
- <TestnetModal
- className=""
- closeModal={[Function]}
- image="icon-mock"
- isOpen={false}
- title="sparta.modal.title"
- >
- <p>
- <Trans
- components={
- Array [
- <strong />,
- ]
- }
- i18nKey="sparta.modal.text"
- />
- </p>
- </TestnetModal>
- </Hero>
- <LayoutWrapper
- className=""
- dark={false}
- gradient={false}
- >
- <TitleWrapper
- className=""
- subtitle={
- <React.Fragment>
- sparta.testnetGoals.subtitle
- </React.Fragment>
- }
- title="sparta.testnetGoals.title"
- >
- <GoalList
- data={
- Array [
- Object {
- "text": <Trans
- components={
- Array [
- <Link
- className=""
- highlighted={false}
- to="/roles#council-member"
- >
- Council Members
- </Link>,
- ]
- }
- i18nKey="sparta.testnetGoals.goals.blockchain.text"
- />,
- "title": "sparta.testnetGoals.goals.blockchain.title",
- },
- Object {
- "state": "postponed",
- "text": "sparta.testnetGoals.goals.bugs.text",
- "title": "sparta.testnetGoals.goals.bugs.title",
- },
- ]
- }
- />
- </TitleWrapper>
- </LayoutWrapper>
- <LayoutWrapper
- className=""
- dark={true}
- gradient={false}
- >
- <TitleWrapper
- className=""
- subtitle=""
- title="sparta.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": true,
- "image": "icon-component-mock",
- "key": "validatorsCount",
- "title": "rolesData.validator",
- "to": "/roles#validator",
- "type": "most",
- },
- Object {
- "hasLabel": true,
- "image": "icon-component-mock",
- "key": "councilMembersCount",
- "title": "rolesData.councilMember",
- "to": "/roles#council-member",
- "type": "most",
- },
- ]
- }
- t={[Function]}
- />
- </ColumnsLayout>
- </TitleWrapper>
- </LayoutWrapper>
- <MapInfo
- className=""
- location="sparta"
- title="sparta.map.title"
- >
- <p>
- <Trans
- components={
- Array [
- <strong />,
- <br />,
- ]
- }
- i18nKey="sparta.map.text"
- />
- </p>
- </MapInfo>
- </BaseLayout>
- `;
|