File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 28
28
"Name" : " Nom" ,
29
29
"Email" : " Courriel" ,
30
30
"Message" : " Message" ,
31
- "Send" : " Envoyer"
31
+ "Send" : " Envoyer" ,
32
+ "https://form.jotform.com/211253962199057" : " https://form.jotform.com/211253962199057"
32
33
}
Original file line number Diff line number Diff line change 1
1
import * as React from "react" ;
2
2
import styled from 'styled-components' ;
3
- import { Trans } from 'gatsby-plugin-react-i18next' ;
4
- import PDF from '../assets/pdfs/placeholder.pdf' ;
3
+ import { Trans , useTranslation } from 'gatsby-plugin-react-i18next' ;
5
4
6
5
function CallToAction ( ) {
6
+ const { t} = useTranslation ( ) ;
7
+
7
8
return (
8
9
< ButtonStyle >
9
- < a href = { PDF } target = "_blank" rel = "noreferrer" className = "px-4 md:px-6 py-2 text-lg md:text-xl" >
10
+ < a href = { t ( 'https://form.jotform.com/211253962199057' ) } target = "_blank" rel = "noreferrer" className = "px-4 md:px-6 py-2 text-lg md:text-xl" >
10
11
< Trans > Retain Us</ Trans >
11
12
</ a >
12
13
</ ButtonStyle >
You can’t perform that action at this time.
0 commit comments