Create comprehensive bookmarks management page
Add complete bookmarks page with navigation functionality: Features: - Dedicated /bookmarks page for viewing all saved bookmarks - Support for both chapter and verse bookmarks in unified view - Statistics dashboard showing total, chapter, and verse bookmark counts - Tabbed filtering (All, Chapters, Verses) for easy organization - Direct navigation to Bible reading page with URL parameters - Delete functionality for individual bookmarks - Empty state with call-to-action to start reading Navigation Integration: - Add Bookmarks to main navigation menu (authenticated users only) - Add Bookmarks to user profile dropdown menu - Dynamic navigation based on authentication state Bible Page Enhancements: - URL parameter support for bookmark navigation (book, chapter, verse) - Verse highlighting when navigating from bookmarks - Auto-clear highlight after 3 seconds for better UX API Endpoints: - /api/bookmarks/all - Unified endpoint for all user bookmarks - Returns transformed data optimized for frontend consumption Multilingual Support: - Full Romanian and English translations - Consistent messaging across all bookmark interfaces 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"bible": "Bible",
|
||||
"prayers": "Prayers",
|
||||
"search": "Search",
|
||||
"bookmarks": "Bookmarks",
|
||||
"profile": "Profile",
|
||||
"settings": "Settings",
|
||||
"logout": "Logout",
|
||||
@@ -271,6 +272,24 @@
|
||||
"en": "English"
|
||||
}
|
||||
},
|
||||
"bookmarks": {
|
||||
"title": "My Bookmarks",
|
||||
"subtitle": "Your saved verses and chapters",
|
||||
"totalBookmarks": "Total bookmarks",
|
||||
"chapterBookmarks": "Saved chapters",
|
||||
"verseBookmarks": "Saved verses",
|
||||
"allBookmarks": "All",
|
||||
"chapters": "Chapters",
|
||||
"verses": "Verses",
|
||||
"chapter": "Chapter",
|
||||
"verse": "Verse",
|
||||
"noBookmarks": "You don't have any bookmarks yet",
|
||||
"noBookmarksDescription": "Start reading the Bible and save your favorite chapters or verses",
|
||||
"startReading": "Start reading",
|
||||
"goTo": "Go to",
|
||||
"authRequired": "You must be authenticated",
|
||||
"loadError": "Error loading bookmarks"
|
||||
},
|
||||
"common": {
|
||||
"loading": "Loading...",
|
||||
"error": "An error occurred",
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"bible": "Biblia",
|
||||
"prayers": "Rugăciuni",
|
||||
"search": "Căutare",
|
||||
"bookmarks": "Bookmark-uri",
|
||||
"profile": "Profil",
|
||||
"settings": "Setări",
|
||||
"logout": "Deconectare",
|
||||
@@ -271,6 +272,24 @@
|
||||
"en": "English"
|
||||
}
|
||||
},
|
||||
"bookmarks": {
|
||||
"title": "Bookmark-urile mele",
|
||||
"subtitle": "Versetele și capitolele tale salvate",
|
||||
"totalBookmarks": "Total bookmark-uri",
|
||||
"chapterBookmarks": "Capitole salvate",
|
||||
"verseBookmarks": "Versete salvate",
|
||||
"allBookmarks": "Toate",
|
||||
"chapters": "Capitole",
|
||||
"verses": "Versete",
|
||||
"chapter": "Capitol",
|
||||
"verse": "Verset",
|
||||
"noBookmarks": "Nu ai încă bookmark-uri",
|
||||
"noBookmarksDescription": "Începe să citești Biblia și salvează capitolele sau versetele tale preferate",
|
||||
"startReading": "Începe să citești",
|
||||
"goTo": "Mergi la",
|
||||
"authRequired": "Trebuie să fii autentificat",
|
||||
"loadError": "Eroare la încărcarea bookmark-urilor"
|
||||
},
|
||||
"common": {
|
||||
"loading": "Se încarcă...",
|
||||
"error": "A apărut o eroare",
|
||||
|
||||
Reference in New Issue
Block a user