Moving description into horizontal split + added brand color for links

This commit is contained in:
Minesh Mitha 2018-10-06 18:24:55 +01:00
parent 542107db78
commit 431757cea4
2 changed files with 13 additions and 7 deletions

View file

@ -5,6 +5,7 @@ $tertiary-color: #ccccc0;
$interactive-color: blue;
$success-color: green;
$failure-color: red;
$brand-color: #ff725d;
$primary-padding: 3em;
$secondary-padding: 2em;

View file

@ -5,19 +5,24 @@ import RowLabeled from '@components/RowLabeled';
import Row from '@components/Row';
import SpaceBetween from '@components/SpaceBetween';
import AssetShareButtons from '@components/AssetShareButtons';
import HorizontalSplit from '@components/HorizontalSplit';
import ClickToCopy from '@components/ClickToCopy';
class AssetInfo extends React.Component {
render () {
const { asset: { shortId, claimData : { channelName, certificateId, description, name, claimId, fileExt, contentType, thumbnail, host } } } = this.props;
return (
<div>
{description && (
<Row>
<p class='asset-description'>{description}</p>
</Row>
)}
<div className='asset-information'>
<HorizontalSplit
leftSide={
<div className='asset-description'>
{description && (
<p>{description}</p>
)}
</div>
}
rightSide={''}
/>
{channelName && (
<Row>