48 lines
1.5 KiB
TypeScript
48 lines
1.5 KiB
TypeScript
import type { Metadata, Viewport } from 'next';
|
|
import { Inter } from 'next/font/google';
|
|
import { AppProviders } from '@/providers/AppProviders';
|
|
import './globals.css';
|
|
|
|
const inter = Inter({
|
|
subsets: ['latin'],
|
|
variable: '--font-inter',
|
|
display: 'swap',
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: '%s | iFixKart ERP',
|
|
default: 'iFixKart ERP - Enterprise Service, CRM & E-Commerce Platform',
|
|
},
|
|
description: 'High-performance ERP, CRM, and Inventory Management system for iFixKart, optimized for large-scale operations and instant responsiveness.',
|
|
keywords: ['ERP', 'CRM', 'E-commerce', 'Inventory Management', 'Repair Jobs', 'Technician Scheduler'],
|
|
authors: [{ name: 'iFixKart Engineering' }],
|
|
robots: 'noindex, nofollow', // ERP panels are administrative and should not be crawled by public search bots
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
width: 'device-width',
|
|
initialScale: 1,
|
|
maximumScale: 5,
|
|
viewportFit: 'cover',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={`${inter.variable} h-full antialiased`} suppressHydrationWarning>
|
|
<body className="min-h-full flex flex-col font-sans selection:bg-primary/20 bg-background text-foreground">
|
|
{/* Skip Navigation Link for WCAG AA Keyboard Accessibility */}
|
|
<a href="#main-content" className="skip-link">
|
|
Skip to main content
|
|
</a>
|
|
<AppProviders>
|
|
{children}
|
|
</AppProviders>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|