Commit f6a08e5e authored by Navodya Pasqual's avatar Navodya Pasqual

Card messages added

parent f7bf9a17
......@@ -166,8 +166,6 @@ function DigitalHuman() {
return <div>
<List.Item style={{ padding: '1rem' }}>
<List.Item.Meta
avatar={<Avatar icon={AvatarSrc} />}
title={message.who}
description={renderCards(message.content.payload.fields.card.listValue.values)}
/>
</List.Item>
......
......@@ -6,7 +6,7 @@ const { Meta } = Card;
function CardComponent(props) {
return (
<Card
style={{ width: 300 }}
style={{ width: 280, backgroundColor: 'aquamarine', boxShadow:'0.3px 0.3px 3px 3px rgba(127, 255, 212, 0.452)'}}
cover={
<img
alt={props.cardInfo.fields.description.stringValue}
......@@ -14,11 +14,12 @@ function CardComponent(props) {
}
actions={[
<a target="_blank" rel="noopener noreferrer" href={props.cardInfo.fields.link.stringValue}>
<Icon type="ellipsis" key="ellipsis" />
Watch Now
</a>
]}
>
<Meta
style={{ backgroundColor: 'aquamarine' }}
title={props.cardInfo.fields.stack.stringValue}
description={props.cardInfo.fields.description.stringValue}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment