feat: notes and first item view

This commit is contained in:
Julien Calixte
2026-02-10 22:21:59 +01:00
parent c638914f56
commit 95b4eb7c44
4 changed files with 59 additions and 4 deletions

View File

@@ -28,7 +28,15 @@ const getAlias = (did: string) => aka.value.get(did) ?? ""
<div class="public-note-view" v-else>
<ul>
<li v-for="note in state.notes">
{{ getAlias(note.did) }}: {{ note.title }}
{{ getAlias(note.did) }}:
<router-link
:to="{
name: 'PublicNoteView',
params: { did: note.did, rkey: note.rkey },
}"
class="btn btn-link"
>{{ note.title }}</router-link
>
</li>
</ul>
</div>