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.

Blog section homepage JSX

Blog section homepage JSX

So, what we have left to do to completely finish off the blog page is now this last blog preview here on the main page. Now, when looking at it, we could think maybe we can integrate this also with the Featured Items component that we already created, but there's actually so many small differences that it's a bit too annoying to make that its own component. If you want to, you can obviously try doing that yourself, but we'll be creating a new block preview component for this one. A few of the differences obviously in the layouting here, right, so that the first row has to have first a highlight article as the bigger article and then the other one smaller to the side. But then you also have small stuff here like the item not having a background color for the text, the border radius of the images, the headline is centered, all of that stuff you could probably do through styling in SAS, but it's also just going be a good exercise for us to again read data in and then display it on the…

Contents