diff --git a/packages/volto-ploneconf/src/components/Views/Talk.jsx b/packages/volto-ploneconf/src/components/Views/Talk.jsx index ec02b25..8239311 100644 --- a/packages/volto-ploneconf/src/components/Views/Talk.jsx +++ b/packages/volto-ploneconf/src/components/Views/Talk.jsx @@ -1,12 +1,16 @@ +import { isEmpty } from 'lodash'; import { Container as SemanticContainer, + Grid, Header, Image, Label, Segment, } from 'semantic-ui-react'; import { flattenToAppURL } from '@plone/volto/helpers'; +import { Component, UniversalLink } from '@plone/volto/components'; import { When } from '@plone/volto/components/theme/View/EventDatesInfo'; +import DefaultImageSVG from '@plone/volto/components/manage/Blocks/Listing/default-image.svg'; import config from '@plone/volto/registry'; const TalkView = (props) => { @@ -28,6 +32,13 @@ const TalkView = (props) => {
{content.description}
)}- {content.company || content.website} -
- ) : ( -{content.company}
- )} - {content.email && ( -- Email: {content.email} -
- )} - {content.twitter && ( -- X:{' '} - - {content.twitter.startsWith('@') - ? content.twitter - : '@' + content.twitter} - -
- )} - {content.github && ( -- Github:{' '} - - {content.github} - -
- )} -{item.speaker}
+ {item.speaker?.length > 0 && ( +{item.speaker.map((el) => el.title).join(', ')}
+ )}{item.room && ( <>