More tweaks

This commit is contained in:
minimo-io 2024-04-17 20:55:50 -03:00
parent d62fff97e1
commit 15a3de3a3d
2 changed files with 14 additions and 4 deletions

View File

@ -6,9 +6,14 @@ Let promote some reciprocity here! 😹
## ToDo
- Add % value for progress.
- Add forms
- Query for userdata, at least for no-followers
- Remove SvelteKit (just Vite + Svelte).
- Polish the proof-of-concept code.
- Configure Vite for the miniapp to be loaded in the article's url as base.
- Save followbackers and not followbackers in lists to see details.
- Create an UI/UX that's worth looking at.
## v2
- Upload a localStorage list of relays

View File

@ -38,10 +38,15 @@
</script>
<h3>This npub follows:</h3>
<img src={userThumb} width="50" style="border-radius:100%;" alt="user-thumb" />
User: {userName} |  Follows: {followsCount}
<br />
nPub: {npubToQuery}
{#if userThumb}
<a target="_blank noreferrer noopener" href="https://primal.net/p/{npubToQuery}"
><img src={userThumb} width="50" style="border-radius:100%;" alt="user-thumb" /></a
>
User: <a target="_blank noreferrer noopener" href="https://primal.net/p/{npubToQuery}">{userName}</a> |  Follows: {followsCount}
{:else}
<div class="loader">Loading data for... {npubToQuery}</div>
{/if}
<br /><br />
<ul>