diff --git a/package.json b/package.json index 489c152..e9754d3 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "generate-transactions": "ts-node -r dotenv/config scripts/generateCitizenTransactions.ts" }, "dependencies": { + "@next/third-parties": "^14.2.14", "@types/d3": "^7.4.3", "axios": "^1.7.7", "clsx": "^2.1.1", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 33fa3ed..833f72e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,7 @@ import type { Metadata } from "next"; import { Poppins } from "next/font/google"; import "./globals.css"; +import { GoogleAnalytics } from "@next/third-parties/google"; const poppins = Poppins({ weight: ["400", "600", "700"], subsets: ["latin"] }); @@ -17,6 +18,7 @@ export default function RootLayout({ return ( {children} + ); } diff --git a/yarn.lock b/yarn.lock index f4a9123..f33e8f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -194,6 +194,13 @@ resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.5.tgz#ed199a920efb510cfe941cd75ed38a7be21e756f" integrity sha512-tEQ7oinq1/CjSG9uSTerca3v4AZ+dFa+4Yu6ihaG8Ud8ddqLQgFGcnwYls13H5X5CPDPZJdYxyeMui6muOLd4g== +"@next/third-parties@^14.2.14": + version "14.2.14" + resolved "https://registry.yarnpkg.com/@next/third-parties/-/third-parties-14.2.14.tgz#65af03d9fcee02fd32be4f6fb3329356ca3a6657" + integrity sha512-Flyy7/HqQ5mqg/EkPh9gTh+Ea4Yv1rJM5pOCBYZoOA0eHdSROQO/qpNQ/gOPEMyg1EVDunH0nuAK82GC4BogRA== + dependencies: + third-party-capital "1.0.20" + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -3319,6 +3326,11 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" +third-party-capital@1.0.20: + version "1.0.20" + resolved "https://registry.yarnpkg.com/third-party-capital/-/third-party-capital-1.0.20.tgz#e218a929a35bf4d2245da9addb8ab978d2f41685" + integrity sha512-oB7yIimd8SuGptespDAZnNkzIz+NWaJCu2RMsbs4Wmp9zSDUM8Nhi3s2OOcqYuv3mN4hitXc8DVx+LyUmbUDiA== + tinycolor2@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.6.0.tgz#f98007460169b0263b97072c5ae92484ce02d09e"