1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-02-25 18:15:15 +01:00

20 lines
516 B
React
Raw Normal View History

var React = require('react');
var Ribbon = React.createClass({
getInitialState() {
return {
href: "http://github.com/pomax/BezierInfo-2"
};
},
render: function() {
return (<div className="ribbon">
<img src="images/ribbon.png" alt="This page on GitHub" border={0} useMap={"#githubmap"} />
<map name="githubmap">
<area shape="poly" coords="30,0, 200,0, 200,114" href={this.state.href} alt="This page on GitHub"/>
</map>
</div>);
}
});
module.exports = Ribbon;