File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ import '@/app/globals.css'
66import { Header } from '@/components/layout/header/header'
77import { Providers } from '@/components/layout/providers'
88import { cn } from '@/lib/utils'
9+ import { GoogleAnalytics } from '@next/third-parties/google'
910import { Metadata } from 'next'
11+ import NextTopLoader from 'nextjs-toploader'
1012
1113export default function RootLayout ( { children } : RootLayoutProps ) {
1214 return (
@@ -18,8 +20,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
1820 GeistMono . variable
1921 ) }
2022 >
21- { /* TODO: https://github.com/TheSGJ/nextjs-toploader/issues/66 */ }
22- { /* <NextTopLoader color="#1ED761" initialPosition={0.20} /> */ }
23+ < NextTopLoader color = "#1ED761" initialPosition = { 0.20 } />
2324 < Toaster />
2425 < Providers
2526 attribute = "class"
@@ -32,6 +33,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
3233 < main className = "flex flex-col flex-1 bg-muted/50" > { children } </ main >
3334 </ div >
3435 { /* <TailwindIndicator /> */ }
36+ < GoogleAnalytics gaId = "G-N135BF99HS" />
3537 </ Providers >
3638 </ body >
3739 </ html >
@@ -79,6 +81,9 @@ export const metadata: Metadata = {
7981 icon : '/favicon.ico' ,
8082 shortcut : '/favicon-300x300.png' ,
8183 apple : '/apple-touch-icon.png'
84+ } ,
85+ other : {
86+ 'google-site-verification' : 'By9aM0DbPDDO9qa7Y3zNwDFyYuSPslVzje76EVOCcY0'
8287 }
8388}
8489
Original file line number Diff line number Diff line change 1818 "@anthropic-ai/sdk" : " ^0.27.1" ,
1919 "@auth/core" : " ^0.34.2" ,
2020 "@blockmatic/hooks-utils" : " ^3.0.0" ,
21+ "@next/third-parties" : " ^14.2.11" ,
2122 "@radix-ui/react-accordion" : " ^1.1.2" ,
2223 "@radix-ui/react-alert-dialog" : " ^1.0.5" ,
2324 "@radix-ui/react-checkbox" : " ^1.1.1" ,
You can’t perform that action at this time.
0 commit comments