30 lines
513 B
TypeScript
30 lines
513 B
TypeScript
import { type ReactNode } from 'react';
|
|
import { type Metadata } from 'next';
|
|
import '@/app/globals.css';
|
|
|
|
type Props = Readonly<{
|
|
children: ReactNode;
|
|
}>;
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
default: '<Title>',
|
|
template: '%s | <Template>'
|
|
},
|
|
description: '<Description>',
|
|
keywords: [ '<Keyword>' ],
|
|
alternates: {
|
|
canonical: 'https://<domain>'
|
|
}
|
|
};
|
|
|
|
export default function RootLayout({ children }: Props) {
|
|
return (
|
|
<html lang="de" >
|
|
<body>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|