Files
progcode/web/app/layout.jsx
T

5 lines
1.4 KiB
React
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 './globals.css';
import Link from 'next/link';
export const metadata={metadataBase:new URL('https://progcode.ru'),icons:{icon:'/icon.svg'},title:'ProgCode — записки о программировании',description:'D, PHP, Bitrix и JavaScript: разборы механизмов, рабочие рецепты и разговоры с разработчиками.'};
export default function RootLayout({children}){return <html lang="ru"><body><a className="skip-link" href="#main">К содержанию</a><header className="masthead"><Link className="wordmark" href="/" aria-label="ProgCode — главная">prog<span>code</span><i>_</i></Link><nav aria-label="Главная навигация"><Link href="/#journal">Статьи</Link><Link href="/resources/">Справочники</Link><Link href="/tools/">JSON</Link><Link href="/about/">О блоге</Link></nav><span className="edition">D / PHP / WEB</span></header>{children}<footer className="footer"><Link className="wordmark" href="/">prog<span>code</span><i>_</i></Link><p>Заметки о том, как устроен код.<br/>D, PHP, Bitrix и веб-разработка.</p><div><Link href="/#journal">Все статьи</Link><Link href="/resources/">Полезные ссылки</Link><Link href="/tools/">JSON-инструмент</Link></div><span>Материалы 2017–2019</span></footer></body></html>}