File tree Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { DotGothic16 , Fira_Code , Press_Start_2P } from "next/font/google" ;
2
2
import "@rainbow-me/rainbowkit/styles.css" ;
3
3
import clsx from "clsx" ;
4
+ import PlausibleProvider from "next-plausible" ;
4
5
import { ScaffoldEthApp } from "~~/components/ScaffoldEthApp" ;
5
6
import { ScaffoldEthAppProviders } from "~~/components/ScaffoldEthAppProviders" ;
6
7
import { ThemeProvider } from "~~/components/ThemeProvider" ;
@@ -26,6 +27,9 @@ const pressStart = Press_Start_2P({
26
27
const Layout = ( { children } : { children : React . ReactNode } ) => {
27
28
return (
28
29
< html suppressHydrationWarning className = { clsx ( firaCode . className , dotGothic . variable , pressStart . variable ) } >
30
+ < head >
31
+ < PlausibleProvider domain = "ctf.buidlguidl.com" />
32
+ </ head >
29
33
< body className = "bg-[url(/dot-texture.svg)]" >
30
34
< ThemeProvider enableSystem >
31
35
< ScaffoldEthAppProviders >
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
3
+ const { withPlausibleProxy } = require ( "next-plausible" ) ;
2
4
3
5
/** @type {import('next').NextConfig } */
4
- const nextConfig = {
6
+ const nextConfig = withPlausibleProxy ( ) ( {
5
7
reactStrictMode : true ,
6
8
typescript : {
7
9
ignoreBuildErrors : process . env . NEXT_PUBLIC_IGNORE_BUILD_ERROR === "true" ,
@@ -14,6 +16,6 @@ const nextConfig = {
14
16
config . externals . push ( "pino-pretty" , "lokijs" , "encoding" ) ;
15
17
return config ;
16
18
} ,
17
- } ;
19
+ } ) ;
18
20
19
21
module . exports = nextConfig ;
Original file line number Diff line number Diff line change 27
27
"next" : " ~14.0.4" ,
28
28
"next-mdx-remote" : " ^5.0.0" ,
29
29
"next-nprogress-bar" : " ^2.3.13" ,
30
+ "next-plausible" : " ^3.12.4" ,
30
31
"next-themes" : " ~0.2.1" ,
31
32
"qrcode.react" : " ~3.1.0" ,
32
33
"react" : " ~18.2.0" ,
Original file line number Diff line number Diff line change @@ -3167,6 +3167,7 @@ __metadata:
3167
3167
next: ~14.0.4
3168
3168
next-mdx-remote: ^5.0.0
3169
3169
next-nprogress-bar: ^2.3.13
3170
+ next-plausible: ^3.12.4
3170
3171
next-themes: ~0.2.1
3171
3172
postcss: ~8.4.16
3172
3173
prettier: ~2.8.4
@@ -13131,6 +13132,17 @@ __metadata:
13131
13132
languageName: node
13132
13133
linkType: hard
13133
13134
13135
+ "next-plausible@npm:^3.12.4":
13136
+ version: 3.12.4
13137
+ resolution: "next-plausible@npm:3.12.4"
13138
+ peerDependencies:
13139
+ next: "^11.1.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 "
13140
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
13141
+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
13142
+ checksum: f8ae32eae3b8f4f45e1bdf1ab1aaf6be9ff184468c90253f4920a0cca01b426610c7ac85d082970e614f6f05b3679b9e68aae13ee5081a3d5bd003baaf11005a
13143
+ languageName: node
13144
+ linkType: hard
13145
+
13134
13146
"next-themes@npm:~0.2.1":
13135
13147
version: 0.2.1
13136
13148
resolution: "next-themes@npm:0.2.1"
You can’t perform that action at this time.
0 commit comments