hds-web 1.2.0 → 1.2.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.2.0",
3
+ "version": "1.2.2",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -0,0 +1,3 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.04272 3.01211C6.48206 2.0875 8.19783 1.54417 10.0375 1.54417H10.2472C12.0869 1.54417 13.8027 2.07797 15.242 3.01211C15.69 3.29807 16.281 3.20275 16.6051 2.79287L17.7871 0.953183C17.8824 0.819734 18.0254 0.724414 18.1874 0.714882C18.3495 0.70535 18.5115 0.772074 18.6068 0.905523C19.56 2.2972 19.8269 5.45231 19.3027 7.07276C19.112 7.64469 19.0644 8.2452 19.1692 8.82666C19.2836 9.40812 19.3885 10.104 19.3885 10.5901C19.3885 15.5944 15.2992 19.6455 10.2472 19.6455H10.0375C4.98552 19.6455 0.896274 15.5944 0.896274 10.5901C0.896274 10.104 1.01066 9.40812 1.11551 8.82666C1.22036 8.2452 1.16317 7.64469 0.982062 7.07276C0.457799 5.45231 0.734229 2.2972 1.6779 0.905523C1.76369 0.762542 1.93527 0.70535 2.09731 0.714882C2.25936 0.733946 2.41187 0.819734 2.49766 0.953183L3.67963 2.79287C4.01326 3.20275 4.59471 3.29807 5.04272 3.01211ZM11.108 14.2727V7H9.28977L7.5 8.09375V9.76989L9.09091 8.81818H9.13352V14.2727H11.108Z" fill="#80A3FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.04272 3.01211C6.48206 2.0875 8.19783 1.54417 10.0375 1.54417H10.2472C12.0869 1.54417 13.8027 2.07797 15.242 3.01211C15.69 3.29807 16.281 3.20275 16.6051 2.79287L17.7871 0.953183C17.8824 0.819734 18.0254 0.724414 18.1874 0.714882C18.3495 0.70535 18.5115 0.772074 18.6068 0.905523C19.56 2.2972 19.8269 5.45231 19.3027 7.07276C19.112 7.64469 19.0644 8.2452 19.1692 8.82666C19.2836 9.40812 19.3885 10.104 19.3885 10.5901C19.3885 15.5944 15.2992 19.6455 10.2472 19.6455H10.0375C4.98552 19.6455 0.896274 15.5944 0.896274 10.5901C0.896274 10.104 1.01066 9.40812 1.11551 8.82666C1.22036 8.2452 1.16317 7.64469 0.982062 7.07276C0.457799 5.45231 0.734229 2.2972 1.6779 0.905523C1.76369 0.762542 1.93527 0.70535 2.09731 0.714882C2.25936 0.733946 2.41187 0.819734 2.49766 0.953183L3.67963 2.79287C4.01326 3.20275 4.59471 3.29807 5.04272 3.01211ZM7.14205 12.9517V14.3722H12.7244V12.7955H9.88352V12.7528L10.5653 12.1847C11.1193 11.723 11.5466 11.3253 11.8473 10.9915C12.148 10.6577 12.3563 10.3535 12.4723 10.0788C12.5883 9.80185 12.6463 9.52367 12.6463 9.24432C12.6463 8.79214 12.5291 8.39796 12.2947 8.06179C12.0627 7.72562 11.7325 7.4652 11.304 7.28054C10.8778 7.09351 10.3736 7 9.79119 7C9.22775 7 8.73651 7.09943 8.31747 7.2983C7.89844 7.49716 7.5741 7.78125 7.34446 8.15057C7.11482 8.51989 7 8.96023 7 9.47159H8.875C8.875 9.26799 8.91288 9.09517 8.98864 8.95312C9.06439 8.81108 9.17093 8.70336 9.30824 8.62997C9.44792 8.55658 9.6089 8.51989 9.79119 8.51989C9.97348 8.51989 10.1345 8.55658 10.2741 8.62997C10.4138 8.70099 10.5227 8.80279 10.6009 8.93537C10.6813 9.06794 10.7216 9.22775 10.7216 9.41477C10.7216 9.58523 10.6861 9.74029 10.6151 9.87997C10.5464 10.0196 10.447 10.1558 10.3168 10.2884C10.1889 10.4186 10.035 10.5582 9.85511 10.7074L7.14205 12.9517Z" fill="#80A3FF"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.04272 3.01211C6.48206 2.0875 8.19783 1.54417 10.0375 1.54417H10.2472C12.0869 1.54417 13.8027 2.07797 15.242 3.01211C15.69 3.29807 16.281 3.20275 16.6051 2.79287L17.7871 0.953183C17.8824 0.819734 18.0254 0.724414 18.1874 0.714882C18.3495 0.70535 18.5115 0.772074 18.6068 0.905523C19.56 2.2972 19.8269 5.45231 19.3027 7.07276C19.112 7.64469 19.0644 8.2452 19.1692 8.82666C19.2836 9.40812 19.3885 10.104 19.3885 10.5901C19.3885 15.5944 15.2992 19.6455 10.2472 19.6455H10.0375C4.98552 19.6455 0.896274 15.5944 0.896274 10.5901C0.896274 10.104 1.01066 9.40812 1.11551 8.82666C1.22036 8.2452 1.16317 7.64469 0.982062 7.07276C0.457799 5.45231 0.734229 2.2972 1.6779 0.905523C1.76369 0.762542 1.93527 0.70535 2.09731 0.714882C2.25936 0.733946 2.41187 0.819734 2.49766 0.953183L3.67963 2.79287C4.01326 3.20275 4.59471 3.29807 5.04272 3.01211ZM8.42756 14.1768C8.87263 14.3733 9.38163 14.4716 9.95455 14.4716C10.5488 14.4716 11.0732 14.3781 11.5277 14.1911C11.9846 14.004 12.3409 13.746 12.5966 13.4169C12.8546 13.0878 12.9825 12.7102 12.9801 12.2841C12.9848 11.839 12.8393 11.4697 12.5433 11.1761C12.2474 10.8802 11.8059 10.7003 11.2188 10.6364V10.5795C11.652 10.5322 12.0095 10.3783 12.2912 10.1179C12.5753 9.85748 12.715 9.52367 12.7102 9.11648C12.7126 8.70691 12.5966 8.34351 12.3622 8.02628C12.1302 7.70668 11.8071 7.45573 11.3928 7.27344C10.9808 7.09115 10.5062 7 9.96875 7C9.41951 7 8.933 7.09706 8.50923 7.29119C8.08546 7.48532 7.75166 7.75284 7.50781 8.09375C7.26634 8.43466 7.14441 8.82765 7.14205 9.27273H9.03125C9.03362 9.12595 9.07505 8.99574 9.15554 8.8821C9.23603 8.76847 9.34612 8.67969 9.4858 8.61577C9.62784 8.55185 9.78883 8.51989 9.96875 8.51989C10.1345 8.51989 10.2801 8.55066 10.4055 8.61222C10.5334 8.67377 10.6328 8.759 10.7038 8.8679C10.7749 8.9768 10.8092 9.10227 10.8068 9.24432C10.8092 9.3911 10.7678 9.52131 10.6825 9.63494C10.5997 9.74858 10.4825 9.83736 10.331 9.90128C10.1818 9.9652 10.009 9.99716 9.8125 9.99716H9.07386V11.3608H9.8125C10.0256 11.3608 10.2138 11.3928 10.3771 11.4567C10.5405 11.5206 10.6671 11.6094 10.7571 11.723C10.8494 11.8366 10.8944 11.9669 10.892 12.1136C10.8944 12.2628 10.8565 12.3954 10.7784 12.5114C10.7003 12.6274 10.5914 12.7185 10.4517 12.7848C10.312 12.8487 10.151 12.8807 9.96875 12.8807C9.77936 12.8807 9.61127 12.8499 9.46449 12.7884C9.31771 12.7268 9.2017 12.6416 9.11648 12.5327C9.03362 12.4214 8.991 12.2959 8.98864 12.1562H7C7.00237 12.6084 7.13021 13.0085 7.38352 13.3565C7.63684 13.7045 7.98485 13.978 8.42756 14.1768Z" fill="#80A3FF"/>
3
+ </svg>
@@ -36,7 +36,7 @@ const Buttonclasses = {
36
36
  },
37
37
  'secondary': {
38
38
  'default': {
39
- 'base': 'db:w-fit tb:w-fit w-full justify-center border-2 border-neutral-0 text-blue-500',
39
+ 'base': 'db:w-fit tb:w-fit w-full justify-center border-2 border-blue-500 text-blue-500',
40
40
 
41
41
  'hover': 'hover:text-neutral-0 hover:bg-blue-700 hover:border-2 hover:border-blue-700 hover:shadow-md hover:shadow hover:transition-all hover:ease-out hover:delay-100 hover:duration-300',
42
42
 
@@ -54,7 +54,7 @@ const Buttonclasses = {
54
54
  },
55
55
  'primaryLink': {
56
56
  'default': {
57
- 'base': 'db:w-fit tb:w-fit w-full justify-center text-blue-500',
57
+ 'base': 'db:w-fit tb:w-fit w-full justify-center ',
58
58
  'hover': 'hover:text-neutral-0',
59
59
  'focus': 'focus:shadow-[0px_0px_0px_4px_#DFE8FF] focus:outline-none focus:text-blue-600',
60
60
  },
@@ -62,7 +62,7 @@ const Buttonclasses = {
62
62
  },
63
63
  'secondaryLink': {
64
64
  'default': {
65
- 'base': 'db:w-fit tb:w-fit w-full justify-center text-neutral-800',
65
+ 'base': 'db:w-fit tb:w-fit w-full justify-center ',
66
66
  'hover': 'hover:text-neutral-900 ',
67
67
  'focus': 'focus:text-neutral-900 focus:outline-none focus:shadow-[0px_0px_0px_4px_#E5E7EB]',
68
68
  },
@@ -1,7 +1,8 @@
1
- import { Fragment } from 'react'
2
- import { Popover, Transition } from '@headlessui/react'
3
- import { Icon } from '../../common-components/Icon'
4
- import { Typography } from '../../../foundation/Typography'
1
+ import React from "react";;
2
+ import { Fragment } from 'react';
3
+ import { Popover, Transition } from '@headlessui/react';
4
+ import { Icon } from '../../common-components/Icon';
5
+ import { Typography } from '../../../foundation/Typography';
5
6
  export default function flyout(props) {
6
7
  const {
7
8
  label,
@@ -1,7 +1,8 @@
1
- import { Fragment } from 'react'
2
- import { Popover, Transition } from '@headlessui/react'
3
- import { Icon } from '../../common-components/Icon'
4
- import { Typography } from '../../../foundation/Typography'
1
+ import React from "react";
2
+ import { Fragment } from 'react';
3
+ import { Popover, Transition } from '@headlessui/react';
4
+ import { Icon } from '../../common-components/Icon';
5
+ import { Typography } from '../../../foundation/Typography';
5
6
  export default function FlyoutA(props) {
6
7
  const {
7
8
  label,
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { Fragment } from 'react'
2
3
  import { Popover, Transition } from '@headlessui/react'
3
4
  import { ChevronDownIcon } from '@heroicons/react/20/solid'
@@ -9,11 +9,28 @@ const cardVariant = {
9
9
  'cardStyle': 'p-10 ',
10
10
  'iconWidthStyle': 'h-20 w-20',
11
11
  'iconStyle': 'h-10 w-10',
12
+ 'titleTextStyle': 'h4',
13
+ 'titleClasses': 'mb-1 text-blue-800',
14
+ 'descTextStyle': 'body1c',
15
+ 'descClasses': 'text-neutral-1000'
12
16
  },
13
17
  "withoutButton": {
14
18
  'cardStyle': 'p-6',
15
19
  'iconWidthStyle': 'h-12 w-12',
16
20
  'iconStyle': 'h-6 w-6',
21
+ 'titleTextStyle': 'h5',
22
+ 'titleClasses': 'mb-1 text-blue-600',
23
+ 'descTextStyle': 'body1',
24
+ 'descClasses': 'text-neutral-1000'
25
+ },
26
+ "sm": {
27
+ 'cardStyle': 'p-6',
28
+ 'iconWidthStyle': 'h-12 w-12',
29
+ 'iconStyle': 'h-6 w-6',
30
+ 'titleTextStyle': 'body3c-bold',
31
+ 'titleClasses': 'mb-1 text-neutral-800',
32
+ 'descTextStyle': 'body3',
33
+ 'descClasses': 'text-neutral-800'
17
34
  }
18
35
  }
19
36
 
@@ -21,68 +38,60 @@ export default function IconCard(props) {
21
38
  const iconBG = HDSColor(props.iconBg);
22
39
  return (
23
40
  <div
24
- className={`bg-neutral-0 rounded-3xl shadow ${cardVariant[props.cardType]['cardStyle']}`}
41
+ className={`bg-neutral-0 grid rounded-3xl shadow ${cardVariant[props.cardType]['cardStyle']}`}
25
42
  >
26
- <div
27
- className={`${iconBG} ${cardVariant[props.cardType]['iconWidthStyle']} w-12 h-12 flex items-center justify-center rounded-full mb-6`}
28
- >
29
- <Icon
30
- height={`stroke-[1.5px] ${cardVariant[props.cardType]['iconStyle']}`}
31
- variant={props.iconVariant}
32
- strokeColor={props.iconStroke}
33
- strokeClass={HDSColor(props.iconStrokeClass)} />
34
- </div>
35
- <div
36
- className="flex-1">
37
- {props.cardType === 'withoutButton' ? (
38
- <>
39
- <Typography
40
- textStyle="h5"
41
- as="h5"
42
- className="mb-1 text-blue-600">
43
- {props.title}
44
- </Typography>
45
- <Typography
46
- textStyle="body1"
47
- className="text-neutral-1000">
48
- {props.description}
49
- </Typography>
50
- </>
51
- )
52
- :
53
- (
54
- <>
55
- <Typography
56
- textStyle="h4"
57
- as="h4"
58
- className="mb-1 text-blue-800">
59
- {props.title}
60
- </Typography>
61
- <Typography
62
- textStyle="body1c"
63
- className="text-neutral-1000">
64
- {props.description}
65
- </Typography>
66
- </>
67
- )
68
- }
69
- {props.cardType === 'withButton' && (
70
- <div className="flex mt-7">
71
- <HDSButton
72
- label='Start free'
73
- type='secondary'
74
- leftIconVariant='none'
75
- rightIconVariant='none'
76
- state='default'
77
- size='sm'
78
- rightAnimatedArrow={true}
79
- rightAnimatedArrowColor='#3970FD'
80
- className=' mt-7'
81
- />
82
- </div>
83
- )}
43
+ <div className=" self-start">
44
+ <div
45
+ className={`${iconBG} ${cardVariant[props.cardType]['iconWidthStyle']} w-12 h-12 flex items-center justify-center rounded-full mb-6`}
46
+ >
47
+ <Icon
48
+ height={`stroke-[1.5px] ${cardVariant[props.cardType]['iconStyle']}`}
49
+ variant={props.iconVariant}
50
+ strokeColor={props.iconStroke}
51
+ strokeClass={HDSColor(props.iconStrokeClass)} />
52
+ </div>
53
+ <div
54
+ className="flex-1">
55
+
56
+ {props.cardType &&
57
+ (
58
+ <>
59
+ <Typography
60
+ textStyle={cardVariant[props.cardType]['titleTextStyle']}
61
+ as={cardVariant[props.cardType]['titleTextStyle']}
62
+ className={cardVariant[props.cardType]['titleClasses']}
63
+ >
64
+ {props.title}
65
+ </Typography>
66
+ <Typography
67
+ textStyle={cardVariant[props.cardType]['descTextStyle']}
68
+ className={cardVariant[props.cardType]['descClasses']}
84
69
 
70
+ >
71
+ {props.description}
72
+ </Typography>
73
+ </>
74
+ )
75
+ }
76
+ </div>
85
77
  </div>
78
+ {props.cardType === 'withButton' && (
79
+ <div className="flex self-end mt-7">
80
+ <HDSButton
81
+ label='Start free'
82
+ type='secondary'
83
+ leftIconVariant='none'
84
+ rightIconVariant='none'
85
+ state='default'
86
+ size='sm'
87
+ rightAnimatedArrow={true}
88
+ rightAnimatedArrowColor='#3970FD'
89
+ className=' mt-7'
90
+ />
91
+ </div>
92
+ )}
93
+
94
+
86
95
 
87
96
  </div>
88
97
  )
@@ -8,7 +8,7 @@ import ReactMarkdown from "react-markdown";
8
8
 
9
9
  export default function TalkCard(props) {
10
10
  let CardClass = ''
11
- if (props.speakerSet === undefined ){
11
+ if (props.speakerSet === undefined) {
12
12
  CardClass = 'flex';
13
13
  }
14
14
  else CardClass = 'flex tb-l:flex-row flex-col';
@@ -16,7 +16,7 @@ export default function TalkCard(props) {
16
16
 
17
17
  <div className="grid w-full">
18
18
  <div className={`${CardClass} w-full max-w-[882px]`}>
19
- <div className={"px-8 py-6" + ((props.speakerSet ) ? " border-b tb-l:w-[62%] border-b-neutral-150 tb:border-0 tb:border-r tb:border-r-neutral-150" : "")}>
19
+ <div className={"px-8 py-6" + ((props.speakerSet) ? " border-b tb-l:w-[62%] border-b-neutral-150 tb:border-0 tb:border-r tb:border-r-neutral-150" : "")}>
20
20
  <Badges
21
21
  size={props.badges.size}
22
22
  color={props.badges.color}
@@ -26,45 +26,51 @@ export default function TalkCard(props) {
26
26
  />
27
27
 
28
28
  <Typography className='my-2 text-blue-800' textStyle='h5'>{props.title}</Typography>
29
- {props.para && <Typography className='text-neutral-700 [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 [&>ul>li]:last:pb-0' textStyle='body1'>
30
- <ReactMarkdown>{props.para}</ReactMarkdown>
31
- </Typography>}
29
+
30
+ {props.para &&
31
+ <Typography
32
+ className='line-clamp-3 text-neutral-700 [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 [&>ul>li]:last:pb-0'
33
+ textStyle='body1'>
34
+ <ReactMarkdown>
35
+ {props.para}
36
+ </ReactMarkdown>
37
+ </Typography>}
32
38
 
33
39
  </div>
34
40
 
35
- {props.speakerSet &&(
36
- <div className="flex flex-col tb-l:w-[38%] pt-0 tb:pt-[2.875rem] justify-between">
37
- {
38
- props.speakerSet && (
39
- <div className="pl-6 flex gap-6 mt-9 tb:mt-0 mb-9 flex-col ">
40
- {props.speakerSet.map((value, i) => (
41
- <div key={i} className="">
41
+ {props.speakerSet && (
42
+ <div className="flex flex-col tb-l:w-[38%] pt-0 tb:pt-[2.875rem] justify-between">
43
+ {
44
+ props.speakerSet && (
45
+ <div className="pl-6 flex gap-6 mt-9 tb:mt-0 mb-9 flex-col ">
46
+ {props.speakerSet.map((value, i) => (
47
+ <div key={i} className="">
42
48
 
43
- <ProfileAvatar
44
- name={value.name}
45
- size='md'
46
- designation={value.designation}
47
- imageUrl={value.imageUrl}
48
- />
49
- </div>
49
+ <ProfileAvatar
50
+ name={value.name}
51
+ size='md'
52
+ designation={value.designation}
53
+ imageUrl={value.imageUrl}
54
+ />
55
+ </div>
50
56
 
51
- ))}
57
+ ))}
58
+ </div>
59
+ )
60
+ }
61
+ <div className=" w-full border-t border-t-neutral-150 p-6 flex flex-row justify-between items-center">
62
+ <Typography textStyle='h6' className='text-blue-800'>{props.eventTime}</Typography>
63
+ <HDSButton
64
+ leftIconVariant='calendarplus02'
65
+ leftIconColor="#1E56E3"
66
+ rightIconVariant='none'
67
+ state='default'
68
+ size='sm'
69
+ type="iconOnly"
70
+ label=''
71
+ />
52
72
  </div>
53
- )
54
- }
55
- <div className=" w-full border-t border-t-neutral-150 p-6 flex flex-row justify-between items-center">
56
- <Typography textStyle='h6' className='text-blue-800'>{props.eventTime}</Typography>
57
- <HDSButton
58
- leftIconVariant='calendarplus02'
59
- leftIconColor="#1E56E3"
60
- rightIconVariant='none'
61
- state='default'
62
- size='sm'
63
- type="iconOnly"
64
- label=''
65
- />
66
- </div>
67
- </div>)}
73
+ </div>)}
68
74
  </div>
69
75
  </div>
70
76
 
@@ -4,65 +4,84 @@ import {HDSColor} from '../../../foundation/ColorPalette';
4
4
  import { Badges } from '../../BadgesCaption';
5
5
  import { ProfileAvatar } from '../../Avatars'
6
6
  import { Typography } from "../../../foundation/Typography";
7
+ import ReactMarkdown from "react-markdown";
7
8
 
8
9
 
9
10
  export default function TalkDetailCard(props) {
10
11
  const badgeLeftIconColor = HDSColor(props.badgeLeftIconColor);
11
12
  return (
12
- <div>
13
- <Badges
14
- color={props.badgeColor}
15
- leftIconColor={badgeLeftIconColor}
16
- leftIconVariant='home03'
17
- size='default'
18
- >
19
- {props.talk_type}
20
- </Badges>
21
- <Typography textStyle='h6' className='text-blue-600 uppercase pt-4 pb-2'>{props.tag_line}</Typography>
22
- <Typography textStyle='h3' as='h3' className='text-blue-900 pb-4'>{props.title}</Typography>
23
- {
24
- props.social_share && (
25
- <div className='flex items-center pb-14'>
26
- {
27
- props.social_share.map((socialShare, i) => (
28
- <div className='mx-2 first:ml-0 last:mr-0'>
29
- <img src={socialShare.img_url} alt={socialShare.img_alt} />
30
- </div>
31
- ))
32
- }
33
- </div>
34
- )
35
- }
36
- {
37
- props.speaker_card && (
38
- <div>
39
- <Typography textStyle='h6' as='h6' className='uppercase text-neutral-500 pb-6'>speakers</Typography>
40
- {
41
- props.speaker_card.map((speaker, i) => (
42
- <div className='pb-4 last:pb-0'>
43
- <ProfileAvatar
44
- name={speaker.name}
45
- size='md'
46
- designation={speaker.designation}
47
- imageUrl={speaker.speakerImgUrl}
48
- avatarVariant="circle"
49
- />
50
- </div>
51
- ))
52
- }
53
- </div>
54
- )
55
- }
13
+ <div className="grid grid-cols-1 tb:grid-cols-2 gap-16 db:gap-28 tb:gap-16">
14
+ <div>
15
+ {
16
+ props.badgeColor && (
17
+ <Badges
18
+ color={props.badgeColor}
19
+ size='sm'
20
+ >
21
+ {props.talk_type}
22
+ </Badges>
23
+ )
24
+ }
25
+ {
26
+ props.tag_line && (<Typography textStyle='h6' className='text-blue-600 uppercase pt-4 pb-2'>{props.tag_line}</Typography>)
27
+ }
28
+ {
29
+ props.title && (<Typography textStyle='h3' as='h3' className='text-blue-900 pb-4'>{props.title}</Typography>)
30
+ }
31
+ {
32
+ props.social_share && (
33
+ <div className='flex items-center pb-8 tb:pb-14'>
34
+ {
35
+ props.social_share.map((socialShare, i) => (
36
+ <a href={socialShare.share_url} className='mx-2 first:ml-0 last:mr-0'>
37
+ <img src={socialShare.img_url} alt={socialShare.img_alt} />
38
+ </a>
39
+ ))
40
+ }
41
+ </div>
42
+ )
43
+ }
44
+ {
45
+ props.speaker_card && (
46
+ <div>
47
+ <Typography textStyle='h6' as='h6' className='uppercase text-neutral-500 pb-6'>speakers</Typography>
48
+ {
49
+ props.speaker_card.map((speaker, i) => (
50
+ <div className='pb-4 last:pb-0'>
51
+ <ProfileAvatar
52
+ name={speaker.name}
53
+ size='md'
54
+ designation={speaker.designation}
55
+ imageUrl={speaker.speakerImgUrl}
56
+ avatarVariant="circle"
57
+ />
58
+ </div>
59
+ ))
60
+ }
61
+ </div>
62
+ )
63
+ }
64
+ </div>
65
+ <div>
66
+ <Typography textStyle="h4" as="h4" className="text-neutral-800 pb-4">About the Talk</Typography>
67
+ {
68
+ props.description && (
69
+ <Typography className='text-neutral-800 [&>p]:pb-2 last:[&>p]:pb-0 [&>ul]:ps-4 [&>ul>li]:list-disc [&>ul>li]:pb-2 last:[&>ul>li]:pb-0' textStyle='body1'>
70
+ <ReactMarkdown>{props.description}</ReactMarkdown>
71
+ </Typography>
72
+ )
73
+ }
74
+ </div>
56
75
  </div>
57
76
  )
58
77
  }
59
78
 
60
79
  TalkDetailCard.defaultProps = {
61
- badgeColor: 'green',
62
- badgeLeftIconColor: 'stroke-neutral-0',
63
- talk_type: 'Talk',
64
- tag_line: 'June 20-22, 2023 | VIRTUAL | Free',
65
- title: 'Deploying Hasura apps the fast way with the new Vercel integration',
66
- social_share: '',
67
- speaker_card: '',
80
+ // badgeColor: 'green',
81
+ // badgeLeftIconColor: 'stroke-neutral-0',
82
+ // talk_type: 'Talk',
83
+ // tag_line: 'June 20-22, 2023 | VIRTUAL | Free',
84
+ // title: 'Deploying Hasura apps the fast way with the new Vercel integration',
85
+ // social_share: '',
86
+ // speaker_card: '',
68
87
  };
@@ -153,7 +153,7 @@ export default function V3Header(props) {
153
153
  <Popover.Button className="inline-flex items-center justify-center rounded-md bg-white p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500">
154
154
  <span className="sr-only">Open menu</span>
155
155
  <div className=' gap-6 flex'>
156
- <Icon height={'h-5 w-5'} variant={'searchsm'} strokeColor={'#3970FD'} />
156
+ {/* <Icon height={'h-5 w-5'} variant={'searchsm'} strokeColor={'#3970FD'} /> */}
157
157
  <Icon height={'h-5 w-5'} variant={'menu05'} strokeColor={'#3970FD'} />
158
158
  </div>
159
159
  </Popover.Button>
@@ -166,7 +166,7 @@ export default function V3Header(props) {
166
166
 
167
167
  <div className="flex items-center gap-6 md:ml-12">
168
168
 
169
- <Icon height={'h-6'} variant={'searchsm'} strokeColor={'#3970FD'} />
169
+ {/* <Icon height={'h-6'} variant={'searchsm'} strokeColor={'#3970FD'} /> */}
170
170
  <HDSButton
171
171
  label="Log In"
172
172
  type='tonal'
@@ -167,7 +167,7 @@ export default function HeroSecondary({ heroData, logo, scrollArrow, fontSize })
167
167
  const imageCard = (heroData) => (
168
168
  heroData.imageUrl && (
169
169
  <div className="">
170
- <img src={heroData.imageUrl} alt={heroData.imageAlt} className='w-full' />
170
+ <img src={heroData.imageUrl} alt={heroData.imageAlt} className='tb-l:w-full w-1/2' />
171
171
  </div>
172
172
  )
173
173
  )
@@ -221,11 +221,13 @@ export default function HeroSecondary({ heroData, logo, scrollArrow, fontSize })
221
221
  </div>
222
222
  {
223
223
  heroData.scrollArrow && (
224
- <div className="flex justify-center flex-row" onClick={(e) => scrollToNextDiv(e.currentTarget)}>
225
- <div className="flex bg-neutral-0 shadow-md -mt-5 animate-bounce justify-center rounded-full items-center w-12 h-12" >
226
- <Icon variant='chevrondowndouble' strokeClass='stroke-neutral-800' height='h-6 w-6' />
227
- </div>
228
- </div>
224
+ <a className="flex justify-center flex-row z-10" onClick={(e) => scrollToNextDiv(e.currentTarget)}>
225
+ <div className="flex bg-neutral-0 shadow-md -mt-5 animate-bounce justify-center rounded-full items-center w-12 h-12" onClick={handleClick} >
226
+ <Icon
227
+ variant='chevrondowndouble'
228
+ strokeClass='stroke-neutral-800' height='h-6 w-6' />
229
+ </div>
230
+ </a>
229
231
  )
230
232
  }
231
233
  </div>
@@ -13,7 +13,6 @@ const tabs = [
13
13
  ]
14
14
 
15
15
 
16
-
17
16
  const levelCalc = (arr, index) => {
18
17
 
19
18
  const keyIndex = 'key' + `${index}`;
@@ -29,7 +29,7 @@ export default function Tab(props) {
29
29
  return (
30
30
  <div>
31
31
  <div className="block">
32
- <nav className="relative inline-flex gap-2 p-2 rounded-full" aria-label="Tabs">
32
+ <nav className="relative inline-flex gap-2 rounded-full" aria-label="Tabs">
33
33
  {tabs.map(tab => (
34
34
  <a
35
35
  key={tab.name}
@@ -1,6 +1,9 @@
1
1
  import React from 'react';
2
2
  import {HDSColor} from '../../../foundation/ColorPalette';
3
3
  import PropTypes from 'prop-types';
4
+ import {ReactComponent as Hasura1Icon } from "../../../assets/icons/hasura-1.svg"
5
+ import {ReactComponent as Hasura2Icon } from "../../../assets/icons/hasura-2.svg"
6
+ import {ReactComponent as Hasura3Icon } from "../../../assets/icons/hasura-3.svg"
4
7
  import {ReactComponent as HasuraPrimaryIcon } from "../../../assets/icons/HasuraPrimary.svg"
5
8
  import {ReactComponent as ClockrewindIcon } from "../../../assets/icons/clock-rewind.svg"
6
9
  import {ReactComponent as PassportIcon } from "../../../assets/icons/passport.svg"
@@ -1177,6 +1180,9 @@ import {ReactComponent as Minus01Icon } from "../../../assets/icons/minus-01.svg
1177
1180
  import {ReactComponent as HasuraIcon } from "../../../assets/icons/hasura.svg"
1178
1181
 
1179
1182
  const iconReferenceMap = {
1183
+ hasura1: Hasura1Icon,
1184
+ hasura2: Hasura2Icon,
1185
+ hasura3: Hasura3Icon,
1180
1186
  hasuraPrimary: HasuraPrimaryIcon,
1181
1187
  hasura: HasuraIcon,
1182
1188
  minus01: Minus01Icon,
@@ -42,7 +42,7 @@ export default function Typography(props) {
42
42
  'body3c-medium': 'text-hds-m-body3c-medium tb:text-hds-t-body3c-medium db:text-hds-d-body3c-medium',
43
43
  'body3c-semi-bold': 'text-hds-m-body3c-semi-bold tb:text-hds-t-body3c-semi-bold db:text-hds-d-body3c-semi-bold',
44
44
  'body3c-bold': 'text-hds-m-body3c-bold tb:text-hds-t-body3c-bold db:text-hds-d-body3c-bold',
45
- 'quote': 'text-hds-m-quote tb:text-hds-t-quote db:text-hds-d-quote',
45
+ 'quote': 'font-petrona italic text-hds-m-quote tb:text-hds-t-quote db:text-hds-d-quote',
46
46
  'code1': 'text-hds-m-code1 tb:text-hds-t-code1 db:text-hds-d-code1',
47
47
  'code2': 'text-hds-m-code2 tb:text-hds-t-code2 db:text-hds-d-code2',
48
48
  }
@@ -0,0 +1 @@
1
+ export {default as MediaBox} from './mediabox';