|
1 | | -import { MuiRootProvider } from "@/providers/MuiRootProvider"; |
2 | | -import type { Metadata } from "next"; |
3 | | -import { Geist, Geist_Mono } from "next/font/google"; |
4 | | -import InitColorSchemeScript from "@mui/material/InitColorSchemeScript"; |
| 1 | +import { MuiRootProvider } from '@/providers/MuiRootProvider'; |
| 2 | +import type { Metadata } from 'next'; |
| 3 | +import { Geist, Geist_Mono } from 'next/font/google'; |
| 4 | +import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'; |
5 | 5 | const geistSans = Geist({ |
6 | | - variable: "--font-geist-sans", |
7 | | - subsets: ["latin"], |
| 6 | + variable: '--font-geist-sans', |
| 7 | + subsets: ['latin'], |
8 | 8 | }); |
9 | 9 |
|
10 | 10 | const geistMono = Geist_Mono({ |
11 | | - variable: "--font-geist-mono", |
12 | | - subsets: ["latin"], |
| 11 | + variable: '--font-geist-mono', |
| 12 | + subsets: ['latin'], |
13 | 13 | }); |
14 | 14 |
|
15 | 15 | export const metadata: Metadata = { |
16 | | - title: "LogOS", |
17 | | - description: |
18 | | - "Mejora tu eficiencia usando nuestro sistema de gestión inteligente. SCADA, BMS, AIIoT", |
19 | | - applicationName: "LogOS", |
20 | | - keywords: [ |
21 | | - "SCADA", |
22 | | - "industrial", |
23 | | - "AIIoT", |
24 | | - "AI", |
25 | | - "IIoT", |
26 | | - "BMS", |
27 | | - "HMI", |
28 | | - "SEEED", |
29 | | - "KUNBUS", |
30 | | - "Smart Cities", |
31 | | - "Smart City", |
32 | | - "Building Management System", |
33 | | - "Building", |
34 | | - "Management", |
35 | | - "System", |
36 | | - "events", |
37 | | - "alarms", |
38 | | - "bylogosio", |
39 | | - "logosia", |
40 | | - "bylogosia", |
41 | | - "bylogosiot", |
42 | | - "logosio", |
43 | | - "logosiot", |
44 | | - "IoT", |
45 | | - "automatización", |
46 | | - "LogOS", |
47 | | - "ByLogos", |
48 | | - "IA", |
49 | | - "Logos", |
50 | | - "monitorización", |
51 | | - "solución", |
52 | | - "local-first", |
53 | | - "software", |
54 | | - "hardware", |
55 | | - ], |
56 | | - robots: { |
57 | | - googleBot: { |
58 | | - index: true, |
59 | | - follow: true, |
60 | | - }, |
61 | | - }, |
62 | | - authors: [ |
63 | | - { name: "LogOS", url: "https://www.linkedin.com/company/bylogos/" }, |
64 | | - ], |
65 | | - creator: "Javier Vargas", |
66 | | - metadataBase: new URL("https://bylogos.io"), |
| 16 | + title: { |
| 17 | + default: 'Inteligencia Industrial SCADA, BMS, AIIoT | LogOS', |
| 18 | + template: '%s | LogOS', |
| 19 | + }, |
| 20 | + description: |
| 21 | + 'LogOS: Sistema de gestión inteligente para SCADA, BMS y AIIoT. Mejora la eficiencia operacional en Smart Cities e industria.', |
| 22 | + applicationName: 'LogOS', |
| 23 | + keywords: [ |
| 24 | + 'LogOS', |
| 25 | + 'SCADA', |
| 26 | + 'BMS', |
| 27 | + 'AIIoT', |
| 28 | + 'IIoT', |
| 29 | + 'Industrial AI', |
| 30 | + 'Smart Cities', |
| 31 | + 'Automatización Industrial', |
| 32 | + 'Monitorización en Tiempo Real', |
| 33 | + 'Gestión de Edificios', |
| 34 | + 'HMI', |
| 35 | + 'ByLogos', |
| 36 | + ], |
| 37 | + robots: { |
| 38 | + index: true, |
| 39 | + follow: true, |
| 40 | + googleBot: { |
| 41 | + index: true, |
| 42 | + follow: true, |
| 43 | + }, |
| 44 | + }, |
| 45 | + authors: [ |
| 46 | + { name: 'LogOS', url: 'https://www.linkedin.com/company/bylogos/' }, |
| 47 | + ], |
| 48 | + creator: 'Javier Vargas', |
| 49 | + metadataBase: new URL('https://bylogos.io'), |
67 | 50 | }; |
68 | 51 |
|
69 | | -import { ConditionalHeader } from "@/sections/layout/ConditionalHeader"; |
70 | | -import { ConditionalFooter } from "@/sections/layout/ConditionalFooter"; |
| 52 | +import { ConditionalHeader } from '@/sections/layout/ConditionalHeader'; |
| 53 | +import { ConditionalFooter } from '@/sections/layout/ConditionalFooter'; |
71 | 54 |
|
72 | 55 | export default function RootLayout({ |
73 | | - children, |
| 56 | + children, |
74 | 57 | }: Readonly<{ |
75 | | - children: React.ReactNode; |
| 58 | + children: React.ReactNode; |
76 | 59 | }>) { |
77 | | - return ( |
78 | | - <html lang="en" suppressHydrationWarning> |
79 | | - <body |
80 | | - className={`${geistSans.variable} ${geistMono.variable} antialiased`} |
81 | | - > |
82 | | - <InitColorSchemeScript attribute="class" defaultMode="dark" /> |
83 | | - <MuiRootProvider> |
84 | | - <ConditionalHeader /> |
85 | | - {children} |
86 | | - <ConditionalFooter /> |
87 | | - </MuiRootProvider> |
88 | | - </body> |
89 | | - </html> |
90 | | - ); |
| 60 | + return ( |
| 61 | + <html lang='en' suppressHydrationWarning> |
| 62 | + <body |
| 63 | + className={`${geistSans.variable} ${geistMono.variable} antialiased`} |
| 64 | + > |
| 65 | + <InitColorSchemeScript attribute='class' defaultMode='dark' /> |
| 66 | + <MuiRootProvider> |
| 67 | + <ConditionalHeader /> |
| 68 | + {children} |
| 69 | + <ConditionalFooter /> |
| 70 | + </MuiRootProvider> |
| 71 | + </body> |
| 72 | + </html> |
| 73 | + ); |
91 | 74 | } |
0 commit comments