feat: add MDX support and blog functionality
- Updated next.config.ts to include MDX support with new page extensions. - Added dependencies for MDX in package.json. - Refactored Home component to include BlogList. - Adjusted layout and styling in Projects and Timeline components. - Implemented dynamic blog post routing with generateStaticParams and BlogPost component. - Created BlogLayout for consistent blog page structure. - Added initial blog post in MDX format. - Developed BlogList component to display a list of blog posts. - Introduced blog utility functions to read and parse MDX files.
This commit is contained in:
parent
deca6506a9
commit
35f2c41d7b
11 changed files with 431 additions and 5 deletions
|
|
@ -22,7 +22,7 @@ const projects = [
|
|||
|
||||
export default function Projects() {
|
||||
return (
|
||||
<section className="break-keep break-words w-full lg:w-1/2">
|
||||
<section className="break-keep break-words w-full lg:w-2/3 xl:w-1/2">
|
||||
<div className="space-y-8">
|
||||
{projects.map((project, idx) => (
|
||||
<div className="space-y-2" key={idx}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue