With our head our complete next we're going to start working on our home page so we can close out the
header.
Also close out the app J.S. because we already have imported the error page within our router.
So let's find these pages folder and then let's look for the error.
As far as imports we're just gonna have one because again if we're going to check out the finished project
we noticed that we had our link.
So I'd want to set up a link that navigates back to homepage.
The reason why we're going to import again a link component from reactor down and we're just going to
have a simple text as well as a link displayed as a button.
The way it works is we're going to go with import.
Again let me close the sidebar first and then I'm gonna go with a link component that is coming from
react rude or dumb and then let's set up our return.
So what is gonna be our turn.
Well it's definitely not gonna be a simple hiring one.
We're going to have first a section for the section we're gonna have the class just so we have some
styling so class names and in fact there's gonna be two class names so error hyphen page and the second
one is a section and then also we're gonna have a day off with the class of our container.
So error Taner and then within the container we're just gonna have one with some kind of text again
in my case I'm going to go with loops and I'm gonna say it's a dead end.
So and then I would like to display also my like I'm gonna add some styling that's the reason why it's
gonna look like a button.
So again we had a line component then we had a two prop and then we just need to decide where we would
want our user to navigate.
So if we want our user to navigate the rampage which is going to have a forward slash if we want to
navigate to a different page make sure that the string that we pass in within it to match is whatever
you had for the path.
So 40 about you would just have forward slash and about as a text for the length.
I'm gonna say back home and like I said we would want to add some classes just so we have some styling
and the classes are gonna be beaten and beat and primary and there you go.
If we're going to head over to our error page again Let's type in Hello.
We have ups.
It's a dead end and now we can always navigate back on.