From 773957672d8859244b95102dee31e9e3a7991780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1rbara=20Chaves?= Date: Mon, 2 Dec 2024 20:24:00 +0100 Subject: [PATCH 1/3] Add content and style changes --- client/public/images/map/story-marker-lg.png | Bin 0 -> 6576 bytes client/public/images/map/story-marker.png | Bin 2095 -> 5864 bytes client/src/components/chart/index.tsx | 10 ++- .../components/map/layers/marker/index.tsx | 2 +- client/src/components/ui/carousel/index.tsx | 24 ++---- client/src/components/ui/dialog.tsx | 6 +- client/src/components/ui/rich-text.tsx | 7 +- .../containers/globe/dashboard/numbers.tsx | 4 +- client/src/containers/globe/index.tsx | 6 +- .../src/containers/home/satellite-button.tsx | 2 +- client/src/containers/map/index.tsx | 7 +- .../map/markers/globe-markers/index.tsx | 46 +++++++++- .../steps/layouts/components/map-content.tsx | 6 +- .../story/steps/layouts/map-step.tsx | 77 ++++++++++++++++- .../story/steps/layouts/outro-step.tsx | 80 ++++++++++-------- 15 files changed, 200 insertions(+), 77 deletions(-) create mode 100644 client/public/images/map/story-marker-lg.png diff --git a/client/public/images/map/story-marker-lg.png b/client/public/images/map/story-marker-lg.png new file mode 100644 index 0000000000000000000000000000000000000000..c15a3e1487f5c48f5047e7e8a58ec7e08cdac5ff GIT binary patch literal 6576 zcmV;h8BgYkP)N>a?~dhy@C0#TJAzXf2hgO^22c!lP)COI|mRd+#}CZ-1ZP{{8k{_uO;tJ?G|z zwli5XYxX|-vG!Wu^?R+~@3&3}2g|{7upBH0%fZq`Ny3k>Bzc~PBq_SUxn3-O^CPjN z-%tF0{A`=|-m;R017C_!6@yF+1fR5=>(twByDg#G@5GnFJAL;+ zmIL|$rG$< z1WJj*%9Sg_`t|F>)~#EU`Sa)NbNs&l{`<>@6OfU@d)7wYN{P_~=95tAw91TAUOQ@| z(=jkMQ2h-^0*D`7&N*x6r<`(1GH1@5{K+SuOqMQP%8_Stf5(eYgcqmE*6z(TfHPLw z$TdAjZplC^^1EWks#gI-j{;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)}
); diff --git a/client/src/components/map/layers/marker/index.tsx b/client/src/components/map/layers/marker/index.tsx index 0f84d10..778bc01 100644 --- a/client/src/components/map/layers/marker/index.tsx +++ b/client/src/components/map/layers/marker/index.tsx @@ -34,7 +34,7 @@ const Marker = ({ markers, handleClick, handleClose }: MarkerProps) => { >
{ - const videoRef = useRef(null); const mediaSrc = getImageSrc(media?.url); - useEffect(() => { - if (!isCurrentMedia && videoRef.current) { - videoRef.current?.pause(); - } else if (isCurrentMedia && videoRef.current) { - videoRef.current?.play(); - } - }, [isCurrentMedia]); - if (media?.type === 'video') { return (