From the course: The Freelance Stack: Real Project with Next.js and Strapi

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Experience page: Reuse created hero section and infoblocks

Experience page: Reuse created hero section and infoblocks - Next.js Tutorial

From the course: The Freelance Stack: Real Project with Next.js and Strapi

Experience page: Reuse created hero section and infoblocks

Awesome, what we're going to be doing now is we'll move on to the second page, right? So right now we have the hero section, we have the info blocks on the main page, and the reason why we're moving to the next one is because the blog is quite complicated, and we want to build this section when we're actually feeding in the data into Strapi for our blog page. So first of all, we will build the second page here, which has this hero section, which we're going to do in this video, and then we're going to move on to also add the info blocks, which actually will only take a couple of minutes. So we might do all of that in this one. For us to do that, the very first thing is to create a new page. Now we have file-based routing, let me close all of this. We have file-based routing, meaning that I can now go in here and say I have another page. We want to call, or the route for this page is going to be experience like that and then in here we're just going to go page jsx okay so very similar…

Contents