mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-23 19:30:34 -04:00
Clicking modal img also opens tutorial
This commit is contained in:
parent
b993b274ad
commit
646624a07f
1 changed files with 9 additions and 7 deletions
|
@ -26,13 +26,15 @@ const TTTModal = props => (
|
|||
>
|
||||
<div className="ttt-modal-header modal-header" />
|
||||
<div className="ttt-modal-body">
|
||||
<div className="ttt-img-container">
|
||||
<img
|
||||
alt=""
|
||||
className="mod-ttt-img"
|
||||
src={props.modalImage}
|
||||
/>
|
||||
</div>
|
||||
<a href={props.tutorialUrl}>
|
||||
<div className="ttt-img-container">
|
||||
<img
|
||||
alt=""
|
||||
className="mod-ttt-img"
|
||||
src={props.modalImage}
|
||||
/>
|
||||
</div>
|
||||
</a>
|
||||
<div className="ttt-content">
|
||||
<div className="ttt-content-chunk">
|
||||
<h2>{props.title}</h2>
|
||||
|
|
Loading…
Add table
Reference in a new issue