DISABLE SSR AND TRANSITION TO SPA

This commit is contained in:
2025-02-08 16:37:58 +01:00
parent 91fc3ae7a2
commit f868d779e7
26 changed files with 1141 additions and 1317 deletions

10
src/lib/toast.ts Normal file
View File

@ -0,0 +1,10 @@
import type { ToastSettings } from "@skeletonlabs/skeleton";
export const get_error_toast = (message: string): ToastSettings => {
return {
message,
hideDismiss: true,
timeout: 2000,
background: "variant-filled-primary",
};
};