From 2d91d08e167f22397aaeaa1cd689276117c12ea7 Mon Sep 17 00:00:00 2001 From: Horacio Daniel Ros Date: Wed, 16 Sep 2026 10:56:26 -0300 Subject: [PATCH] =?UTF-8?q?feat:=20agregar=20datos=20estructurados=20de=20?= =?UTF-8?q?organizaci=C3=B3n=20en=20formato=20JSON-LD=20en=20el=20perfil?= =?UTF-8?q?=20p=C3=BAblico?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- txclient/src/app/landing/org/[oid]/layout.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/txclient/src/app/landing/org/[oid]/layout.tsx b/txclient/src/app/landing/org/[oid]/layout.tsx index caaafac..3a0845b 100644 --- a/txclient/src/app/landing/org/[oid]/layout.tsx +++ b/txclient/src/app/landing/org/[oid]/layout.tsx @@ -76,6 +76,20 @@ export default async function OrganizationPublicProfile({ params, children }: Pr const { oid } = await params; const orgData = await GetOrganizationData(oid); + const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || "https://turnosxpress.com.ar"; + const canonicalUrl = `${baseUrl}/landing/org/${oid}`; + + const jsonLd = { + "@context": "https://schema.org", + "@type": "Organization", + name: orgData.name, + url: canonicalUrl, + description: + orgData.description && orgData.description.trim().length > 0 + ? orgData.description + : `${orgData.name} - TurnosXpress`, + }; + return ( {orgData.id && ( <> +