From a71d61e5ed48e417374959e291f6c3a428ba0973 Mon Sep 17 00:00:00 2001 From: Miguel Barra Date: Sun, 26 Jul 2026 17:52:32 -0400 Subject: [PATCH] feat(dbo-1082): open graph y twitter card en metadata del layout --- app/layout.tsx | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 53db69f..f2175d7 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -15,10 +15,30 @@ const firaCode = Fira_Code({ weight: ['400', '500', '600'], }); +const SITE_URL = 'https://pulso-cyan-zeta.vercel.app'; +const TITLE = 'Dashboard mindicador.cl'; +const DESCRIPTION = + 'Panel de indicadores económicos de Chile en tiempo real: UF, dólar, euro, IPC, TPM y más.'; + export const metadata: Metadata = { - title: 'Dashboard mindicador.cl', - description: - 'Panel de indicadores económicos de Chile en tiempo real: UF, dólar, euro, IPC, TPM y más.', + metadataBase: new URL(SITE_URL), + title: TITLE, + description: DESCRIPTION, + openGraph: { + title: TITLE, + description: DESCRIPTION, + url: SITE_URL, + siteName: 'Pulso', + images: ['/opengraph-image'], + locale: 'es_CL', + type: 'website', + }, + twitter: { + card: 'summary_large_image', + title: TITLE, + description: DESCRIPTION, + images: ['/opengraph-image'], + }, }; export default function RootLayout({