Skip to content

Commit

Permalink
Merge pull request #168 from UnsignedArduino/staging
Browse files Browse the repository at this point in the history
Revert "Google Tag Manager"
  • Loading branch information
UnsignedArduino authored Jul 13, 2024
2 parents 71a4916 + 7c7f9f6 commit 038e268
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
7 changes: 4 additions & 3 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Google Tag Manager ID - not required
// Used for Google Analytics and Adsense
NEXT_PUBLIC_GTM_ID = "GTM-XXXXXXXX"
// Google Analytics measurement ID - not required
NEXT_PUBLIC_GA_MEASUREMENT_ID = "G-XXXXXXXXXX"
// Google Adsense publisher ID - not required
NEXT_PUBLIC_ADSENSE_PUBLISHER_ID = "pub-XXXXXXXXXXXXXXXX"
// GitHub OAuth
GITHUB_ID = XXXXXXXXXXXXXXXXXXXX
GITHUB_SECRET = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
"prepare": "husky install"
},
"dependencies": {
"@codemirror/language": "6.0.0",
"@growthbook/growthbook-react": "^1.1.0",
"@magicul/next-google-tag-manager": "^2.0.0",
"@popperjs/core": "2.11.8",
"@tippyjs/react": "^4.2.6",
"@types/bootstrap": "^5.2.10",
Expand Down Expand Up @@ -89,10 +87,11 @@
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.0",
"sass": "^1.77.7",
"scheduler": "^0.19.0",
"tinacms": "^1.6.5",
"tippy.js": "^6.3.7",
"unified": "^11.0.5"
"unified": "^11.0.5",
"scheduler": "^0.19.0",
"@codemirror/language": "6.0.0"
},
"devDependencies": {
"@tinacms/cli": "^1.5.47",
Expand Down
8 changes: 4 additions & 4 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import "bootstrap/dist/css/bootstrap.css";
import "bootstrap-icons/font/bootstrap-icons.css";
import "katex/dist/katex.min.css";
import "tippy.js/dist/tippy.css";
import Adsense from "../components/Adsense";
import Analytics from "../components/Analytics";
import ErrorBoundary from "../components/ErrorBoundary";
import { SessionProvider } from "next-auth/react";
import { useRouter } from "next/router";
Expand All @@ -13,7 +15,6 @@ import growthbook from "@/components/FeatureFlags";
import { AnimatePresence } from "framer-motion";
import { Theme } from "@/components/Navbar/ThemePicker/themePicker";
import { ACCENT_COLOR } from "@/themes/colors";
import GoogleTagManager from "@magicul/next-google-tag-manager";

export type BootstrapLibContextType = typeof import("bootstrap") | null;
export const BootstrapLibContext =
Expand Down Expand Up @@ -112,9 +113,8 @@ export default function AwesomeArcadeExtensions({
color={ACCENT_COLOR[nprogressTheme]}
options={{ showSpinner: false }}
/>
<GoogleTagManager id={process.env.NEXT_PUBLIC_GTM_ID!} />
{/*<Analytics />*/}
{/*<Adsense />*/}
<Analytics />
<Adsense />
<GrowthBookProvider growthbook={growthbook}>
<SessionProvider session={session}>
<AnimatePresence
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1113,11 +1113,6 @@
dependencies:
"@lezer/common" "^1.0.0"

"@magicul/next-google-tag-manager@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@magicul/next-google-tag-manager/-/next-google-tag-manager-2.0.0.tgz#04a77b506a4385f84cf637267984bd6f334f5ce0"
integrity sha512-NXp0iGxdcAZL9IkkWwh2GS3dE1qSn4hGxXADnvt1li4gAXyxJ9AEDTrgqMVXIDzkGTD7Q0n37BJoCZdmwIXE+g==

"@monaco-editor/loader@^1.3.2":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@monaco-editor/loader/-/loader-1.4.0.tgz#f08227057331ec890fa1e903912a5b711a2ad558"
Expand Down

0 comments on commit 038e268

Please sign in to comment.