mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Improve registration form
* Support both handles and URLs in twitter/github fields.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
<header>
|
||||
<div class="avatar">
|
||||
<Avatar source={profile.avatar ?? address} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="info">
|
||||
<span class="title bold"><Address compact noAvatar {address} {config} resolve/></span>
|
||||
<div class="links">
|
||||
@@ -62,17 +62,17 @@
|
||||
<a class="url" href={profile.url}>{profile.url}</a>
|
||||
{/if}
|
||||
{#if profile.twitter}
|
||||
<a class="url" href={profile.twitter}>
|
||||
<a class="url" href="https://twitter.com/{profile.twitter}">
|
||||
<Icon name="twitter" />
|
||||
</a>
|
||||
{/if}
|
||||
{#if profile.github}
|
||||
<a class="url" href={profile.github}>
|
||||
<a class="url" href="https://github.com/{profile.github}">
|
||||
<Icon name="github" />
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</header>
|
||||
</main>
|
||||
{/await}
|
||||
|
||||
Reference in New Issue
Block a user