✨ feat: add static books section#263
Merged
lwinmoepaing merged 4 commits intomyanmar-software-engineers:mainfrom Mar 23, 2026
Merged
✨ feat: add static books section#263lwinmoepaing merged 4 commits intomyanmar-software-engineers:mainfrom
lwinmoepaing merged 4 commits intomyanmar-software-engineers:mainfrom
Conversation
Member
|
Could you add these as optional fields? If they are provided, please display them in the UI. No need to make it too fancy basic functionality is enough.
|
2 tasks
Contributor
Author
Member
|
Btw, you’ll need to pull from the latest main branch. |
Contributor
Author
lwinmoepaing
approved these changes
Mar 23, 2026
Member
lwinmoepaing
left a comment
There was a problem hiding this comment.
Looks ready to ship 🚀 Great work!
8f3d07a
into
myanmar-software-engineers:main
2 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


✨ Add Static Books Directory #257
Summary
Implements a fully static
/booksroute backed by Contentlayer MDX entries,following the same contributor workflow used by profiles.
Changes
contentlayer.config.tswith a newBookdocument typecontent/books/*.mdxas the content source/src/app/books/page.tsxas a static list pagetitle,authorName, andlinkas required frontmatter fieldstitle/booksto navbar and footer navigationmessages/en.jsonandmessages/mm.jsonType of Change
Contributor Contract
New books can be added by creating an MDX file in
content/books/:For repo-hosted files, place the file in
public/books/and referenceit as
/books/filename.pdfin thelinkfield.Checklist
bun run buildpasses with no errors/booksrenders all entries correctlyenandmmlocale strings resolve correctly/profileand/blogroutes are unaffectedScreen.Recording.2026-03-22.211101.mp4