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.

Creating data for highlight article

Creating data for highlight article

So what we've done now is we created the blueprint for how the different components within our block article should look like. This is what we've done. Now we actually need to fill it with data. So I want to have everything in a situation that from the front end, when we're actually starting to write code, we can code every single component without having to go back and forth between Strapi and the code. So in order for us to do this, we're going to now use the highlight article and going to start filling in our components. We have all four components here. If you compare that with the design, you're going to notice that we didn't put the intro component in the dynamic zone. And the reason for that is because the dynamic zone only is responsible for rendering or for creating our article content, right? Everything that happens after this, because all the other information we actually already have from before. So this here is for example the excerpt, this is the title, the author and…

Contents