-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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(v2): bootstrap blog post page and card #2584
Conversation
Deploy preview for docusaurus-2 ready! Built with commit 6dba676 |
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.
This is in the right direction! Please refer to the comments.
packages/docusaurus-init/templates/bootstrap/docusaurus.config.js
Outdated
Show resolved
Hide resolved
packages/docusaurus-theme-bootstrap/src/theme/BlogListCard/index.js
Outdated
Show resolved
Hide resolved
packages/docusaurus-theme-bootstrap/src/theme/BlogPostCard/index.js
Outdated
Show resolved
Hide resolved
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.
This is awesome, thank you :D
Motivation
I'm starting to develop the blog components and since the more isolated part is the post summary, I decided that this is the first component.
DISCLAIMER: You'll notice that the obtaining of data is a copy-paste from classic theme, this is the starter, in a near future, i'll move this to a custom hook, probably. If you have a better idea, lmk.
Have you read the Contributing Guidelines on pull requests?
👍
Test Plan
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)