-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: Restructure 'contents' directory and update routing #16
Conversation
e36a544
to
d3d8b86
Compare
d3d8b86
to
682906d
Compare
682906d
to
6e1a2e8
Compare
6e1a2e8
to
f236d2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
almost good!
) | ||
|
||
return <TopCards posts={sortedPosts.slice(0, 14)} lang={lang} /> | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nits: Since the lang is only en
or ja
, it looks good to generateStaticParams
and make it SSG.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks to your comments, I was able to convert everything from a partially SSR state to fully SSG. 😄
feat: Add generateStaticParams for lang params
Before | After |
---|---|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks 😄
Summary
I have modified the directory structure under the 'contents' folder and updated the routing to enable multilingual support for the site.
Related Issue
Changes
feat: Restructure contents/posts directory for i18n support
Modify the directory structure under contents/posts to support multiple languages.
feat: Update page paths for i18n site deployment
I have implemented the routing to handle the following list of paths.
Testing
Other Information