forked from ProjectSegfault/website
run prettier on all svelte files
This commit is contained in:
parent
b4c8e2131b
commit
9fa9b08eef
@ -1,6 +1,11 @@
|
||||
<a
|
||||
href="/"
|
||||
class="text-text no-underline flex items-center gap-2">
|
||||
<img src="/logo.png" alt="Project Segfault logo" class="w-7">
|
||||
class="text-text no-underline flex items-center gap-2"
|
||||
>
|
||||
<img
|
||||
src="/logo.png"
|
||||
alt="Project Segfault logo"
|
||||
class="w-7"
|
||||
/>
|
||||
Project Segfault</a
|
||||
>
|
||||
|
@ -6,9 +6,7 @@
|
||||
{#if address}
|
||||
<details class="p-0">
|
||||
<summary>Address</summary>
|
||||
<code class="break-words whitespace-normal"
|
||||
>{address}</code
|
||||
>
|
||||
<code class="break-words whitespace-normal">{address}</code>
|
||||
</details>
|
||||
{/if}
|
||||
|
||||
|
@ -37,7 +37,12 @@
|
||||
|
||||
{#if !data.users.error}
|
||||
{#if data.users.users.some(isOnline)}
|
||||
<p class="my-4">There {onlineUserCount === 1 ? "is" : "are"} {onlineUserCount} {onlineUserCount === 1 ? "user" : "users"} online out of {userCount} users.</p>
|
||||
<p class="my-4">
|
||||
There {onlineUserCount === 1 ? "is" : "are"}
|
||||
{onlineUserCount}
|
||||
{onlineUserCount === 1 ? "user" : "users"} online out of {userCount}
|
||||
users.
|
||||
</p>
|
||||
<div class="flex flex-row flex-wrap gap-4">
|
||||
{#each data.users.users as user}
|
||||
{#if user.online}
|
||||
|
@ -53,11 +53,15 @@
|
||||
{/if}
|
||||
|
||||
{#if user.matrix}
|
||||
<a href="https://matrix.to/#/{user.matrix}"><div class="i-simple-icons:matrix" /></a>
|
||||
<a href="https://matrix.to/#/{user.matrix}"
|
||||
><div class="i-simple-icons:matrix" /></a
|
||||
>
|
||||
{/if}
|
||||
|
||||
{#if user.fediverse}
|
||||
<a href="https://{user.fediverse}"><div class="i-simple-icons:mastodon" /></a>
|
||||
<a href="https://{user.fediverse}"
|
||||
><div class="i-simple-icons:mastodon" /></a
|
||||
>
|
||||
{/if}
|
||||
|
||||
{#if user.website}
|
||||
|
@ -31,7 +31,12 @@
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="ssh"><a href="https://wiki.projectsegfau.lt/index.php?title=Generating_an_SSH_key">SSH public key</a></label>
|
||||
<label for="ssh"
|
||||
><a
|
||||
href="https://wiki.projectsegfau.lt/index.php?title=Generating_an_SSH_key"
|
||||
>SSH public key</a
|
||||
></label
|
||||
>
|
||||
<textarea
|
||||
name="ssh"
|
||||
placeholder="[...]"
|
||||
@ -51,7 +56,9 @@
|
||||
<button
|
||||
type="submit"
|
||||
class="transition-filter duration-200 hover:brightness-75"
|
||||
>Submit registration <div class="i-ic:outline-arrow-circle-right" /></button
|
||||
>Submit registration <div
|
||||
class="i-ic:outline-arrow-circle-right"
|
||||
/></button
|
||||
>
|
||||
</form>
|
||||
|
||||
|
@ -9,7 +9,9 @@
|
||||
|
||||
{#if !data.users.error}
|
||||
{#if data.users.users.length > 0}
|
||||
<p class="my-4">There are {data.users.users.length} users on the pubnix.</p>
|
||||
<p class="my-4">
|
||||
There are {data.users.users.length} users on the pubnix.
|
||||
</p>
|
||||
<div class="flex flex-row flex-wrap gap-4">
|
||||
{#each data.users.users as user}
|
||||
<User {user} />
|
||||
|
@ -32,8 +32,7 @@
|
||||
{/if}
|
||||
|
||||
{#if member.xmpp}
|
||||
<a href={member.xmpp}
|
||||
><div class="i-simple-icons:xmpp" /></a
|
||||
<a href={member.xmpp}><div class="i-simple-icons:xmpp" /></a
|
||||
>
|
||||
{/if}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user