Skip to content

Commit 4e8559e

Browse files
chore: remove HubSpot chat integration (#856)
1 parent 180ddd3 commit 4e8559e

4 files changed

Lines changed: 0 additions & 124 deletions

File tree

src/hooks/useHubSpotChat.ts

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/hooks/useScript.ts

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/routes/__root.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import { Spinner } from '~/components/Spinner'
3636
import { ThemeProvider, useHtmlClass } from '~/components/ThemeProvider'
3737
import { Navbar } from '~/components/Navbar'
3838
import { THEME_COLORS } from '~/utils/utils'
39-
import { useHubSpotChat } from '~/hooks/useHubSpotChat'
4039
import { trackPageView } from '~/utils/analytics'
4140
import { twMerge } from 'tailwind-merge'
4241

@@ -148,9 +147,6 @@ function ShellComponent({ children }: { children: React.ReactNode }) {
148147
select: (matches) => matches.find((d) => d.staticData?.baseParent),
149148
})
150149

151-
// HubSpot chat loads on configured pages (see useHubSpotChat hook)
152-
useHubSpotChat()
153-
154150
const isNavigating = useRouterState({
155151
select: (s) => s.isLoading || s.isTransitioning,
156152
})

src/styles/app.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -715,13 +715,6 @@ html.dark .shiki.aurora-x span[style*='color:#546E7A'] {
715715
@apply border-t-0 border-gray-500/10 shadow-md text-gray-800;
716716
}
717717

718-
/* Hubspot */
719-
720-
#hubspot-messages-iframe-container {
721-
@apply translate-x-[10px] translate-y-[10px];
722-
@apply dark:scheme-dark;
723-
}
724-
725718
/* Markdown Alerts */
726719

727720
.not-prose .markdown-alert {

0 commit comments

Comments
 (0)