Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuran-deriv committed Mar 31, 2024
1 parent 4351f33 commit afca89f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion themes/gatsby-theme-deriv/src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const ctrader_android_url = 'https://play.google.com/store/apps/details?i
//to be updated with ctrader ios url later
export const ctrader_ios_url =
'https://download.mql5.com/cdn/mobile/mt5/ios?server=Deriv-Demo,Deriv-Server'

export const how_to_trade_accumulator_video_id = '917007011'
export const ctrader_web_browser_url = 'ct.deriv.com'
export const ctrader_traders_hub_url = ' https://app.deriv.com/appstore/traders-hub'
export const ctrader_windows_url = 'https://getctrader.com/deriv/ctrader-deriv-setup.exe'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ const VideoModal = ({ video_id, isOpen, onClose }: VideoModalProps) => {
const handleClose = useCallback(() => onClose(), [onClose])

return (
<div>
<ModalVideo
channel="vimeo"
autoplay
loop="1"
isOpen={isOpen}
videoId={video_id}
onClose={handleClose}
/>
</div>
<ModalVideo
channel="vimeo"
autoplay
loop="1"
isOpen={isOpen}
videoId={video_id}
onClose={handleClose}
/>
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export const accumulatorOptionsVideoCard: CardContent[] = [
loading="lazy"
formats={['webp', 'auto']}
quality={100}
className="cursor-pointer"
/>
),
size: 'md',
Expand Down

0 comments on commit afca89f

Please sign in to comment.