mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Update entire Tutorial cards to be clickable
Wrapped the Tutorial cards in link tags, rather than just the button.
This commit is contained in:
parent
36eff8a9db
commit
dc13d63d2e
1 changed files with 18 additions and 12 deletions
|
@ -31,24 +31,30 @@ var Hoc = React.createClass({
|
||||||
|
|
||||||
<div className="card-deck">
|
<div className="card-deck">
|
||||||
<div className="card">
|
<div className="card">
|
||||||
|
<a href="/projects/editor/?tip_bar=name">
|
||||||
<div className="card-info" onMouseEnter={this.onCardEnter.bind(this, 'name-bg')}>
|
<div className="card-info" onMouseEnter={this.onCardEnter.bind(this, 'name-bg')}>
|
||||||
<img src="/images/name-tutorial.jpg" />
|
<img src="/images/name-tutorial.jpg" />
|
||||||
<a href="/projects/editor/?tip_bar=name"><Button>Animate Your Name</Button></a>
|
<Button>Animate Your Name</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="card" onMouseEnter={this.onCardEnter.bind(this, 'wbb-bg')}>
|
<div className="card" onMouseEnter={this.onCardEnter.bind(this, 'wbb-bg')}>
|
||||||
|
<a href="/hide">
|
||||||
<div className="card-info">
|
<div className="card-info">
|
||||||
<img src="/images/hide-seek-tutorial.jpg" />
|
<img src="/images/hide-seek-tutorial.jpg" />
|
||||||
<a href="/hide"><Button> Hide-and-Seek Game</Button></a>
|
<Button> Hide-and-Seek Game</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="card" onMouseEnter={this.onCardEnter.bind(this, 'dance-bg')}>
|
<div className="card" onMouseEnter={this.onCardEnter.bind(this, 'dance-bg')}>
|
||||||
|
<a href="/projects/editor/?tip_bar=dance">
|
||||||
<div className="card-info">
|
<div className="card-info">
|
||||||
<img src="/images/dance-tutorial.jpg" />
|
<img src="/images/dance-tutorial.jpg" />
|
||||||
<a href="/projects/editor/?tip_bar=dance"><Button>Dance, Dance, Dance</Button></a>
|
<Button>Dance, Dance, Dance</Button>
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue