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.
Article hero section JSX - Next.js Tutorial
From the course: The Freelance Stack: Real Project with Next.js and Strapi
Article hero section JSX
Now we can finally start building the front-end for the data that I showed you here at the end of the last video What we'll do first is the info component right here at the top and For this one. You might be tempted to say well. It looks very similar to what we've built previously on the On the hero section for the cam page and the main and the starting page or experience page But there's actually so many differences that it doesn't actually make too much sense in my opinion. This font size here is differently sized We do have the date here. We have the article. We don't have the logo here at the bottom So we'll just create this as its own component right here. So how are we going to do that? Well, and also by the way, this is going to be an easing into This session because the following components might be or the next one will be a bit harder So to do that we're going to go here into our page.jsx that is for the individual article and We're going to take away the article headline…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Create dynamic zone in Strapi for customizable blog content14m 6s
-
(Locked)
Creating data for highlight article8m 28s
-
(Locked)
Article hero section JSX5m 45s
-
(Locked)
Styling: Article hero section5m 26s
-
(Locked)
Article intro component JSX8m 40s
-
(Locked)
Styling: Article intro component5m 29s
-
(Locked)
Generic article component to render different component depending on Strapi data9m 14s
-
(Locked)
Article headline JSX3m 15s
-
(Locked)
Styling: Article headline1m
-
(Locked)
Text with image component JSX15m 9s
-
(Locked)
Styling: Text with image component5m 48s
-
(Locked)
Article paragraph JSX2m 23s
-
(Locked)
Styling: Article paragraph1m 6s
-
(Locked)
Image component JSX3m 49s
-
(Locked)
Styling: Image component2m 20s
-
(Locked)
Other articles section on individual blog page3m 17s
-
(Locked)
Blog section homepage JSX13m 11s
-
(Locked)
Styling: Blog section homepage8m 52s
-
(Locked)
Fix article item for featured items on homepage1m 18s
-
(Locked)
-
-