flotilla/src/app/components/InfoNip29.svelte

33 lines
1.2 KiB
Svelte
Raw Normal View History

2024-08-08 23:32:46 +00:00
<script lang="ts">
2024-08-09 23:22:09 +00:00
import Button from "@lib/components/Button.svelte"
2024-08-08 23:32:46 +00:00
import Link from '@lib/components/Link.svelte'
import Icon from '@lib/components/Icon.svelte'
import {clip} from '@app/toast'
</script>
<div class="column gap-4">
2024-08-09 23:22:09 +00:00
<div class="py-2">
<h1 class="heading">What is a relay?</h1>
</div>
2024-08-08 23:32:46 +00:00
<p>
Flotilla hosts spaces on the <Link external href="https://nostr.com/">Nostr protocol</Link>.
Nostr uses "relays" to host data, which are special-purpose servers that speak nostr's language.
This means that anyone can host their own data, making the web more decentralized and resilient.
</p>
<p>
Only some relays support spaces. You can find a list of suggested relays below,
or you can <Link external href="https://coracle.tools">host your own</Link>.
If you do decide to join someone else's, make sure to follow their directions for registering
as a user.
</p>
<div class="card flex-row justify-between">
2024-08-09 00:22:17 +00:00
devrelay.highlighter.com
2024-08-09 23:22:09 +00:00
<Button on:click={() => clip('devrelay.highlighter.com')}>
2024-08-08 23:32:46 +00:00
<Icon icon="copy" />
2024-08-09 23:22:09 +00:00
</Button>
2024-08-08 23:32:46 +00:00
</div>
2024-08-09 23:22:09 +00:00
<Button class="btn btn-primary" on:click={() => history.back()}>
2024-08-08 23:32:46 +00:00
Got it
2024-08-09 23:22:09 +00:00
</Button>
2024-08-08 23:32:46 +00:00
</div>