bart-tile/tile/tile.js

21 lines
596 B
JavaScript
Raw Normal View History

2020-05-10 04:24:46 -07:00
import React, { Component } from 'react';
import _ from 'lodash';
2020-05-10 04:30:23 -07:00
export default class barttileTile extends Component {
2020-05-10 04:24:46 -07:00
render() {
return (
<div className="w-100 h-100 relative bg-white bg-gray0-d ba b--black b--gray1-d">
2020-05-10 04:30:23 -07:00
<a className="w-100 h-100 db pa2 no-underline" href="/~barttile">
2020-05-11 23:25:30 -07:00
<p className="black white-d absolute f9" style={{ left: 8, top: 8 }}>BART</p>
<img className="absolute" src="/~barttile/img/Temp-Bart-Icon.png" style={{top: 40, left: 20, width: "50%"}}/>
2020-05-10 04:30:23 -07:00
</a>
2020-05-10 04:24:46 -07:00
</div>
);
}
}
2020-05-10 04:30:23 -07:00
window.barttileTile = barttileTile;