diff --git a/bun.lock b/bun.lock index 33e2e2e..db9f1d7 100644 --- a/bun.lock +++ b/bun.lock @@ -52,6 +52,7 @@ "next": "^15.2.3", "next-auth": "5.0.0-beta.25", "next-intl": "^4.0.2", + "next-plausible": "^3.12.4", "next-themes": "^0.4.6", "postgres": "^3.4.4", "react": "^19.0.0", @@ -599,6 +600,8 @@ "next-intl": ["next-intl@4.0.2", "", { "dependencies": { "@formatjs/intl-localematcher": "^0.5.4", "negotiator": "^1.0.0", "use-intl": "^4.0.2" }, "peerDependencies": { "next": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0 || ^19.0.0", "typescript": "^5.0.0" }, "optionalPeers": ["typescript"] }, "sha512-3cKVflwdrqxCOvAL+DtGN68qR802i0PEj0dttkAD5IK5XxOjugQs4yU8aSakvPMbkOrhEJ+89z5lG2EAqi7Gkw=="], + "next-plausible": ["next-plausible@3.12.4", "", { "peerDependencies": { "next": "^11.1.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 ", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-cD3+ixJxf8yBYvsideTxqli3fvrB7R4BXcvsNJz8Sm2X1QN039WfiXjCyNWkub4h5++rRs6fHhchUMnOuJokcg=="], + "next-themes": ["next-themes@0.4.6", "", { "peerDependencies": { "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc", "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc" } }, "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA=="], "oauth4webapi": ["oauth4webapi@3.3.2", "", {}, "sha512-hCJgDQayOLpBxdDpzShK/SI3C1PVnkj4CcKLOGyQm23Lk5V+qYPH+LtQlu8YO29MswBry/FBVlwWBnWgQvaFdA=="], diff --git a/package.json b/package.json index 7ab3496..3dbd0ab 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,7 @@ "next": "^15.2.3", "next-auth": "5.0.0-beta.25", "next-intl": "^4.0.2", + "next-plausible": "^3.12.4", "next-themes": "^0.4.6", "postgres": "^3.4.4", "react": "^19.0.0", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 50f129a..58cf246 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -9,6 +9,7 @@ import { TRPCReactProvider } from '@/trpc/react' import { SessionProvider } from 'next-auth/react' import { NextIntlClientProvider } from 'next-intl' import { getLocale } from 'next-intl/server' +import PlausibleProvider from 'next-plausible' export const metadata: Metadata = { title: 'Balatro Multiplayer', @@ -31,6 +32,16 @@ export default async function RootLayout({ className={`${geist.variable}`} suppressHydrationWarning > +
+