Fix onboarding relay settings, add onboarding video

This commit is contained in:
Jonathan Staab 2023-03-08 14:32:00 -06:00
parent f3df6dc6ac
commit 49a0b600f9
3 changed files with 7 additions and 6 deletions

View File

@ -23,10 +23,10 @@
export let stage
let relays = [
{url: "wss://nostr-pub.wellorder.net"},
{url: "wss://nostr.zebedee.cloud"},
{url: "wss://nos.lol"},
{url: "wss://brb.io"},
{url: "wss://nostr-pub.wellorder.net", write: true},
{url: "wss://nostr.zebedee.cloud", write: true},
{url: "wss://nos.lol", write: true},
{url: "wss://brb.io", write: true},
]
let follows = [

View File

@ -5,6 +5,7 @@
import {modal} from "src/app/ui"
const tutorialUrl = "https://nostr.how/"
const videoUrl = "https://dufflepud.us-southeast-1.linodeobjects.com/coracle_intro.mp4"
</script>
<Content size="lg" class="text-center">
@ -13,7 +14,7 @@
New to Nostr? Click <Anchor external href={tutorialUrl}>here</Anchor> or watch the video below for
a crash course on what it is, and how to use it.
</p>
<video controls src="" class="object-contain object-center" />
<video controls src={videoUrl} class="object-contain object-center" />
<p>
When youre ready to dive in, click below and well guide you through the process of creating an
account.

View File

@ -30,7 +30,7 @@
}
const addRelay = relay => {
relays = relays.concat(relay)
relays = relays.concat({...relay, write: true})
}
</script>