Skip to content

Commit bd33a79

Browse files
committed
remove ad load strategy
1 parent 3dd8f00 commit bd33a79

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

app/layout.tsx

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
1-
import type { Metadata } from 'next';
2-
import { Space_Grotesk, Manrope } from 'next/font/google';
3-
import Script from 'next/script';
4-
import './globals.css';
1+
import type { Metadata } from "next";
2+
import { Space_Grotesk, Manrope } from "next/font/google";
3+
import Script from "next/script";
4+
import "./globals.css";
55

66
const display = Space_Grotesk({
7-
subsets: ['latin'],
8-
variable: '--font-display'
7+
subsets: ["latin"],
8+
variable: "--font-display",
99
});
1010

1111
const body = Manrope({
12-
subsets: ['latin'],
13-
variable: '--font-body'
12+
subsets: ["latin"],
13+
variable: "--font-body",
1414
});
1515

1616
export const metadata: Metadata = {
17-
title: 'Jedabero | Full Stack Engineer',
17+
title: "Jedabero | Full Stack Engineer",
1818
description:
19-
'Portafolio enfocado en React, React Native, Node/Nest/Express y PostgreSQL. Casos de estudio privados.'
19+
"Portafolio enfocado en React, React Native, Node/Nest/Express y PostgreSQL. Casos de estudio privados.",
2020
};
2121

2222
export default function RootLayout({
23-
children
23+
children,
2424
}: {
2525
children: React.ReactNode;
2626
}) {
2727
return (
2828
<html lang="es">
29-
<body className={`${display.variable} ${body.variable} font-body bg-page-gradient bg-base-bg text-base-text`}>
29+
<body
30+
className={`${display.variable} ${body.variable} font-body bg-page-gradient bg-base-bg text-base-text`}
31+
>
3032
<Script
3133
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3740467952996532"
32-
strategy="afterInteractive" // carga solo después de que la app está lista para evitar bloquear el render inicial
3334
crossOrigin="anonymous"
3435
/>
3536
{children}

0 commit comments

Comments
 (0)