Apply Prettier formatting

This commit is contained in:
Echo 2024-07-27 04:02:41 -04:00
parent 850977b6ec
commit 8e847df600
No known key found for this signature in database
GPG key ID: 7111BC5001E738B7
5 changed files with 1818 additions and 1822 deletions

3629
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -13,10 +13,10 @@ const themeList = [
const languageList = [
{ name: "English", value: "en" },
{ name: "Français", value: "fr"},
{ name: "Français", value: "fr" },
{ name: "中文", value: "zh" },
{ name: "日本語", value: "jp" },
{ name: "Русский", value: "ru" }
{ name: "Русский", value: "ru" },
];
---

View file

@ -11,5 +11,5 @@ export const ui = {
fr,
zh,
jp,
ru
ru,
};

View file

@ -63,7 +63,6 @@ const { title, optionalPreloads } = Astro.props;
window.idb = db;
}
}
</script>
<meta name="generator" content={Astro.generator} />
<title>{title}</title>

View file

@ -382,8 +382,8 @@ export function getStaticPaths() {
let currentLanguage = window.location.pathname.split("/")[1];
// Do nothing.. because we're already on the page.
if (value == currentLanguage) return;
window.location.href = `/${value}/settings`;
}
window.location.href = `/${value}/settings`;
}
}
document.addEventListener("astro:after-swap", () => {
setTimeout(() => {