zwischenstand

This commit is contained in:
2025-10-02 09:03:39 +00:00
parent 099530b7c8
commit f3dc0dc9bd
52 changed files with 994 additions and 5602 deletions

View File

@@ -1,5 +1,4 @@
import { get, writable } from "svelte/store"
import { setUser } from "../sentry"
import { baseURL } from "../config"
/*********** location **************************/
@@ -126,18 +125,5 @@ location.subscribe((l) => {
})
})
export const openModal = writable<boolean>(false)
export const overlays = writable<Overlay[]>([])
export const categories = writable<BigCommerceCategory[]>([])
export const login = writable<Login | null>(null)
login.subscribe((l) => {
setUser({
username: l?.customer?.username || l?.tokenData?.tibiId || "anonymous",
email: l?.customer?.email || l?.tokenData?.email || "anonymous",
})
})
export const modules = writable<Module[]>([])
export const backgroundImages = writable<{ standard?: string }>({})
export const isMobile = writable<boolean>(false)
export const actionApproval = writable<ActionApproval | null>(null)