diff --git a/src/components/common/footer/index.tsx b/src/components/common/footer/index.tsx index 31db368..30f7509 100644 --- a/src/components/common/footer/index.tsx +++ b/src/components/common/footer/index.tsx @@ -1,4 +1,8 @@ +/* eslint-disable no-console */ + +// import { Client } from '@hubspot/api-client' import useAxios from 'axios-hooks' +// import Hubspot from 'hubspot' // import clsx from 'clsx' import { useRouter } from 'next/router' import { useTheme } from 'next-themes' @@ -123,6 +127,18 @@ export const Footer = ({ data }: Props) => { const [email, setEmail] = useState('') const [pageUri, setPageUri] = useState() + // const YOUR_ACCESS_TOKEN = process.env.HUBSPOT_API_KEY + + // const hubspotClient = new hubspot.Client({ + // accessToken: YOUR_ACCESS_TOKEN + // }) + + // hubspotClient.apiRequest({ + // method: 'POST', + // path: '/api/emailSignup', + // body: { key: 'value' } + // }) + // eslint-disable-next-line @typescript-eslint/no-unused-vars const [{ loading }, refetch] = useAxios( { @@ -221,7 +237,9 @@ export const Footer = ({ data }: Props) => { />