6dfe8b8afa
- Next.js 16, Tailwind с @tailwindcss/typography - Главная: hero, featured-статья, сетка карточек, облако тегов - /blog/[slug]: статья со SSG + revalidate 60s, prose typography - /tag/[name]: фильтр по тегам - /about: про проект - /api/cron/generate: endpoint для авто-генерации (защищён x-cron-token) - SEO: dynamic metadata, OG, sitemap-ready - Лента грузится с zeropost-engine /api/articles
32 lines
1.0 KiB
JavaScript
32 lines
1.0 KiB
JavaScript
import './globals.css';
|
|
|
|
export const metadata = {
|
|
title: {
|
|
default: 'ZeroPost — практические материалы про ИИ',
|
|
template: '%s — ZeroPost',
|
|
},
|
|
description: 'Блог про практическое применение искусственного интеллекта. Промпты, инструменты, кейсы — без воды.',
|
|
metadataBase: new URL('https://zeropost.ru'),
|
|
openGraph: {
|
|
type: 'website',
|
|
locale: 'ru_RU',
|
|
siteName: 'ZeroPost',
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html lang="ru">
|
|
<head>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="" />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+Pro:ital,wght@0,400;0,600;0,700;1,400&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
</head>
|
|
<body>{children}</body>
|
|
</html>
|
|
);
|
|
}
|