diff --git a/src/pages/404.tsx b/src/pages/404.tsx index 9917dc1e..3aa6ff09 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -1,7 +1,7 @@ import React, { ReactElement } from 'react' import { Link, PageProps } from 'gatsby' import Page from '../components/templates/Page' -import * as styles from './404.module.css' +import { hal9000, wrapper, title, text } from './404.module.css' const page = { frontmatter: { @@ -15,11 +15,11 @@ const NotFound = (props: PageProps): ReactElement => ( post={page} pathname={props.location.pathname} > -
+
-
-

{"I'm sorry Dave"}

{' '} -

{"I'm afraid I can't do that"}

+
+

{"I'm sorry Dave"}

{' '} +

{"I'm afraid I can't do that"}

Back to homepage
diff --git a/src/pages/tags.tsx b/src/pages/tags.tsx index 1780a79c..cb98ed1f 100644 --- a/src/pages/tags.tsx +++ b/src/pages/tags.tsx @@ -2,7 +2,7 @@ import React, { ReactElement } from 'react' import { graphql, PageProps } from 'gatsby' import Page from '../components/templates/Page' import Tag from '../components/atoms/Tag' -import * as styles from './tags.module.css' +import { tags } from './tags.module.css' const page = { frontmatter: { @@ -28,7 +28,7 @@ const TagsPage = (props: TagsPageProps): ReactElement => ( post={page} pathname={props.location.pathname} > -
    +
      {props.data.allMarkdownRemark.group .sort((a, b) => b.totalCount - a.totalCount) .map((tag: Tag) => ( diff --git a/src/pages/thanks.tsx b/src/pages/thanks.tsx index be948475..05bfa802 100644 --- a/src/pages/thanks.tsx +++ b/src/pages/thanks.tsx @@ -1,6 +1,5 @@ import React, { ReactElement } from 'react' import loadable from '@loadable/component' -import shortid from 'shortid' import { Helmet } from 'react-helmet' import { Web3ReactProvider } from '@web3-react/core' import { Author } from '../@types/Site' @@ -8,21 +7,29 @@ import { useSiteMetadata } from '../hooks/use-site-metadata' import { getLibrary } from '../hooks/use-web3' import Qr from '../components/atoms/Qr' import Icon from '../components/atoms/Icon' -import * as styles from './thanks.module.css' +import { + thanks, + title, + web3, + loading, + coins as styleCoins, + coin, + buttonBack +} from './thanks.module.css' const LazyWeb3Donation = loadable( () => import('../components/molecules/Web3Donation') ) const Coin = ({ address, author }: { address: string; author: Author }) => ( -
      +
      ) const BackButton = () => (