add plausible

This commit is contained in:
2025-04-05 13:12:27 +02:00
parent 1b765f654e
commit 846f5abb7b
3 changed files with 15 additions and 0 deletions

View File

@@ -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=="],

View File

@@ -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",

View File

@@ -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
>
<head>
<title />
<PlausibleProvider
domain='balatromp.com'
customDomain={'https://plausible.balatromp.com'}
trackOutboundLinks
trackFileDownloads
selfHosted
/>
</head>
<body>
<TRPCReactProvider>
<NextIntlClientProvider>