Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hotjar NPS styles - external file + upgrade hotjar #224

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { axiosGet } from '../shared/axios';
import isBrowser from '../shared/browserCheck';
import useWindowDimensions from '../shared/dimensions';
import { useStore } from '../store/store';
import '../styles/hotjarNPS.css';
import theme from '../styles/theme';

const Footer = dynamic(() => import('../components/Footer'), { ssr: false });
Expand Down Expand Up @@ -130,7 +129,7 @@ function App({ Component, pageProps }) {
});

if (process.env.NEXT_PUBLIC_ENV === 'live') {
hotjar.initialize(Number(process.env.NEXT_PUBLIC_HOTJAR_ID), 5);
hotjar.initialize(Number(process.env.NEXT_PUBLIC_HOTJAR_ID), 6);
}
}, []);

Expand Down
1 change: 1 addition & 0 deletions src/pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default class MyDocument extends Document {
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Nunito&display=swap"
/>
<link rel="stylesheet" href="https://bloom.chayn.co/hotjarNPS.css" />
</Head>
<body>
<Main />
Expand Down
205 changes: 0 additions & 205 deletions src/styles/hotjarNPS.css

This file was deleted.

Loading