feat: add settings menu
All checks were successful
Deploy to VPS (dist) / deploy (push) Successful in 1m40s

This commit is contained in:
Hewston Fox
2026-03-22 04:08:56 +02:00
parent 2a1115b66f
commit 5e9acffa09
89 changed files with 3412 additions and 216 deletions

8
src/helpers/dom.ts Normal file
View File

@@ -0,0 +1,8 @@
export const prefetch = (url: string | null | undefined) => {
if (!url) return;
const link = document.createElement("link");
link.rel = "prefetch";
link.href = url;
link.onload = () => link.remove();
document.head.appendChild(link);
};