File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2828 "Name" : " Nom" ,
2929 "Email" : " Courriel" ,
3030 "Message" : " Message" ,
31- "Send" : " Envoyer"
31+ "Send" : " Envoyer" ,
32+ "https://form.jotform.com/211253962199057" : " https://form.jotform.com/211253962199057"
3233}
Original file line number Diff line number Diff line change 11import * as React from "react" ;
22import 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' ;
54
65function CallToAction ( ) {
6+ const { t} = useTranslation ( ) ;
7+
78 return (
89 < 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" >
1011 < Trans > Retain Us</ Trans >
1112 </ a >
1213 </ ButtonStyle >
You can’t perform that action at this time.
0 commit comments