And just so we have some kind of sense of accomplishment.
Why don't we shut up?
Are a bridge.
So if I navigate to an area, this is what I would want to display for or for.
Sorry, the page you tried cannot be found.
And, of course, some kind of link where we can navigate back somewhere on this, guys, we can navigate
back home.
But if we haven't logged, then then we're kicking back user to a log.
How does that work?
Well, may open up of these sidebar.
We need to navigate to arrogates in the pages.
So we have pages directory there.
We have our address.
Now, let me close the sidebar for the time being.
I think I can close the read me as well as APJ.
Yes.
And then instead of this heading to that, we're returning now.
I'd want to use my wrapper, which is, of course, my stock component.
Essentially, I have all the styles.
And let me remove my adding to right now.
Like I said, I'm going to have my wrapper and then inside of the wrapper.
I'm going to have some kind of div on line, having one with a value of four or four.
Then having three with a text off sorry, the page.
And let me add comma, the page you tried cannot be found.
Beautiful online.
We need to have a link.
So for timing, let's just say it.
Let's see what we're going to get.
OK.
We have four or four.
Sorry, the page you tried cannot be found and now we need to have that link.
That just allows us to navigate user somewhere.
And in order to use that link, we need to import a link from the reactor our down.
Notice how again, it is a named import and it's just looking for a two prop.
So right below the heading three, let's place a link component.
And then the prop that you're looking for is to add that in this too.
We're just saying where you would want to navigate.
And of course, it only makes sense if we add one of the routes that we set up.
So, again, let me now get back to AB just a moment.
What do we have?
We have a forward slash and we have the log.
So this is up to you where you'd want to kick back the user.
So in my case, I'm going to kick it back to a homepage.
However, if the user hasn't logged, then eventually we will set this up as a private route.
Not at the moment.
But eventually we will.
Which just means that even though we're kicking back the user to our homepage, even the user hasn't
logged in.
We will kick him back even further to a logging page.
But at this point, it's just a homepage.
So I have my link component that I have a two prop and I'm just saying where I would want to navigate
my user.
And since I would want to add a little bit of styling, I'm going to use one of my global classes.
So this is not coming from my sports component.
This is coming from my index.
Yes.
That's where I have my global glasses.
And I'm just going to say class and name and button as far as the text.
We're going to say back home server.
And of course, we have.
So now you'll notice that if you are currently in the.
Hello, what's your click?
We are going to navigate back home.
And of course, there is.
Now we're back in the dashboard page.