diff --git a/src/app.css b/src/app.css index 7d901dfb..89f2953c 100644 --- a/src/app.css +++ b/src/app.css @@ -323,3 +323,9 @@ emoji-picker { --input-font-color: var(--base-content); --outline-color: var(--base-100); } + +/* progress */ + +progress[value]::-webkit-progress-value { + transition: width 0.5s; +} diff --git a/src/app/components/ProfileDelete.svelte b/src/app/components/ProfileDelete.svelte new file mode 100644 index 00000000..4d9a67a0 --- /dev/null +++ b/src/app/components/ProfileDelete.svelte @@ -0,0 +1,144 @@ + + +
diff --git a/src/app/components/SignUp.svelte b/src/app/components/SignUp.svelte index 5a574b45..e4eb5d29 100644 --- a/src/app/components/SignUp.svelte +++ b/src/app/components/SignUp.svelte @@ -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) diff --git a/src/routes/settings/profile/+page.svelte b/src/routes/settings/profile/+page.svelte index 67eaa471..8e275331 100644 --- a/src/routes/settings/profile/+page.svelte +++ b/src/routes/settings/profile/+page.svelte @@ -9,6 +9,7 @@ import Avatar from "@lib/components/Avatar.svelte" import Content from "@app/components/Content.svelte" import ProfileEdit from "@app/components/ProfileEdit.svelte" + import ProfileDelete from "@app/components/ProfileDelete.svelte" import InfoKeys from "@app/components/InfoKeys.svelte" import {PLATFORM_NAME} from "@app/state" import {pushModal} from "@app/modal" @@ -25,6 +26,8 @@ const startEdit = () => pushModal(ProfileEdit) const startEject = () => pushModal(InfoKeys) + + const startDelete = () => pushModal(ProfileDelete)