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

Commit

Permalink
chore: update head component
Browse files Browse the repository at this point in the history
  • Loading branch information
habib-deriv committed Sep 28, 2023
1 parent 580a919 commit 37011e5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/pages/who-we-are/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
DerivNumbers,
OurOffices,
} from './_lazy-load'
import { TGatsbyHead } from 'features/types'
import device from 'themes/device'
import { SEO } from 'components/containers'
import Layout from 'components/layout/layout'
Expand Down Expand Up @@ -51,10 +52,6 @@ const AboutUs = ({ data }: TWhoWeAre) => {
} = data?.strapiWhoWeArePage || {}
return (
<Layout>
<SEO
title="_t_Who we are | An Online Trading Platform | Deriv.com_t_"
description="_t_Deriv is a pioneering and award-winning online trading platform that offers a wide selection of derivatives for anyone, anywhere to trade._t_"
/>
<Hero hero={hero} />
<MakeTrading hero={hero} />
<StartSeparator />
Expand Down Expand Up @@ -227,3 +224,11 @@ export const query = graphql`
`

export default WithIntl()(AboutUs)

export const Head = ({ pageContext }: TGatsbyHead) => (
<SEO
title="_t_Who we are | An Online Trading Platform | Deriv.com_t_"
description="_t_Deriv is a pioneering and award-winning online trading platform that offers a wide selection of derivatives for anyone, anywhere to trade._t_"
pageContext={pageContext}
/>
)

0 comments on commit 37011e5

Please sign in to comment.