75 lines
2.6 KiB
TypeScript
75 lines
2.6 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import "@/lib/gsap-setup";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
import { Manrope } from "next/font/google";
|
|
import { DM_Sans } from "next/font/google";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'ConstructoERP: Gestión Inteligente para Construcción y Oficios',
|
|
description: 'Optimiza tus proyectos de construcción y oficios auxiliares con ConstructoERP. Software líder para planificación, recursos y finanzas, con animaciones y un diseño moderno.',
|
|
keywords: ["ERP, construcción, oficios auxiliares, gestión proyectos, software, obra, planificación, recursos, finanzas, digitalización"],
|
|
openGraph: {
|
|
"title": "ConstructoERP: Gestión Inteligente para Construcción y Oficios",
|
|
"description": "Optimiza tus proyectos de construcción y oficios auxiliares con ConstructoERP. Software líder para planificación, recursos y finanzas, con animaciones y un diseño moderno.",
|
|
"url": "https://www.constructoerp.com",
|
|
"siteName": "ConstructoERP",
|
|
"images": [
|
|
{
|
|
"url": "http://img.b2bpic.net/free-photo/architectural-design-team-configures-floor-plan-dual-monitors_482257-126974.jpg",
|
|
"alt": "Dashboard de ConstructoERP"
|
|
}
|
|
],
|
|
"type": "website"
|
|
},
|
|
twitter: {
|
|
"card": "summary_large_image",
|
|
"title": "ConstructoERP: Gestión Inteligente para Construcción y Oficios",
|
|
"description": "Optimiza tus proyectos de construcción y oficios auxiliares con ConstructoERP. Software líder para planificación, recursos y finanzas, con animaciones y un diseño moderno.",
|
|
"images": [
|
|
"http://img.b2bpic.net/free-photo/architectural-design-team-configures-floor-plan-dual-monitors_482257-126974.jpg"
|
|
]
|
|
},
|
|
robots: {
|
|
"index": true,
|
|
"follow": true
|
|
},
|
|
};
|
|
|
|
|
|
const dmSans = DM_Sans({
|
|
variable: "--font-dm-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${dmSans.variable} ${inter.variable} antialiased`}>
|
|
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
}
|