- A note never bookmarks: notes and bookmarks share a row, bookmarked false is a note only (db: library.bookmarked). Un-bookmarking keeps a note; clearing the note of a row that is not bookmarked removes it; ✕ on the saved page keeps a note - A phrase with a note but no bookmark is underlined only, with the note glyph - /notes: every note with where it is and its couplet (the noted phrase marked), editable in place with the Urdu keyboard, deleted after asking; from a note icon in the header and a نوٹس tab - API tests for all of it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
733 B
Plaintext
12 lines
733 B
Plaintext
---
|
|
// tabs of the reader's own space: saved texts, favourite writers, the word book (kept separate), profile
|
|
const { current } = Astro.props as { current: 'bookmarks' | 'notes' | 'writers' | 'words' };
|
|
---
|
|
<nav class="admin-nav">
|
|
<a href="/library" aria-current={current === 'bookmarks' ? 'page' : undefined}><span class="bm-icon on" aria-hidden="true"></span> محفوظ شدہ</a>
|
|
<a href="/notes" aria-current={current === 'notes' ? 'page' : undefined}>نوٹس</a>
|
|
<a href="/writers" aria-current={current === 'writers' ? 'page' : undefined}>پسندیدہ لکھاری</a>
|
|
<a href="/words" aria-current={current === 'words' ? 'page' : undefined}>ذخیرۂ الفاظ</a>
|
|
<a href="/account">پروفائل</a>
|
|
</nav>
|