Closed colburncodes closed 5 months ago
This update integrates ContentLayer and MDX for managing static content, enhances UI components, and introduces new features across the blog, documentation, and pricing pages. It also updates dependencies and refactors code for better readability and maintainability.
File Pattern | Change Summary |
---|---|
contentlayer.config.js |
Configures ContentLayer with a new document type "Post". |
posts/*.mdx |
Adds new blog posts with various topics and configurations. |
src/config.ts |
Updates URL constants for different environments. |
src/core/components/.../features-card.tsx , user-header-menu.tsx , user-profile-progress.tsx |
Adjusts JSX formatting and imports, adds conditional rendering. |
src/core/components/magic-grid.tsx |
Introduces a new MagicGrid component for responsive layouts. |
src/core/layouts/layout.tsx |
Adds new navigation links in layout. |
src/pages/... |
Implements new components for blog, documentation, and pricing pages. |
src/utils/utils.ts |
Adds a new utility function for date formatting. |
package.json |
Updates and adds new dependencies. |
πβ¨πβ¨π
In the code garden, changes bloom,
Where MDX and ContentLayer loom.
New pages sprout with every commit,
A digital meadow, bit by bit.
Hop along, dear code, hop along! πΌπ°
πβ¨πβ¨π
package.json (5)
`41-41`: Added dependency `contentlayer` version `0.3.4`. This addition aligns with the PR's objective to configure content management through MDX files. --- `46-46`: Added dependency `next-contentlayer` version `0.3.4`. This addition supports the integration of `contentlayer` with Next.js, which is crucial for the blog functionality. --- `57-57`: Updated `yarn` to version `1.22.22`. Ensure that this version is compatible with other project dependencies and the development environment. --- `64-64`: Updated `@prisma/client` to version `5.12.1`. This update is important for database interactions, especially given the blog's reliance on dynamic content management. --- `80-80`: Updated `prisma` to version `5.12.1`. This update ensures that the Prisma ORM tool is up-to-date, which is critical for managing the application's data layer effectively.
Summary by CodeRabbit
New Features
MagicGrid
component for responsive grid layouts.Enhancements
FeaturesCard
component through improved formatting.Layout
component with new links such as "Features" and "Pricing".Bug Fixes
Documentation
Chores
package.json
to include new dependencies and updated versions of existing ones.