From 0a63c3ada02b6e54660da0e18e52545e4fa593cb Mon Sep 17 00:00:00 2001 From: Evandro Fonseca Junior Date: Tue, 20 Jan 2026 14:55:29 -0300 Subject: [PATCH] feat(layout): integrate analytics script and enhance preconnect links - Added a preconnect link for the analytics service to improve loading performance. - Included a script for analytics tracking, set to load after the interactive phase for better user experience. --- app/layout.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/layout.tsx b/app/layout.tsx index c2c578c..13430c1 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,5 +1,6 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; +import Script from "next/script"; import "./globals.css"; const geistSans = Geist({ @@ -86,6 +87,7 @@ export default function RootLayout({ + {/* DNS prefetch for additional performance */} @@ -123,6 +125,11 @@ export default function RootLayout({ className={`${geistSans.variable} ${geistMono.variable} antialiased`} > {children} +