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.
Create dynamic zone in Strapi for customizable blog content - Next.js Tutorial
From the course: The Freelance Stack: Real Project with Next.js and Strapi
Create dynamic zone in Strapi for customizable blog content
Awesome, where we stand right now is we have the data coming into this individual blog article page. We also already finished the blog page and one thing that we haven't done yet is started with this blog section over here, but we'll do that right after we finish this individual section over here. So one thing though that before we start hitting into or we start going into creating these components from Strapi, what I would like to do is actually just make sure that our data will not grow stale because so far we actually haven't done a revalidation in here so we're just going to go export cons revalidate and we're going to set this to like i don't know 300 seconds it doesn't matter too much for now but just make sure that you do this because otherwise this uh this data will only be fetched when you build the website and not actually when users are still using them right so this way continuously your data will be updated. Same goes here, we're making sure that every 300 seconds…
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)
-
-