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-13 03:18:56 +01:00
|
|
|
const { name, claimId } = this.props;
|
2018-02-07 19:52:09 +01:00
|
|
|
return (
|
|
|
|
<div className="row row--tall flex-container--column flex-container--center-center">
|
|
|
|
{ (name && claimId) &&
|
|
|
|
<div>
|
|
|
|
<AssetDisplay />
|
|
|
|
<Link id="asset-boilerpate" className="link--primary fine-print" to={`/${claimId}/${name}`}>hosted via Spee.ch</Link>
|
|
|
|
</div>
|
|
|
|
}
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ShowLite;
|