fix(frontend): clarify required format for fediverse instance domain

This commit is contained in:
Sam 2023-03-27 04:37:32 +02:00
parent 5be0b168c5
commit ed60340969
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 7 additions and 0 deletions

View File

@ -70,6 +70,13 @@
<Modal header="Pick an instance" isOpen={modalOpen} toggle={toggleModal}> <Modal header="Pick an instance" isOpen={modalOpen} toggle={toggleModal}>
<ModalBody> <ModalBody>
<Input placeholder="Instance (e.g. mastodon.social)" bind:value={instance} /> <Input placeholder="Instance (e.g. mastodon.social)" bind:value={instance} />
<p class="text-muted mt-2">
<Icon name="info-circle-fill" aria-label="Info" /> This should be the domain you use to access
posts. For example, if your username is <code>@timmie@mastodon.example</code>, but your
user <em>page</em> is at
<code>social.mastodon.example/timmie</code>, you should fill in
<code>social.mastodon.example</code>.
</p>
{#if error} {#if error}
<div class="mt-2"> <div class="mt-2">
<ErrorAlert {error} /> <ErrorAlert {error} />