Normalize relay URLs

This commit is contained in:
Jon Staab
2026-01-08 12:08:13 -08:00
parent cd1b328b1b
commit f86afc08fa
7 changed files with 30 additions and 20 deletions
+2 -1
View File
@@ -99,7 +99,8 @@
{/snippet}
</FieldInline>
<p class="text-sm">
Forgot your password? <Button class="link" onclick={loginWithOTP}>Log in with a one-time access code</Button
Forgot your password? <Button class="link" onclick={loginWithOTP}
>Log in with a one-time access code</Button
>.
</p>
<ModalFooter>
+2 -2
View File
@@ -111,8 +111,8 @@
{/snippet}
</FieldInline>
<p class="text-sm">
To keep your key as safe a possible, you will receive <strong>three separate emails</strong>.
Be sure to enter all three codes!
To keep your key as safe a possible, you will receive <strong>three separate emails</strong>. Be
sure to enter all three codes!
</p>
<ModalFooter>
<Button class="btn btn-link" onclick={back} disabled={loading}>
+3 -2
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import {loadProfile} from "@welshman/app"
import {getProfile, loadProfile} from "@welshman/app"
import ProfileCircle from "@app/components/ProfileCircle.svelte"
type Props = {
@@ -22,7 +22,8 @@
<div class="flex pr-3">
{#each visiblePubkeys.toSorted().slice(0, 15) as pubkey (pubkey)}
<div class="z-feature -mr-3 inline-block flex items-center justify-center bg-base-100 rounded-full h-8 w-8">
<div
class="z-feature -mr-3 inline-block flex h-8 w-8 items-center justify-center rounded-full bg-base-100">
<ProfileCircle class="h-8 w-8 bg-base-300" {pubkey} {size} />
</div>
{/each}
+4 -4
View File
@@ -28,10 +28,10 @@
const onSubmit = async () => {
if (password.trim().length < 12) {
return pushToast({
theme: "error",
message: "Password must be at least 12 characters long.",
})
return pushToast({
theme: "error",
message: "Password must be at least 12 characters long.",
})
}
loading = true
+2 -1
View File
@@ -68,7 +68,8 @@
{/snippet}
</FieldInline>
<p class="text-sm">
We just sent a one-time confirmation code to {email}. Once you receive it, you can enter it above.
We just sent a one-time confirmation code to {email}. Once you receive it, you can enter it
above.
</p>
<ModalFooter>
<Button class="btn btn-link" onclick={back} disabled={loading}>