shrub/pkg/interface/contacts/tile/tile.js

35 lines
803 B
JavaScript
Raw Normal View History

2019-11-19 01:41:08 +03:00
import React, { Component } from 'react';
import classnames from 'classnames';
import _ from 'lodash';
export default class ContactTile extends Component {
render() {
const { props } = this;
return (
2020-02-22 05:58:02 +03:00
<div className={"w-100 h-100 relative bg-white bg-gray0-d " +
"b--black b--gray1-d ba"}>
<a className="w-100 h-100 db pa2 bn" href="/~contacts">
<p
2020-02-22 05:58:02 +03:00
className="black white-d absolute f9"
style={{ left: 8, top: 8 }}>
2019-11-19 01:41:08 +03:00
Contacts
</p>
<img
2020-02-22 05:58:02 +03:00
className="absolute invert-d"
style={{ left: 39, top: 39 }}
src="/~contacts/img/Tile.png"
width={48}
height={48}
/>
2019-11-19 01:41:08 +03:00
</a>
</div>
);
}
}
window['contact-viewTile'] = ContactTile;