diff --git a/package-lock.json b/package-lock.json
index fac6ad8..2804581 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,6 +8,7 @@
"name": "blog-v2",
"version": "0.1.0",
"dependencies": {
+ "@next/third-parties": "^15.1.6",
"@tailwindcss/typography": "^0.5.16",
"@tippyjs/react": "^4.2.6",
"escape-html": "^1.0.3",
@@ -819,6 +820,19 @@
"node": ">= 10"
}
},
+ "node_modules/@next/third-parties": {
+ "version": "15.1.6",
+ "resolved": "https://registry.npmjs.org/@next/third-parties/-/third-parties-15.1.6.tgz",
+ "integrity": "sha512-F0uemUqFwD3lLx5SrWXYRe9dZvMVkO0rFuMnvLiPBcagxNc23Ufl5cNXEm4Yuo8O1Mu8dgh+VjExMz1Td4vBew==",
+ "license": "MIT",
+ "dependencies": {
+ "third-party-capital": "1.0.20"
+ },
+ "peerDependencies": {
+ "next": "^13.0.0 || ^14.0.0 || ^15.0.0",
+ "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0"
+ }
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -6698,6 +6712,12 @@
"node": ">=0.8"
}
},
+ "node_modules/third-party-capital": {
+ "version": "1.0.20",
+ "resolved": "https://registry.npmjs.org/third-party-capital/-/third-party-capital-1.0.20.tgz",
+ "integrity": "sha512-oB7yIimd8SuGptespDAZnNkzIz+NWaJCu2RMsbs4Wmp9zSDUM8Nhi3s2OOcqYuv3mN4hitXc8DVx+LyUmbUDiA==",
+ "license": "ISC"
+ },
"node_modules/tippy.js": {
"version": "6.3.7",
"resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-6.3.7.tgz",
diff --git a/package.json b/package.json
index 8d1d1d1..f8d73ea 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"lint": "next lint"
},
"dependencies": {
+ "@next/third-parties": "^15.1.6",
"@tailwindcss/typography": "^0.5.16",
"@tippyjs/react": "^4.2.6",
"escape-html": "^1.0.3",
@@ -18,9 +19,8 @@
"react": "^19.0.0",
"react-dom": "^19.0.0",
"remark": "^15.0.1",
- "remark-html": "^16.0.1",
- "escape-html": "^1.0.3",
- "remark-gfm": "^4.0.0"
+ "remark-gfm": "^4.0.0",
+ "remark-html": "^16.0.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3",
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 28326c6..9a59367 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -4,6 +4,7 @@ import Link from "next/link";
import Image from "next/image";
import { ThemeProvider } from "@/components/ThemeProvider";
import { ThemeToggle } from "@/components/ThemeToggle";
+import { GoogleTagManager } from '@next/third-parties/google'
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
@@ -20,6 +21,7 @@ export default function RootLayout({
}>) {
return (
+