Skip to content

Commit

Permalink
CORE-4858: show tutorial view
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 committed Mar 26, 2024
1 parent 8cf1533 commit 9943bb4
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions src/modules/documentation-membership/documentation-membership.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const DocumentationMembership = ({
imageSource,
docsTitle,
mulltyDocs,
// handleContentOpen,
// videoIcon,
handleContentOpen,
videoIcon,
}) => (
<div
className={classNames.use(styles.documentationWrapper, {
Expand Down Expand Up @@ -66,18 +66,17 @@ const DocumentationMembership = ({
{value[0]}
</span>
))}
{/* {item.tutorial && ( */}
{/* // eslint-disable-next-line max-len */}
{/* eslint-disable-next-line max-len */}
{/* // eslint-disable-next-line jsx-a11y/no-static-element-interactions,jsx-a11y/click-events-have-key-events */}
{/* <div */}
{/* onClick={() => handleContentOpen(item.tutorial)} */}
{/* className={styles.tutorialWrapper} */}
{/* > */}
{/* {item.tutorial?.text} */}
{/* <img src={videoIcon} alt="tutorial icon" /> */}
{/* </div> */}
{/* )} */}
{item.tutorial && (
// eslint-disable-next-line max-len
// eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
<div
onClick={() => handleContentOpen(item.tutorial)}
className={styles.tutorialWrapper}
>
{item.tutorial?.text}
<img src={videoIcon} alt="tutorial icon" />
</div>
)}
</div>
)}
<ReactMarkdown linkTarget="_blank" className={styles.test}>
Expand Down

0 comments on commit 9943bb4

Please sign in to comment.