Commit 646624a0 authored by Eric Rosenbaum's avatar Eric Rosenbaum

Clicking modal img also opens tutorial

parent b993b274
...@@ -26,6 +26,7 @@ const TTTModal = props => ( ...@@ -26,6 +26,7 @@ const TTTModal = props => (
> >
<div className="ttt-modal-header modal-header" /> <div className="ttt-modal-header modal-header" />
<div className="ttt-modal-body"> <div className="ttt-modal-body">
<a href={props.tutorialUrl}>
<div className="ttt-img-container"> <div className="ttt-img-container">
<img <img
alt="" alt=""
...@@ -33,6 +34,7 @@ const TTTModal = props => ( ...@@ -33,6 +34,7 @@ const TTTModal = props => (
src={props.modalImage} src={props.modalImage}
/> />
</div> </div>
</a>
<div className="ttt-content"> <div className="ttt-content">
<div className="ttt-content-chunk"> <div className="ttt-content-chunk">
<h2>{props.title}</h2> <h2>{props.title}</h2>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment