This is code of my blog
I wrote a blog post explaining this code. How I developed this blog (Next.js and notion)
This blog is really simple. Using compornents/notion/index.tsx for get data from notion, then reander at pages/index.tsx and pages/posts/[slug].tsx.
The below code which makes a portfolio with next.js and the notion is really helpful.