hds-web 1.9.3 → 1.9.5

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.9.3",
3
+ "version": "1.9.5",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -25,7 +25,7 @@ export default function Testimonial(props) {
25
25
  const Card1 = () => {
26
26
  return (
27
27
  <>
28
- <div className={`${HDSColor(card.cardBg)} bg-neutral-1000/40 rounded-2xl max-w-[220px] min-h-[441px] flex flex-col justify-between `}>
28
+ <div className={`${HDSColor(card.cardBg)} backdrop-blur-lg bg-neutral-1000 bg-opacity-20 rounded-2xl max-w-[220px] h-[428px] flex flex-col justify-between `}>
29
29
  <div className="">
30
30
  <div className=" pt-8 pl-6">
31
31
  <img src="https://res.cloudinary.com/dh8fp23nd/image/upload/v1686737531/hasura-design-system/icons/optum_zn0bhw.png" alt="Card" className=" inline-block w-16 " />
@@ -53,8 +53,8 @@ export default function Testimonial(props) {
53
53
 
54
54
  const Card2 = () => {
55
55
  return (
56
- <div className="max-h-[441px]">
57
- <div className={`${HDSColor(cardHover.cardBg)} bg-blue-500 rounded-2xl max-w-[221px] justify-between h-[442px] flex flex-col`}>
56
+ <div className="h-[428px]">
57
+ <div className={`${HDSColor(cardHover.cardBg)} rounded-2xl max-w-[221px] justify-between h-[442px] flex flex-col`}>
58
58
  <div className=" ">
59
59
  <div className="pt-8 pl-6 pr-12 ">
60
60
  <img src="https://res.cloudinary.com/dh8fp23nd/image/upload/v1686760719/website%20v3/hascon_t5kwrf.png" alt="Card" className=" inline-block w-full" />
@@ -1,31 +1,33 @@
1
- import React, { useState } from 'react';
1
+ import React from 'react';
2
2
  import { Testimonial } from '../Testimonials';
3
3
 
4
4
  export default function HomeVC(props) {
5
5
  return (
6
6
  <>
7
7
  <div className='carouselShadow'>
8
- <div className='w-[643.51px] h-[472.64px] bg-base-1000 rounded-2xl flex flex-col items-center justify-center border-2 border-neutral-300'>
9
- <div className='absolute'>
10
- <div>
11
- <video
12
- autoPlay
13
- loop
14
- className="object-contain max-w-full max-h-full px-1"
15
- src={props.video_url}
8
+ <div className='w-[620px] h-[476px] bg-base-1000 rounded-2xl border-2 border-neutral-300 flex justify-center items-center'>
9
+ <div className='w-[580px] h-[436px] bg-base-1000 rounded flex flex-col items-center justify-center overflow-hidden'>
10
+ <div className=''>
11
+ <div className=''>
12
+ <video
13
+ autoPlay
14
+ loop
15
+ muted
16
+ className=" object-fill max-w-full max-h-full scale-150"
17
+ src={props.video_url}
16
18
  />
17
- </div>
18
- <div className='fixed top-[15px] left-[415px] filter-[16px]'>
19
+ <div className='w-full fixed flex-col flex items-center'>
20
+ <div className='fixed mx-auto top-[451px] w-[147px] h-[3px] bg-neutral-0/20' />
21
+ </div>
22
+ </div>
23
+ <div className='fixed top-[24px] left-[375px] bg-neutral-0/40'>
19
24
 
20
- <Testimonial {...props.testimonial}/>
25
+ <Testimonial {...props.testimonial} />
26
+ </div>
21
27
  </div>
22
28
  </div>
23
29
  </div>
24
- {/* <div className='relative mx-auto top-[442.72px] w-[151.7px] h-[3.1px] bg-neutral-0/20' /> */}
30
+
25
31
  </div>
26
32
  </>)
27
- }
28
-
29
- HomeVC.defaultProps= {
30
-
31
33
  }
@@ -131,8 +131,8 @@ const carouselItems2 = [
131
131
  const video_props =
132
132
  [
133
133
  {
134
- // video_url: 'https://nutrien-prod-asset.s3.us-east-2.amazonaws.com/s3fs-public/video-thumbnails/2019-05/Nutrien-Banner-Loop-V4.mp4',
135
- video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4',
134
+ video_url: 'https://nutrien-prod-asset.s3.us-east-2.amazonaws.com/s3fs-public/video-thumbnails/2019-05/Nutrien-Banner-Loop-V4.mp4',
135
+ //video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4',
136
136
 
137
137
  testimonial: {
138
138
  card: {
@@ -364,11 +364,11 @@ export default function HomePageCarousePrimary(props) {
364
364
  >
365
365
  <div className="w-screen flex justify-center">
366
366
  <div className="absolute z-30">
367
- <div className={`snap-x w-[643px] h-[800px] items-center bg-neutral-0 z-10 inline-flex select-none overflow-x-hidden scrollbar-hide`}
367
+ <div className={`snap-x w-[643px] h-[800px] items-center z-10 inline-flex select-none overflow-x-hidden scrollbar-hide`}
368
368
  ref={carouselRef}
369
369
  >
370
370
  {video_props.map((item, i) => (
371
- <div className=" db:snap-center snap-center tb-m:snap-start mx-5 " key={i } ref={refs[i]}>
371
+ <div className=" db:snap-center snap-center tb-m:snap-start mx-5 " key={i} ref={refs[i]}>
372
372
  <div className=" select-none rounded-3xl object-contain ">
373
373
  {React.createElement(VideoCard, item)}
374
374
  </div>
@@ -384,7 +384,7 @@ export default function HomePageCarousePrimary(props) {
384
384
  >
385
385
 
386
386
  {cards.map((item, i) => {
387
-
387
+
388
388
  // toggleBoolean();
389
389
  return (
390
390
  <>