change text

This commit is contained in:
Jernej Pregelj 2019-05-09 13:34:17 +02:00
parent 8932ac2067
commit b4e7b6c204
3 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,7 @@
word-wrap: break-word; word-wrap: break-word;
> div { > div {
display: block; display: flex;
height: 100%; height: 100%;
padding: $spacer; padding: $spacer;
border: 1px solid $brand-grey-lighter; border: 1px solid $brand-grey-lighter;
@ -26,11 +26,12 @@
img { img {
width: 100px; width: 100px;
padding-right: $spacer; padding-right: $spacer;
float: left; object-fit: contain;
align-self: flex-start;
} }
> div { > div {
display: inline; flex: 1 1 auto;
} }
} }

View File

@ -50,13 +50,13 @@ class Publish extends Component<{}, PublishState> {
/> />
<AreaButton <AreaButton
title={'Workflow'} title={'Workflow'}
description={'A composite of data loading, transformation, machine learning scripts and other base assets in a directed acyclical graph.'} description={'A directed composite of dataset, container, and script assets.'}
action={() => this.publishType('workflow')} action={() => this.publishType('workflow')}
image={Workflow} image={Workflow}
/> />
<AreaButton <AreaButton
title={'Script'} title={'Script'}
description={'A single programming script (for example, a python notebook or file) to accomplish tasks such as transforming data or training a machine learning model.'} description={'A single programming script or notebook to execute a data science task.'}
action={() => this.publishType('script')} action={() => this.publishType('script')}
image={Script} image={Script}
/> />

View File

@ -227,7 +227,7 @@ class Loader extends Component<LoaderProps, LoaderState> {
return ( return (
<Route <Route
title="Publish" title="Publish"
description="Publish a new data set into the Ocean Protocol Network." description={`You are publishing a new ${this.props.loadType}.`}
> >
{(!this.context.isLogged || !this.context.isNile) && ( {(!this.context.isLogged || !this.context.isNile) && (
<Web3message /> <Web3message />