diff --git a/content/pages/publish.json b/content/pages/publish.json index 77a6a7e8c..c73d4c238 100644 --- a/content/pages/publish.json +++ b/content/pages/publish.json @@ -98,12 +98,12 @@ "success": "Asset Created!" }, "price": { - "simple": { - "title": "Simple: Fixed", + "fixed": { + "title": "Fixed", "info": "Set your price for accessing this data set. A Data Token contract for this data set, worth the entered amount of OCEAN will be created." }, - "advanced": { - "title": "Advanced: Dynamic", + "dynamic": { + "title": "Dynamic", "info": "Let's create a decentralized, automated market for your data set. A Data Token contract for this data set worth the entered amount of OCEAN will be created. Additionally, you will provide liquidity into a Data Token/OCEAN liquidity pool with Balancer.", "tooltips": { "poolInfo": "Help me", diff --git a/src/components/molecules/FormFields/Price/Advanced.module.css b/src/components/molecules/FormFields/Price/Dynamic.module.css similarity index 100% rename from src/components/molecules/FormFields/Price/Advanced.module.css rename to src/components/molecules/FormFields/Price/Dynamic.module.css diff --git a/src/components/molecules/FormFields/Price/Advanced.tsx b/src/components/molecules/FormFields/Price/Dynamic.tsx similarity index 97% rename from src/components/molecules/FormFields/Price/Advanced.tsx rename to src/components/molecules/FormFields/Price/Dynamic.tsx index a5c85cd05..a657d0f31 100644 --- a/src/components/molecules/FormFields/Price/Advanced.tsx +++ b/src/components/molecules/FormFields/Price/Dynamic.tsx @@ -1,7 +1,7 @@ import React, { ReactElement, useState, ChangeEvent, useEffect } from 'react' import { graphql, useStaticQuery } from 'gatsby' import stylesIndex from './index.module.css' -import styles from './Advanced.module.css' +import styles from './Dynamic.module.css' import FormHelp from '../../../atoms/Input/Help' import Wallet from '../../Wallet' import { useOcean } from '@oceanprotocol/react' @@ -13,7 +13,7 @@ import InputElement from '../../../atoms/Input/InputElement' import Label from '../../../atoms/Input/Label' import Tooltip from '../../../atoms/Tooltip' -export default function Advanced({ +export default function Dynamic({ ocean, tokensToMint, weightOnDataToken, diff --git a/src/components/molecules/FormFields/Price/Simple.module.css b/src/components/molecules/FormFields/Price/Fixed.module.css similarity index 80% rename from src/components/molecules/FormFields/Price/Simple.module.css rename to src/components/molecules/FormFields/Price/Fixed.module.css index 59027445a..68a1be810 100644 --- a/src/components/molecules/FormFields/Price/Simple.module.css +++ b/src/components/molecules/FormFields/Price/Fixed.module.css @@ -3,6 +3,6 @@ margin: 0 auto; } -.simple label { +.fixed label { display: none; } diff --git a/src/components/molecules/FormFields/Price/Simple.tsx b/src/components/molecules/FormFields/Price/Fixed.tsx similarity index 89% rename from src/components/molecules/FormFields/Price/Simple.tsx rename to src/components/molecules/FormFields/Price/Fixed.tsx index 7b8851a58..23b19b8bb 100644 --- a/src/components/molecules/FormFields/Price/Simple.tsx +++ b/src/components/molecules/FormFields/Price/Fixed.tsx @@ -1,12 +1,12 @@ import React, { ReactElement, ChangeEvent } from 'react' import stylesIndex from './index.module.css' -import styles from './Simple.module.css' +import styles from './Fixed.module.css' import FormHelp from '../../../atoms/Input/Help' import Label from '../../../atoms/Input/Label' import InputElement from '../../../atoms/Input/InputElement' import Conversion from '../../../atoms/Price/Conversion' -export default function Simple({ +export default function Fixed({ ocean, onChange, content @@ -17,7 +17,7 @@ export default function Simple({ }): ReactElement { return (