shrub/pkg/interface/soto/tile/tile.js
Matilde Park 859954f5e1 interface: add soto source code
This adds the source code for Soto's Landscape interface to the
interface pkg directory, matching the build workflow for our other
Landscape applications as well as their dependencies.
2019-11-14 13:48:48 -05:00

28 lines
682 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" style={{background: "#1a1a1a"}}>
<a className="w-100 h-100 db no-underline" href="/~soto">
<p className="gray label-regular b absolute"
style={{ left: 8, top: 4 }}>
Dojo
</p>
<img src="~soto/img/Tile.png"
className="absolute"
style={{ left: 30, top: 30, height: "174px", width: "174px"}}
/>
</a>
</div>
);
}
}
window.sotoTile = sotoTile;