At this moment, when we found out it was indeed a USA and without going to the log in page.
So what we are going to do is do some conditional rendering.
So when the user has been locked in yet, it will go to the inpatient automatically.
So we back to the home and first we are going to import the redirect.
And since we do not need to use the length, we can replace these with redirect.
And then we go down to the.
We're entering and right before render that we are going to attack the.
There is no yuzu and we will return direct to the law in Page.
So now you can see it will go to the login page and if we log in, we use it, we will go back to the
homepage.
And I think this is better to add a lot in tabs on the top of the page and also sign up at the same
page.
So we back to the log in and.
Go to the first and then we type head and then we type.
And then we go to a site up and we do the same thing and under the rope we tie up.
Now you can see sign up and also log in and so what we are going to do now is we also want to render
the Alberton brand we already saw in and only around the inside button where we already locked out so
we can go to the layout folder and then we create two new components.
One is the side in menu and the other is inside out menu.
Now we are going to extract the owling so we have base and then we paste in Cairene Mannu, what we
are going to do is if the user already site in Beirutis Alberton, but you will see there is a problem
that we do not have the URL function.
So we will pass this later.
So we are going to the structure, the problem to get out.
And we are going to cut these two stuff and then paste to the side our menu, and since you just have
one component at a time, one element.
So we have to use a fragment and then cut this and paste inside these frontmen.
So now we back to the FBI and in court these two components.
So now we in court decide in venue from the site in Manfield and depict this and change this to Syed.
Old man menu, and then after our functions are going to create a brand new echo to if they use it,
then we are going to dissipate a side in menu because the user already locked in.
So we have to use so we will display their side in menu.
And if you remember, this has a lot of information.
So we are going to post a lot O functions to this component.
And if there's no user here, we are going to render the thighed our menu.
So now we can delete this and then we put the manual here and also under the northerlies, we are going
to put the manual.
So now at this stage, you can see we already locked out.
So this just has to lock in and sign up buttons and even where to be using the full screen.
So we try to log in and now you can see we just have to lock up a tent.
And if we lower the size of the browser, you also just see the lock out buttons.
So now we try to log out and see where it can go to the log in page.
So where we lock out, it will go to the log in page.