And our first step is going to be doing some housecleaning because at the moment in the address, we
have what we have dashboard.
Correct.
So we'll check this.
So we have a dashboard coming from the pages and we also render it here as a component.
But since we'll be setting up a nested page layout, what we want to do is follow.
So we want to the dashboard.
Yes, we want to delete the current page.
We want to fix the imports.
And we want to replace the dashboard component in the home road with just a simple drive.
So that's going to be the starting point.
Then we want to create a dashboard directory in the pages and then we want to add all of these files,
add job all jobs, profile stats, shared layout and index charts and set up basic returns just like
we have in the components, for example.
And then as far as the return, well, just some kind of heading one.
We had dummy text and then I want to export all of them within next year.
That's why we create over here and then import all of them in address.
So.
Let's start working on that.
And I think I'm going to start in the address where I want to remove the dashboard, so I'm not going
to import from the pages.
There's going to be a different setup.
And I also don't want to render my component right now.
I want to go with Div and then there and let's say we're here, dashboard dashboard.
Let's save this and let me just double check because usually I make some kind of dumb typo and then
I run around like headless chicken and it looks like everything's correct.
So I see my dashboard.
Awesome.
So I didn't break any of my current functionality, which is always a good start.
Then in the pages, in the index, I don't want a dashboard anymore.
So I have a different structure.
We're not using it.
And in the pages, I also want to read more.
So there's no more dashboard than we want to create a new one.
And then this is really up to you.
If you want to go with capital cash, you can.
And my cash, I'll simply go with a dashboard.
And then let's create those pages and start with add job.
So add job jobs.
And let's go and underscore and then let's create the component.
Like I said, I'm going to go here with heading one.
And I don't think I'm going to copy and paste because usually I set up the wrong returns.
So I just say, add job and then page.
Let's say that.
And then we want to create four more, I believe one two three four five meaning index.
Jareth also accounts, so let's go here with index just right away.
So I don't forget that I want to do the same thing with all and then jobs.
Just then we want to go with profile.
Jess also a stats.
So all of these will be nested inside of our dashboard and then very important one shared layout.
So this is where we'll set up our neighbors and give those pages a certain structure.
Because again, if you navigate to a complete project, you'll notice that essentially we're just changing
this part.
This one stays the same and we accomplish that.
We have that shared layout.
So let's go within the dashboard once a shared and a layout jazz.
All right, so that's an awesome start.
Now let's just add our returns here, so let's go with our component.
We're looking for all jobs, so let's show us around everyone.
And let's say all jobs and that.
All right.
Brand profile.
Same deal.
Let's set it up, let's say component here.
And then this will be hitting one.
And we're going to go with profile and page beautiful that we have that same deal starts and then adding
one and then stats page.
And lastly, we want to do the same thing in the shared layout, underscore and online component.
And then let's go here with I mean, in this case, you know, let's leave it as a div because it's
going to be a little bit different.
So let me just dive shed layout in there and then we want to go to index jazz and one by one, let's
grab them and import them.
So let me start with add job.
I import here and then right away, I set up my export.
Same deal is going to be with all jobs, so it's more or less well known.
Then we also have what we have profile here.
So profile and I will move down.
Add a.
When we have stats.
Start over here, then move down at a coma, and then we have shared and layouts, a shared layout,
and then let's move this sucker down and place it in our export as well.
And with this in place now, let me take all of them.
Then navigate to AMP Jess.
And this is not going to be coming from the pages.
We're going to go here with import, copy and paste.
And now what we're looking for is the dashboard one.
So we go to the pages and then inside of the pages, we want to go with dashboard.
Remember, we have indexed, so we don't need to provide a more specific path.
This should do it.
And once we have the general set up in place now, we can start slowly setting up the nested structure.