Skip to content

Commit

Permalink
Merge pull request #22 from behnaz-deriv/behnaz/add-affiliate-token
Browse files Browse the repository at this point in the history
behnaz/remove strapi and dependencies
  • Loading branch information
habib-deriv authored Sep 2, 2024
2 parents 35beaf4 + 58e776e commit 9e144be
Show file tree
Hide file tree
Showing 23 changed files with 1 addition and 2,600 deletions.
7 changes: 0 additions & 7 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,6 @@
"580973510": "higher/lower option trade",
"581168980": "Legal",
"581576971": "Hit <0>Reset</0> at the bottom of stats panel.",
"582048648": "Contact Us | Online Trading | Deriv.com",
"582179280": "Yes, your contract will close automatically if the market price touches the selected barrier at any time during the contract period, no matter which contract type you are trading.",
"582187360": "Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority.",
"582602639": "If you have been contacted by a potential impersonator or if you have any questions, contact us <0>via live chat</0>.",
Expand Down Expand Up @@ -3439,7 +3438,6 @@
"-803139496": "Kigali | Our office – Rwanda | Deriv",
"-233326950": "Vanuatu – Our office | Deriv",
"-1724500502": "View current job openings at Deriv’s new office in Port Vila, Vanuatu, and get a chance to have a rewarding career ahead.",
"-1278724614": "Have any query or need assistance, check out the details to call our international help desk and our email ID. Feel free to contact us anytime!",
"-1676772848": "dbot logo",
"-593892433": "Get into the Deriv Bot experience",
"-729973561": "Select an asset",
Expand Down Expand Up @@ -4516,11 +4514,6 @@
"-2040051099": "Unsubscribed successfully",
"-231863107": "No",
"-1706181054": "Unsubscribe from Deriv emails.",
"-2126078388": "Our certifications",
"-1858637431": "We are proud to be recognised as a Great Place to Work™ and certified Platinum in Investors in People.",
"-2081464339": "Our awards",
"-234962411": "Who we are | An Online Trading Platform | Deriv.com",
"-719133900": "Deriv is a pioneering and award-winning online trading platform that offers a wide selection of derivatives for anyone, anywhere to trade.",
"-1498356905": "africa forex award",
"-328903026": "Best Forex Broker Africa",
"-1129579596": "Africa Forex Award",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@ import { useShowCfdBanner } from 'components/hooks/use-show-cfd-banner'
const WarningBanner = () => {
const show_banner = useShowCfdBanner()

const data = useStaticQuery(graphql`
query {
strapiCfdWarningBanner {
loss_percent
}
}
`)
const loss_percent = data?.strapiCfdWarningBanner?.loss_percent
const loss_percent = 70.78

if (show_banner) {
return <WarningText loss_percent={loss_percent} />
Expand Down
78 changes: 0 additions & 78 deletions themes/gatsby-theme-deriv/src/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import { graphql } from 'gatsby'
import { WithIntl } from 'components/localization'
import PageNotFound from 'features/pages/404'
import { isBrowser } from 'common/utility'
Expand All @@ -11,83 +10,6 @@ const NotFound = ({ pageContext }: TGatsbyHead) => {
return isBrowser() && <PageNotFound region={region} />
}

export const query = graphql`
query {
strapiWhoWeArePage {
hero {
header
sub_header
first_paragraph
second_paragraph
third_paragraph
}
our_values {
header
values {
header
sub_header
}
}
our_principles {
header
principles {
header
sub_header
}
button {
link_name
}
}
our_leadership {
header
leaders {
role
}
}
deriv_in_numbers {
header
sub_header
numbers {
description
}
}
our_locations {
header
numbers {
description
}
}
banner {
header
sub_header
link_name
}
}
strapiContactUs {
hero {
header
sub_header
}
support_section {
header
sub_header
link_title
}
our_offices
office_address {
continent
country {
country_name
}
}
business_partnership {
header
sub_header
live_chat_title
}
}
}
`

export default WithIntl()(NotFound)

Expand Down
93 changes: 0 additions & 93 deletions themes/gatsby-theme-deriv/src/pages/_contact-us/_affiliates.tsx

This file was deleted.

134 changes: 0 additions & 134 deletions themes/gatsby-theme-deriv/src/pages/_contact-us/_contact-ways.tsx

This file was deleted.

Loading

0 comments on commit 9e144be

Please sign in to comment.