Skip to content

Commit

Permalink
Merge pull request #142 from Vizzuality/fix/welcome-message-prod
Browse files Browse the repository at this point in the history
deploy fix
  • Loading branch information
mluena authored Sep 24, 2024
2 parents f0294c7 + 35631dd commit b086f45
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions client/src/containers/welcome-message/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ export default function WelcomeMessage() {

{data?.data?.attributes?.image && (
<Image
// TO DO - get URL dynamically
// src="https://ccsa-staging-assets-bucket.s3.amazonaws.com/welcome_image_34ad0d15bc.png"
src={`${env.NEXT_PUBLIC_CMS_URL}${data?.data?.attributes?.image?.data?.attributes?.url}`}
src={`${data?.data?.attributes?.image?.data?.attributes?.url}`}
alt="Welcome message"
width={data?.data?.attributes?.image?.data?.attributes?.width}
height={data?.data?.attributes?.image?.data?.attributes?.height}
Expand All @@ -106,9 +104,7 @@ export default function WelcomeMessage() {
onPlay={() => setPlaying(true)}
onPause={() => setPlaying(false)}
controls
// TO DO - get URL dynamically
// url={`${env.NEXT_PUBLIC_CMS_URL}${data?.data?.attributes?.video?.data?.attributes?.url}`}
url="https://ccsa-staging-assets-bucket.s3.amazonaws.com/SID_4_Pre_Event_MAP_Video_4f0cdbfa51.mp4"
url={`${data?.data?.attributes?.video?.data?.attributes?.url}`}
width={"100%"}
height={"100%"}
/>
Expand Down

0 comments on commit b086f45

Please sign in to comment.