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

Remove legacy hotjar implementation #1678

Merged
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
8 changes: 0 additions & 8 deletions public/js/hotJarLib.js

This file was deleted.

17 changes: 0 additions & 17 deletions src/common/hotjar/HotJar.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/components/client/campaigns/CampaignsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import CampaignFilter from './CampaignFilter'
import Layout from 'components/client/layout/Layout'

import { styled } from '@mui/material/styles'
import dynamic from 'next/dynamic'

const PREFIX = 'CampaignsPage'

Expand Down Expand Up @@ -71,14 +70,11 @@ const Root = styled(Layout)(({ theme }) => ({
},
}))

const HotJar = dynamic(() => import('common/hotjar/HotJar'), { ssr: false })

export default function CampaignsPage() {
const { t } = useTranslation()

return (
<Root maxWidth={false}>
<HotJar />
<Grid>
<Typography variant="h1" component="p" className={classes.title}>
{t('campaigns:campaigns')}
Expand Down
4 changes: 0 additions & 4 deletions src/components/client/index/IndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import PartnersSection from './sections/PartnersSection/PartnersSection'
import TeamMembersSection from './sections/TeamMembersSection/TeamMembersSection'
import JoinPodkrepiBgSection from './sections/JoinPodkrepiBgSection/JoinPodkrepiBgSection'
import FaqSection from './sections/FaqSection/FaqSection'
import dynamic from 'next/dynamic'

const HotJar = dynamic(() => import('common/hotjar/HotJar'), { ssr: false })

export default function IndexPage() {
const { t } = useTranslation('index')
Expand All @@ -23,7 +20,6 @@ export default function IndexPage() {
disableGutters
title={t('title')}
metaDescription={t('metaDescription')}>
<HotJar />
<ActiveCampaignsSection />
<CompletedCampaignsSection />
<PlatformStatisticsSection />
Expand Down
Loading