Material Design 'bookmark' / 'bookmark_border' (Apache-2.0) drawn as a CSS mask so it follows the
theme; replaces the 🔖 emoji on bookmark buttons, couplet bookmarks, bookmarked phrases, contents
lists and cards, and the نشانات tab.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
476 B
Plaintext
10 lines
476 B
Plaintext
---
|
|
// tabs between the reader's bookmarks and their word book (kept separate)
|
|
const { current } = Astro.props as { current: 'bookmarks' | '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="/words" aria-current={current === 'words' ? 'page' : undefined}>ذخیرۂ الفاظ</a>
|
|
<a href="/account">پروفائل</a>
|
|
</nav>
|