shrub/pkg/interface/soto/tile/tile.js
2020-02-05 18:16:56 -05:00

33 lines
698 B
JavaScript

import React, { Component } from 'react';
import classnames from 'classnames';
import _ from 'lodash';
export default class sotoTile extends Component {
render() {
return (
<div className="w-100 h-100 relative bg-black">
<a className="w-100 h-100 db bn" href="/~dojo">
<p className="white f9 absolute"
style={{ left: 8, top: 8 }}>
Dojo
</p>
<img src="~dojo/img/Tile.png"
className="absolute"
style={{
left: 39,
top: 39,
height: 48,
width: 48
}}
/>
</a>
</div>
);
}
}
window.sotoTile = sotoTile;