Files
slm-design/examples/demo-frontend/src/app/layout.tsx
2026-08-01 09:31:08 +03:00

32 lines
777 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { Metadata } from 'next'
import { AppProviders } from './providers'
import type { AppLayoutProps } from './types/app-layout-props.type'
import './globals.css'
/**
* Статические metadata архитектурного demo-приложения.
*/
export const metadata: Metadata = {
title: {
default: 'Layer Supply',
template: '%s / Layer Supply'
},
description: 'A complete Next.js storefront demonstrating Scoped Layered Module Design.'
}
/**
* Корневая Next.js entry point с application-scoped providers.
*/
export default function RootLayout(props: AppLayoutProps) {
const { children } = props
return (
<html lang="en">
<body>
<AppProviders>{children}</AppProviders>
</body>
</html>
)
}