Snapshot of uncommitted work: landing, bots, prod infra, partner cabinet, backoffice stage 1
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
45d7512d2b
commit
d452824c62
314 files changed
+44394
-121
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { LOCALES } from '@barev/i18n';
|
||||
import type { MetadataRoute } from 'next';
|
||||
import { INDEXED_PATHS, languageAlternates, SITE } from '../lib/seo';
|
||||
|
||||
/** Все индексируемые страницы на 5 языках; у каждой — hreflang на все версии, включая саму себя */
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
return INDEXED_PATHS.flatMap((path) =>
|
||||
LOCALES.map((locale) => ({
|
||||
url: `${SITE}/${locale}${path}`,
|
||||
changeFrequency: 'weekly' as const,
|
||||
priority: path === '' ? 1 : 0.8,
|
||||
alternates: { languages: languageAlternates(path, true) },
|
||||
})),
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user