hds-web 1.14.1 → 1.14.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.14.1",
3
+ "version": "1.14.2",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -57,7 +57,7 @@ export default function NavCard(props) {
57
57
  }
58
58
  <div className='mt-8'>
59
59
  {
60
- showVideo ? (
60
+ showVideo && tabContent.video_url ? (
61
61
  <video
62
62
  id="hero_vid"
63
63
  controls={true}
@@ -90,6 +90,15 @@ export default function NavCard(props) {
90
90
  )
91
91
  }
92
92
 
93
+ {
94
+ tabContent.img_url && (
95
+ <div>
96
+ <img src={tabContent.img_url} alt="Illustration" className=' max-w-[583px] rounded-2xl' />
97
+
98
+ </div>
99
+ )
100
+ }
101
+
93
102
  </div>
94
103
  </>
95
104
  )