Skip to content

Commit

Permalink
Updated modal with talkLocation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryjogo committed Nov 3, 2023
1 parent 97befaf commit 43b2394
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/shared/modal/modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const Modal = ({ isVisible, modalData, onModalHide, isPresentationShow }) => {
speakers = [],
isCoincidedEvent = false,
isWorkshop = false,
talkLocation = '',
} = modalData;
const shouldReduceMotion = useReducedMotion();
const headingId = useId();
Expand Down Expand Up @@ -90,6 +91,9 @@ const Modal = ({ isVisible, modalData, onModalHide, isPresentationShow }) => {
<span className="relative ml-8 rounded-full bg-rasin text-white px-2 py-1.5 text-[13px] font-semibold leading-none tracking-tighter text-primary-1 before:absolute before:top-0 before:bottom-0 before:-left-4 before:my-auto before:h-1 before:w-1 before:rounded-full before:bg-primary-3">
{duration}
</span>
<span className="relative ml-2 rounded-full bg-gray-7 text-white px-2 py-1.5 text-[13px] font-semibold leading-none tracking-tighter text-primary-1">
{talkLocation}
</span>
{speakers.length > 0 &&
speakers.map(({ id: speakerId, name, photo }, index) => (
<Link
Expand Down

0 comments on commit 43b2394

Please sign in to comment.