Initial commit

This commit is contained in:
2024-09-26 01:55:31 +03:00
commit cb32524241
46 changed files with 5704 additions and 0 deletions

13
src/routes/+layout.ts Normal file
View File

@@ -0,0 +1,13 @@
import type {LayoutLoad} from './$types';
import {loadTranslations} from "$lib/translations";
export const prerender = true;
export const load: LayoutLoad = async ({ url }) => {
const { pathname } = url;
const initLocale = 'ru';
await loadTranslations(initLocale, pathname);
return {};
}