Skip to content

Commit

Permalink
problem: todos not implemented yet
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed May 28, 2024
1 parent 864b232 commit baf92af
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/ChatLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
{/if}

<Button
onClick={() => {
alert('todo: implement todo bookmarks');
}}><ListCheckSolid /></Button
onClick={() => {
goto(`${base}/todo`);
}}><ListCheckSolid /></Button
>
<Button
onClick={() => {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/merits/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</p>

<p class="text-sm font-normal text-gray-900 dark:text-white py-2">
Once this is implemented, you'll be able to see the distribution of Humble Horse merits on this page (something kind of similar to shares in a company).
Once implemented, this page will show you the flow of sats to contributors.
</p>
</div>
</div>
Expand Down
31 changes: 31 additions & 0 deletions src/routes/todo/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<script>
import ChatLayout from '@/components/ChatLayout.svelte';
</script>
<ChatLayout>
<div slot="buttons"></div>
<div class="pt-2"></div>
<div class="w-full">
<div class="grid pb-11">
<div class="flex gap-2.5 mb-4">
<img
class="w-8 h-8 rounded-full"
src="https://assets.americanmeadows.com/media/catalog/product/h/o/horse-pasture-and-hay-seed-mix-horse.jpg"
alt="profile pic"
/>
<div class="grid">
<h5 class="text-gray-900 dark:text-orange-600 font-semibold leading-snug pb-1">Horsey McHorseface</h5>
<div class="grid overflow-hidden mr-2">
<div
class="px-3.5 py-2 bg-gray-200 dark:bg-gray-700 rounded-e-xl rounded-es-xl flex flex-col gap-2"
>
<p class="text-sm font-normal text-gray-900 dark:text-white py-2">
I sometimes want to bookmark a note so I can reply to it later, or take some action based on it. But the UI I want is a bit different to the typical bookmark UI implemented in nostr clients so far, so I'm going to implement it here.
</p>

</div>
</div>
</div>
</div>
</div>
</div>
</ChatLayout>

0 comments on commit baf92af

Please sign in to comment.