From 305e050391aaf782bdee6f4b6dc1c7dd2099cb8f Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 13 Jun 2019 16:35:41 +0200 Subject: [PATCH] move version number components to Molecules --- .../VersionNumbers/VersionTable.module.scss | 2 +- .../{atoms => molecules}/VersionNumbers/VersionTable.tsx | 2 +- .../{atoms => molecules}/VersionNumbers/index.module.scss | 0 .../{atoms => molecules}/VersionNumbers/index.test.tsx | 0 .../components/{atoms => molecules}/VersionNumbers/index.tsx | 0 .../{atoms => molecules}/VersionNumbers/utils.test.ts | 0 .../src/components/{atoms => molecules}/VersionNumbers/utils.ts | 0 client/src/components/organisms/Footer.tsx | 2 +- client/src/routes/About.tsx | 2 +- 9 files changed, 4 insertions(+), 4 deletions(-) rename client/src/components/{atoms => molecules}/VersionNumbers/VersionTable.module.scss (93%) rename client/src/components/{atoms => molecules}/VersionNumbers/VersionTable.tsx (98%) rename client/src/components/{atoms => molecules}/VersionNumbers/index.module.scss (100%) rename client/src/components/{atoms => molecules}/VersionNumbers/index.test.tsx (100%) rename client/src/components/{atoms => molecules}/VersionNumbers/index.tsx (100%) rename client/src/components/{atoms => molecules}/VersionNumbers/utils.test.ts (100%) rename client/src/components/{atoms => molecules}/VersionNumbers/utils.ts (100%) diff --git a/client/src/components/atoms/VersionNumbers/VersionTable.module.scss b/client/src/components/molecules/VersionNumbers/VersionTable.module.scss similarity index 93% rename from client/src/components/atoms/VersionNumbers/VersionTable.module.scss rename to client/src/components/molecules/VersionNumbers/VersionTable.module.scss index 06f9b2e..348288e 100644 --- a/client/src/components/atoms/VersionNumbers/VersionTable.module.scss +++ b/client/src/components/molecules/VersionNumbers/VersionTable.module.scss @@ -54,6 +54,6 @@ } .spinner { - composes: spinner, small from '../Spinner.module.scss'; + composes: spinner, small from '../../atoms/Spinner.module.scss'; margin-right: $spacer; } diff --git a/client/src/components/atoms/VersionNumbers/VersionTable.tsx b/client/src/components/molecules/VersionNumbers/VersionTable.tsx similarity index 98% rename from client/src/components/atoms/VersionNumbers/VersionTable.tsx rename to client/src/components/molecules/VersionNumbers/VersionTable.tsx index fcab197..d7a3470 100644 --- a/client/src/components/atoms/VersionNumbers/VersionTable.tsx +++ b/client/src/components/molecules/VersionNumbers/VersionTable.tsx @@ -2,7 +2,7 @@ import React, { Fragment } from 'react' import { VersionNumbersState as VersionTableProps } from '.' import styles from './VersionTable.module.scss' import slugify from '@sindresorhus/slugify' -import Spinner from '../Spinner' +import Spinner from '../../atoms/Spinner' const VersionTableContracts = ({ contracts, diff --git a/client/src/components/atoms/VersionNumbers/index.module.scss b/client/src/components/molecules/VersionNumbers/index.module.scss similarity index 100% rename from client/src/components/atoms/VersionNumbers/index.module.scss rename to client/src/components/molecules/VersionNumbers/index.module.scss diff --git a/client/src/components/atoms/VersionNumbers/index.test.tsx b/client/src/components/molecules/VersionNumbers/index.test.tsx similarity index 100% rename from client/src/components/atoms/VersionNumbers/index.test.tsx rename to client/src/components/molecules/VersionNumbers/index.test.tsx diff --git a/client/src/components/atoms/VersionNumbers/index.tsx b/client/src/components/molecules/VersionNumbers/index.tsx similarity index 100% rename from client/src/components/atoms/VersionNumbers/index.tsx rename to client/src/components/molecules/VersionNumbers/index.tsx diff --git a/client/src/components/atoms/VersionNumbers/utils.test.ts b/client/src/components/molecules/VersionNumbers/utils.test.ts similarity index 100% rename from client/src/components/atoms/VersionNumbers/utils.test.ts rename to client/src/components/molecules/VersionNumbers/utils.test.ts diff --git a/client/src/components/atoms/VersionNumbers/utils.ts b/client/src/components/molecules/VersionNumbers/utils.ts similarity index 100% rename from client/src/components/atoms/VersionNumbers/utils.ts rename to client/src/components/molecules/VersionNumbers/utils.ts diff --git a/client/src/components/organisms/Footer.tsx b/client/src/components/organisms/Footer.tsx index bbfcfd4..8e54a22 100644 --- a/client/src/components/organisms/Footer.tsx +++ b/client/src/components/organisms/Footer.tsx @@ -5,7 +5,7 @@ import { ReactComponent as AiCommons } from '../../img/aicommons.svg' import styles from './Footer.module.scss' import meta from '../../data/meta.json' -import VersionNumbers from '../atoms/VersionNumbers' +import VersionNumbers from '../molecules/VersionNumbers' const Footer = () => (