mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-02 21:02:49 +02:00
Use Preact, rather than React (#91)
* moving to Preact to shave off 100+kb * preact'ed
This commit is contained in:
@@ -9,7 +9,7 @@ var Ribbon = React.createClass({
|
||||
|
||||
render: function() {
|
||||
return (<div className="ribbon">
|
||||
<img src="images/ribbon.png" alt="This page on GitHub" style={{border:"none"}} useMap={"#githubmap"} width="200px" height="149px"/>
|
||||
<img src="images/ribbon.png" alt="This page on GitHub" style={{border:"none"}} useMap={"#githubmap"} width="200" height="149"/>
|
||||
<map name="githubmap">
|
||||
<area shape="poly" coords="30,0, 200,0, 200,114" href={this.state.href} alt="This page on GitHub"/>
|
||||
</map>
|
||||
|
Reference in New Issue
Block a user