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.

Render individual event page based off Strapi data

Render individual event page based off Strapi data - Next.js Tutorial

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

Render individual event page based off Strapi data

As you can tell, this component, the sign up form component, is probably the most complex in the whole app. We're probably going to do at least this video but maybe even another video on the whole structure because what we still have to do is we have to pass in everything correctly and we also then have to adjust the data we're actually sending to Strapi depending on the camp id here as well. So we'll still be doing quite a bit of more work. Now the first thing and one of the simpler things is we need to create the infotext here as a React markdown component. Why are we not doing that inside of our signup form? Well the reason is because we still have our overall events page right here, right? We still have this and this here we don't want to pass in React markdown. This is already perfect as it is. So basically our signup form is going to take the infotext however it is, whether it's already in, or it expects it to be already in the right format, whether that is running through a…

Contents