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);
return i18n;
};
addIcon("coinos:logo", {
body: ' ',
width: 224,
height: 72,
});
addIcon("coinos:rays", {
body: '',
width: 158,
height: 60,
});
addIcon("coinos:shield", {
body: '',
width: 96,
height: 122,
});
addIcon("coinos:hand", {
body: '',
width: 106,
height: 100,
});
addIcon("coinos:bolt", {
body: '',
width: 96,
height: 121,
});
addIcon("coinos:smile", {
body: '',
width: 112,
height: 108,
});