Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-066
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
2022-066
2022-066
Commits
f6a08e5e
Commit
f6a08e5e
authored
May 25, 2022
by
Navodya Pasqual
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Card messages added
parent
f7bf9a17
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
frontend/src/digitalHuman/digitalHuman.js
frontend/src/digitalHuman/digitalHuman.js
+1
-3
frontend/src/digitalHuman/sections/cardChat.js
frontend/src/digitalHuman/sections/cardChat.js
+3
-2
No files found.
frontend/src/digitalHuman/digitalHuman.js
View file @
f6a08e5e
...
...
@@ -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
>
...
...
frontend/src/digitalHuman/sections/cardChat.js
View file @
f6a08e5e
...
...
@@ -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
}
/
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment