Spruce up nstart, add profile deletion

This commit is contained in:
Jon Staab
2025-02-14 15:59:20 -08:00
parent f1e76a1ed1
commit c8dfbc936b
4 changed files with 169 additions and 5 deletions
+10 -5
View File
@@ -12,14 +12,19 @@
import SignUpKey from "@app/components/SignUpKey.svelte"
import SignUpSuccess from "@app/components/SignUpSuccess.svelte"
import {pushModal} from "@app/modal"
import {BURROW_URL, PLATFORM_NAME} from "@app/state"
import {BURROW_URL, PLATFORM_NAME, PLATFORM_ACCENT} from "@app/state"
import {pushToast} from "@app/toast"
const ac = window.location.origin
const params = new URLSearchParams({
an: PLATFORM_NAME,
ac: window.location.origin,
at: isMobile ? "android" : "web",
aa: PLATFORM_ACCENT.slice(1),
am: "dark",
asf: "yes",
})
const at = isMobile ? "android" : "web"
const nstart = `https://start.njump.me/?an=Flotilla&at=${at}&ac=${ac}`
const nstart = `https://start.njump.me/?${params.toString()}`
const login = () => pushModal(LogIn)