Skip to content

Commit

Permalink
deploy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mluena committed Sep 24, 2024
1 parent 15026d8 commit 35631dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ccsa-client",
"version": "0.2.0",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "yarn types && next dev",
Expand Down
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 35631dd

Please sign in to comment.