Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add chapters #228

Merged
merged 4 commits into from
Aug 25, 2024
Merged

Add chapters #228

merged 4 commits into from
Aug 25, 2024

Conversation

binamkayastha
Copy link
Member

@binamkayastha binamkayastha commented Aug 25, 2024

Adds chapters and fixes header

CleanShot 2024-08-25 at 06 50 26@2x
CleanShot 2024-08-25 at 06 50 58@2x

For the header, made it so the logo shrinks proportionally instead of being squished, and on small devices the links move below the header
CleanShot 2024-08-25 at 06 51 22@2x

For Flashcards, only show First Words section for now for all languages.
This code needs to be refactored to remove generator. The generator code
was not good because it made the useEffect non-idempotent. So getting
all words is much cleaner and there is no large downside. It's we'll
likely never need to worry about performance for getAllWords because the
wordlist is small and split by Chapter anyways.
Copy link

cloudflare-workers-and-pages bot commented Aug 25, 2024

Deploying nepalingo with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1fc3fd7
Status: ✅  Deploy successful!
Preview URL: https://65d3b404.nepalingo.pages.dev
Branch Preview URL: https://add-chapters.nepalingo.pages.dev

View logs

@binamkayastha
Copy link
Member Author

Merging without review because of time constraints, if anyone has comments, happy to follow up with another PR.

@binamkayastha binamkayastha merged commit cb8a8a4 into main Aug 25, 2024
2 checks passed
@binamkayastha binamkayastha deleted the add-chapters branch August 25, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant