From a0504908d1b752ff14a4b56e5915df0faeab2b6a Mon Sep 17 00:00:00 2001 From: Bikash Date: Thu, 8 Feb 2024 19:53:20 +0530 Subject: [PATCH 1/4] Added google analytics --- .gitignore | 1 + src/apps/devdoc/.gitignore | 1 + src/apps/devdoc/app/layout/theme.tsx | 6 +- src/apps/devdoc/package.json | 1 + src/apps/devdoc/pages/_app.tsx | 8 + src/apps/devdoc/pnpm-lock.yaml | 664 ++++++++++++++++++++++++++- 6 files changed, 665 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index f02da370b..9f711bc21 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ public/** out .firebase +.firebaseConfig.js storybook-dist diff --git a/src/apps/devdoc/.gitignore b/src/apps/devdoc/.gitignore index f74c78183..6721fd734 100644 --- a/src/apps/devdoc/.gitignore +++ b/src/apps/devdoc/.gitignore @@ -1,2 +1,3 @@ .next node_modules +.firebaseConfig diff --git a/src/apps/devdoc/app/layout/theme.tsx b/src/apps/devdoc/app/layout/theme.tsx index 510067669..989a2b933 100644 --- a/src/apps/devdoc/app/layout/theme.tsx +++ b/src/apps/devdoc/app/layout/theme.tsx @@ -71,7 +71,6 @@ const Main = ({ children, pageOpts }: NextraThemeLayoutProps) => { } = pageData; const hideSidebar = activeType === 'page'; - return (
@@ -92,6 +91,7 @@ const Main = ({ children, pageOpts }: NextraThemeLayoutProps) => { type="font/woff2" crossOrigin="anonymous" /> + {/** Hubspot* */}