import { addTranslations, setLocale, setRoute } from "$lib/translations/index";
import { addIcon } from "iconify-icon";
/** @type {import('@sveltejs/kit').Load} */
export const load = async ({ data }) => {
const { i18n, translations } = data;
const { locale, route } = i18n;
addTranslations(translations);
await setRoute(route);
await setLocale(locale);
};
addIcon("coinos:logo", {
body: ' ',
width: 224,
height: 72,
});
addIcon("coinos:symbol", {
body: ``,
width: 72,
height: 72,
});