1- import Script from 'next/script' ;
21import type { Metadata } from 'next' ;
32
43import { ThemeProvider } from '@/components/theme-provider' ;
@@ -10,10 +9,6 @@ export const metadata: Metadata = {
109 title : 'RepoTree - ASCII Tree Generator' ,
1110 description : 'RepoTree is a web app for generating an ASCII tree from a GitHub or GitLab URL.' ,
1211 authors : [ { name : 'Ralph Rosael' } ] ,
13- verification : {
14- // Google Search Console
15- google : 'T1eSo0As2QM6eFiFVR-rfDwCxNa_oMVNVgoSDqZNk4U' ,
16- } ,
1712} ;
1813
1914export default function RootLayout ( {
@@ -23,21 +18,6 @@ export default function RootLayout({
2318} > ) {
2419 return (
2520 < html lang = "en" suppressHydrationWarning >
26- < head >
27- { /* Google Tag (gtag.js) */ }
28- < Script
29- src = "https://www.googletagmanager.com/gtag/js?id=G-7PSC7S1M55"
30- strategy = "afterInteractive"
31- />
32- < Script id = "google-analytics" strategy = "afterInteractive" >
33- { `
34- window.dataLayer = window.dataLayer || [];
35- function gtag(){dataLayer.push(arguments);}
36- gtag('js', new Date());
37- gtag('config', 'G-7PSC7S1M55');
38- ` }
39- </ Script >
40- </ head >
4121 < body className = "antialiased" >
4222 < ThemeProvider attribute = "class" defaultTheme = "system" enableSystem >
4323 { children }
0 commit comments