@rpg-engine/long-bow 0.6.34 → 0.6.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/long-bow.cjs.development.js +7 -7
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +7 -7
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Tutorial/TutorialStepper.tsx +11 -5
package/package.json
CHANGED
|
@@ -26,10 +26,10 @@ export const TutorialStepper = React.memo(
|
|
|
26
26
|
component: (
|
|
27
27
|
<LessonContainer key={index} className="lesson-container">
|
|
28
28
|
<LessonTitle className="lesson-title">{lesson.title}</LessonTitle>
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
<LessonImage>
|
|
30
|
+
{lesson.imageUrl ? (
|
|
31
31
|
<a
|
|
32
|
-
href={lesson.imageUrl
|
|
32
|
+
href={lesson.imageUrl}
|
|
33
33
|
target="_blank"
|
|
34
34
|
rel="noopener noreferrer"
|
|
35
35
|
>
|
|
@@ -39,8 +39,14 @@ export const TutorialStepper = React.memo(
|
|
|
39
39
|
loading="lazy"
|
|
40
40
|
/>
|
|
41
41
|
</a>
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
) : (
|
|
43
|
+
<img
|
|
44
|
+
src={lesson.image}
|
|
45
|
+
alt={lesson.title || 'Tutorial image'}
|
|
46
|
+
loading="lazy"
|
|
47
|
+
/>
|
|
48
|
+
)}
|
|
49
|
+
</LessonImage>
|
|
44
50
|
<LessonFooter className="lesson-footer">
|
|
45
51
|
{lesson.body && (
|
|
46
52
|
<LessonBody
|