Closed babblebey closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
jargons-dev | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 24, 2024 0:29am |
This Pull Request implement the Dictionary browse page; a page intended to link to all dictionary word. It implements the "Alphabetical" word browsing logic (to start with, maybe we can categorize some more 🤔). It also implemented the alphabetic route that holds a list of words starting with the requested alphabet and pagination for this list of words.
Changes Made
ALPHABETS
value toconstants
which obviously carries a list of all alphabets a-z[alpha]/[page]
which builds to a pagination-enabled routes for words filtered by their initial letter/browse
page, which integrates theALPHABETS
constant to create a button that links to individual route specific to words starting with each alphabetsbrowse words
link that links to the/browse
page as fallback when no recent searches is found in localhost - I still haven't exactly figured which position to place this link to the browse page immediately yet 🤕$addToRecentSearches
logic from thesearch
island to theword.astro
layout to enable addition of words to recent searches when a word is viewed - the current set-up only allows adding words to recent searches when a word is opened through the search bar search resultsreferer
) so as to integrate in Navbar return nav to allow easy return to previous page, this is particularly useful for returning user to the/browse
page from word layout if user opened word from their - the current setup only returns a user to the homepageScreencast/Screenshot
screencast-bpconcjcammlapcogcnnelfmaeghhagj-2024.04.24-12_41_08.webm
Alphabets with no words
📖