From the course: React: Authentication (2021)

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Creating a verification landing page

Creating a verification landing page - React.js Tutorial

From the course: React: Authentication (2021)

Creating a verification landing page

- [Instructor] Okay, so now we've come to the final piece of our puzzle. We just need to add a landing page to our front end that the user's verification email link will send them to. So here's what that's going to look like. Let's go into our front-end and then under pages, we're going to add a new page and we'll call that page EmailVerificationLandingPage.js. All right, and in addition to that page, we're also going to create two other things that will be displaying inside this page. We're basically just going to create two components, one that will display if the verification was successful and the other that will display if it wasn't. So we're going to create two more files in here. The first one we'll call EmailVerificationSucsess.js. And then we'll create another one that's EmailVerificationFail.js. Okay, so in our EmailVerificationLandingPage, here's what that's going to look like. We're going to start off by…

Contents