Moving description into horizontal split + added brand color for links
This commit is contained in:
parent
542107db78
commit
431757cea4
2 changed files with 13 additions and 7 deletions
|
@ -5,6 +5,7 @@ $tertiary-color: #ccccc0;
|
||||||
$interactive-color: blue;
|
$interactive-color: blue;
|
||||||
$success-color: green;
|
$success-color: green;
|
||||||
$failure-color: red;
|
$failure-color: red;
|
||||||
|
$brand-color: #ff725d;
|
||||||
|
|
||||||
$primary-padding: 3em;
|
$primary-padding: 3em;
|
||||||
$secondary-padding: 2em;
|
$secondary-padding: 2em;
|
||||||
|
|
|
@ -5,19 +5,24 @@ import RowLabeled from '@components/RowLabeled';
|
||||||
import Row from '@components/Row';
|
import Row from '@components/Row';
|
||||||
import SpaceBetween from '@components/SpaceBetween';
|
import SpaceBetween from '@components/SpaceBetween';
|
||||||
import AssetShareButtons from '@components/AssetShareButtons';
|
import AssetShareButtons from '@components/AssetShareButtons';
|
||||||
|
import HorizontalSplit from '@components/HorizontalSplit';
|
||||||
import ClickToCopy from '@components/ClickToCopy';
|
import ClickToCopy from '@components/ClickToCopy';
|
||||||
|
|
||||||
class AssetInfo extends React.Component {
|
class AssetInfo extends React.Component {
|
||||||
render () {
|
render () {
|
||||||
const { asset: { shortId, claimData : { channelName, certificateId, description, name, claimId, fileExt, contentType, thumbnail, host } } } = this.props;
|
const { asset: { shortId, claimData : { channelName, certificateId, description, name, claimId, fileExt, contentType, thumbnail, host } } } = this.props;
|
||||||
return (
|
return (
|
||||||
<div>
|
<div className='asset-information'>
|
||||||
|
<HorizontalSplit
|
||||||
|
leftSide={
|
||||||
|
<div className='asset-description'>
|
||||||
{description && (
|
{description && (
|
||||||
<Row>
|
<p>{description}</p>
|
||||||
<p class='asset-description'>{description}</p>
|
|
||||||
</Row>
|
|
||||||
)}
|
)}
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
rightSide={''}
|
||||||
|
/>
|
||||||
|
|
||||||
{channelName && (
|
{channelName && (
|
||||||
<Row>
|
<Row>
|
||||||
|
|
Loading…
Reference in a new issue