import type { Metadata } from 'next' import './globals.css' export const metadata: Metadata = { title: 'Эмиль Шанаев — Резюме', description: 'Резюме Эмиля Шанаева: бэкенд, DevOps, системы на базе ИИ, научное ПО и игровые технологии.', authors: [{ name: 'Эмиль Шанаев' }], } // Before the first paint: the language (the stored choice, otherwise Russian) and the theme (dark unless "light" was // chosen). Both keys are shared with the rest of shanaty.ru, so a choice carries over between the pages. const BOOT_SCRIPT = `try{var d=document.documentElement,l=localStorage.getItem('lang');if(l!=='ru'&&l!=='en')l='ru';d.dataset.lang=l;d.lang=l;if(localStorage.getItem('theme')==='light')d.dataset.theme='light';document.title=d.getAttribute('data-title-'+l)||document.title}catch(e){}` export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) { return (
{children} ) }