import React, { ReactNode } from 'react';
// import { getTranslations } from 'next-intl/server';
//
// export async function generateMetadata({
//     params: { locale }
// }: { params: { locale: string }}) {
//     const t = await getTranslations({ locale, namespace: 'Main' });
//
//     return {
//         title: t('title'),
//         description: t('description'),
//     };
// }

export default function MainLayout({ children, news, directions, experts }: {
    children: ReactNode,
    news: ReactNode,
    directions: ReactNode,
    experts: ReactNode
}) {
    return (
        <>
            {children}
            {news}
            {directions}
            {experts}
        </>
    );
};
