2018-02-07 19:52:09 +01:00
|
|
|
import React from 'react';
|
|
|
|
import { Link } from 'react-router-dom';
|
|
|
|
import AssetDisplay from 'components/AssetDisplay';
|
|
|
|
|
|
|
|
class ShowLite extends React.Component {
|
|
|
|
render () {
|
2018-02-14 20:39:24 +01:00
|
|
|
const { asset } = this.props;
|
2018-02-07 19:52:09 +01:00
|
|
|
return (
|
|
|
|
<div className="row row--tall flex-container--column flex-container--center-center">
|
2018-02-14 20:39:24 +01:00
|
|
|
{ (asset) &&
|
2018-02-07 19:52:09 +01:00
|
|
|
<div>
|
|
|
|
<AssetDisplay />
|
2018-02-14 20:39:24 +01:00
|
|
|
<Link id="asset-boilerpate" className="link--primary fine-print" to={`/${asset.claimId}/${asset.name}`}>hosted via Spee.ch</Link>
|
2018-02-07 19:52:09 +01:00
|
|
|
</div>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ShowLite;
|