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

fix: active menu items in partners, careers nav #6362

Merged
merged 5 commits into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"dependencies": {
"@artsy/fresnel": "^6.2.1",
"@builder.io/partytown": "^0.8.1",
"@deriv-com/blocks": "^0.55.0",
"@deriv-com/components": "^0.35.0",
"@deriv-com/blocks": "^0.57.0",
"@deriv-com/components": "^0.36.0",
"@deriv-com/hooks": "^0.10.0",
"@deriv-com/providers": "^0.10.0",
"@deriv/analytics": "^1.4.3",
"@deriv/deriv-api": "^1.0.13",
"@deriv/quill-design": "^1.2.6",
"@deriv/quill-icons": "^1.0.16",
"@deriv/quill-icons": "^1.0.17",
"@hookform/resolvers": "^3.3.2",
"@livechat/customer-sdk": "^3.1.5",
"@loadable/component": "^5.15.3",
Expand Down
26 changes: 13 additions & 13 deletions src/features/components/templates/footer/data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -489,61 +489,61 @@ export const warnText = (

export const socialButtonsROW = [
{
icon: <StandaloneFacebookIcon iconSize="md" />,
icon: <StandaloneFacebookIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.facebook.com/derivdotcom',
},
{
icon: <StandaloneInstagramIcon iconSize="md" />,
icon: <StandaloneInstagramIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.instagram.com/deriv_official',
},
{
icon: <StandaloneXTwitterIcon iconSize="md" />,
icon: <StandaloneXTwitterIcon iconSize="md" fill="#000000b8" />,
href: 'https://twitter.com/derivdotcom/',
},
{
icon: <StandaloneYoutubeIcon iconSize="md" />,
icon: <StandaloneYoutubeIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.youtube.com/@deriv',
},
{
icon: <StandaloneLinkedinIcon iconSize="md" />,
icon: <StandaloneLinkedinIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.linkedin.com/company/derivdotcom/',
},
]

export const socialButtonsEU = [
{
icon: <StandaloneFacebookIcon iconSize="md" />,
icon: <StandaloneFacebookIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.facebook.com/DerivEU',
},
{
icon: <StandaloneInstagramIcon iconSize="md" />,
icon: <StandaloneInstagramIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.instagram.com/deriv_eu/',
},
{
icon: <StandaloneXTwitterIcon iconSize="md" />,
icon: <StandaloneXTwitterIcon iconSize="md" fill="#000000b8" />,
href: 'https://twitter.com/deriv_eu/',
},
{
icon: <StandaloneYoutubeIcon iconSize="md" />,
icon: <StandaloneYoutubeIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.youtube.com/@deriv',
},
{
icon: <StandaloneLinkedinIcon iconSize="md" />,
icon: <StandaloneLinkedinIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.linkedin.com/company/derivdotcom/',
},
]

export const socialButtonsCareers = [
{
icon: <StandaloneFacebookIcon iconSize="md" />,
icon: <StandaloneFacebookIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.facebook.com/derivcareers',
},
{
icon: <StandaloneInstagramIcon iconSize="md" />,
icon: <StandaloneInstagramIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.instagram.com/derivcareers/',
},
{
icon: <StandaloneLinkedinIcon iconSize="md" />,
icon: <StandaloneLinkedinIcon iconSize="md" fill="#000000b8" />,
href: 'https://www.linkedin.com/company/derivdotcom/life/',
},
]
12 changes: 6 additions & 6 deletions src/features/components/templates/footer/download.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react'
import {
LabelPairedAppleIcon,
LabelPairedGooglePlayIcon,
LabelPairedHuaweiAppGalleryIcon,
LabelPairedAppleLgIcon,
LabelPairedGooglePlayLgIcon,
LabelPairedHuaweiAppGalleryLgIcon,
// eslint-disable-next-line import/no-unresolved
} from '@deriv/quill-icons/LabelPaired'
import clsx from 'clsx'
Expand All @@ -21,7 +21,7 @@ const DownloadBadges = () => {
target="_blank"
className={clsx(sharedClasses, 'order-last')}
>
<LabelPairedHuaweiAppGalleryIcon iconSize="md" />
<LabelPairedHuaweiAppGalleryLgIcon fill="#000000b8" />
<StaticImage
src="../../../../images/common/migration/footer/explore-appgallery.png"
alt={localize('_t_explore it on appgallery_t_')}
Expand All @@ -35,7 +35,7 @@ const DownloadBadges = () => {
target="_blank"
className={clsx(sharedClasses)}
>
<LabelPairedGooglePlayIcon iconSize="md" />
<LabelPairedGooglePlayLgIcon fill="#000000b8" />
<StaticImage
src="../../../../images/common/migration/footer/get-googleplay.png"
alt={localize('_t_get it on google play_t_')}
Expand All @@ -49,7 +49,7 @@ const DownloadBadges = () => {
target="_blank"
className={clsx(sharedClasses)}
>
<LabelPairedAppleIcon iconSize="md" />
<LabelPairedAppleLgIcon fill="#000000b8" />
<StaticImage
src="../../../../images/common/migration/footer/download-appstore.png"
alt={localize('_t_download on the app store_t_')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import { MobileNavToggle } from '@deriv-com/blocks'
import { Button } from '@deriv/quill-design'
// eslint-disable-next-line import/no-unresolved
import { LabelPairedGrid2BoldIcon } from '@deriv/quill-icons/LabelPaired'
import { LabelPairedGridLgBoldIcon } from '@deriv/quill-icons/LabelPaired'
import { Localize } from 'components/localization'
import { handleRedirectToTradersHub } from 'components/custom/utils'
import useAuthCheck from 'components/hooks/use-auth-check'
Expand All @@ -25,7 +25,7 @@ export const MainNavigationButtons = () => {
colorStyle="black"
size="lg"
onClick={handleRedirectToTradersHub}
icon={LabelPairedGrid2BoldIcon}
icon={LabelPairedGridLgBoldIcon}
iconPosition="start"
>
<Localize translate_text="_t_Traders Hub_t_" />
Expand Down
Loading