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:
andupetcu
2025-09-21 01:29:46 +03:00
parent 1b43b4e1e3
commit 686f498300
12 changed files with 31800 additions and 30905 deletions

View File

@@ -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",