⚡ Dynamic Portfolio Website built with Next.js, Chakra UI and Contentful!
MIT License
I've decided to open-source my latest portfolio website! it has dynamic content management to add projects and posts using Contentful CMS, and was built using Next.js and Chakra UI.
Refer to Next.js and Chakra UI documentation to learn more.
Feel free to fork this repository to make your own portfolio, and if you liked the repo, kindly support it by giving it a star ⭐!
Create an .env.local
and follow the variable name based on .env.example
and get the API Keys based on the steps below
📌 In this portfolio website, it has 5 Content type which is:
1. BlogPostsAfter the ⚡2.0.0 update, I use Github Issues as blog content! More details about this on: https://abdulrahman.id/blog/unleash-your-dev-blog-write-more-with-github-issues-as-your-cms
- FeaturedProjects
- Projects
- Introduction
- ContactMe
You must add this exact name since it's the ID that's used in the code.
Add the content type according to these fields:
Go to settings -> API Keys -> Content Delivery / Preview tokens -> "Your space name" copy the Space ID and Content Delivery API access token
Put it into the environment variables according to .env.example
and you're all set!
Install the dependencies with npm i
or yarn
Start the project by npm run dev
or yarn dev
You can deploy easily by using Vercel 🎉
pages/index.js
= Homepage
pages/projects/index.js
= Projects archive page
pages/blog/index.js
= Blog listings page
pages/blog/[slug].js
= Blog post page
pages/api/views
= API to fetch blog post views from Firebase