1
00:00:00,810 --> 00:00:07,230
And our first step is going to be doing some housecleaning because at the moment in the address, we

2
00:00:07,230 --> 00:00:08,910
have what we have dashboard.

3
00:00:09,090 --> 00:00:09,480
Correct.

4
00:00:09,820 --> 00:00:10,890
So we'll check this.

5
00:00:11,310 --> 00:00:18,360
So we have a dashboard coming from the pages and we also render it here as a component.

6
00:00:19,050 --> 00:00:26,660
But since we'll be setting up a nested page layout, what we want to do is follow.

7
00:00:27,180 --> 00:00:29,190
So we want to the dashboard.

8
00:00:29,190 --> 00:00:31,440
Yes, we want to delete the current page.

9
00:00:31,770 --> 00:00:33,150
We want to fix the imports.

10
00:00:34,150 --> 00:00:40,240
And we want to replace the dashboard component in the home road with just a simple drive.

11
00:00:40,780 --> 00:00:42,190
So that's going to be the starting point.

12
00:00:42,650 --> 00:00:49,900
Then we want to create a dashboard directory in the pages and then we want to add all of these files,

13
00:00:50,440 --> 00:00:58,330
add job all jobs, profile stats, shared layout and index charts and set up basic returns just like

14
00:00:58,330 --> 00:01:00,340
we have in the components, for example.

15
00:01:00,700 --> 00:01:03,970
And then as far as the return, well, just some kind of heading one.

16
00:01:04,209 --> 00:01:08,620
We had dummy text and then I want to export all of them within next year.

17
00:01:08,950 --> 00:01:14,110
That's why we create over here and then import all of them in address.

18
00:01:14,440 --> 00:01:14,740
So.

19
00:01:15,610 --> 00:01:16,960
Let's start working on that.

20
00:01:17,320 --> 00:01:22,570
And I think I'm going to start in the address where I want to remove the dashboard, so I'm not going

21
00:01:22,570 --> 00:01:24,340
to import from the pages.

22
00:01:24,670 --> 00:01:26,920
There's going to be a different setup.

23
00:01:27,280 --> 00:01:30,010
And I also don't want to render my component right now.

24
00:01:30,280 --> 00:01:36,180
I want to go with Div and then there and let's say we're here, dashboard dashboard.

25
00:01:36,460 --> 00:01:41,650
Let's save this and let me just double check because usually I make some kind of dumb typo and then

26
00:01:42,070 --> 00:01:45,340
I run around like headless chicken and it looks like everything's correct.

27
00:01:45,610 --> 00:01:46,750
So I see my dashboard.

28
00:01:46,810 --> 00:01:47,260
Awesome.

29
00:01:47,710 --> 00:01:52,960
So I didn't break any of my current functionality, which is always a good start.

30
00:01:53,320 --> 00:01:57,940
Then in the pages, in the index, I don't want a dashboard anymore.

31
00:01:58,870 --> 00:02:00,550
So I have a different structure.

32
00:02:00,940 --> 00:02:01,840
We're not using it.

33
00:02:02,230 --> 00:02:04,480
And in the pages, I also want to read more.

34
00:02:04,870 --> 00:02:08,590
So there's no more dashboard than we want to create a new one.

35
00:02:08,979 --> 00:02:10,600
And then this is really up to you.

36
00:02:10,600 --> 00:02:13,030
If you want to go with capital cash, you can.

37
00:02:13,030 --> 00:02:16,150
And my cash, I'll simply go with a dashboard.

38
00:02:16,510 --> 00:02:20,950
And then let's create those pages and start with add job.

39
00:02:21,850 --> 00:02:24,820
So add job jobs.

40
00:02:25,210 --> 00:02:28,510
And let's go and underscore and then let's create the component.

41
00:02:28,840 --> 00:02:30,910
Like I said, I'm going to go here with heading one.

42
00:02:31,300 --> 00:02:35,530
And I don't think I'm going to copy and paste because usually I set up the wrong returns.

43
00:02:35,530 --> 00:02:38,740
So I just say, add job and then page.

44
00:02:39,280 --> 00:02:40,030
Let's say that.

45
00:02:40,270 --> 00:02:46,120
And then we want to create four more, I believe one two three four five meaning index.

46
00:02:46,120 --> 00:02:49,690
Jareth also accounts, so let's go here with index just right away.

47
00:02:49,690 --> 00:02:55,190
So I don't forget that I want to do the same thing with all and then jobs.

48
00:02:55,190 --> 00:02:58,090
Just then we want to go with profile.

49
00:02:58,930 --> 00:03:01,300
Jess also a stats.

50
00:03:01,690 --> 00:03:08,710
So all of these will be nested inside of our dashboard and then very important one shared layout.

51
00:03:09,340 --> 00:03:14,980
So this is where we'll set up our neighbors and give those pages a certain structure.

52
00:03:15,340 --> 00:03:21,640
Because again, if you navigate to a complete project, you'll notice that essentially we're just changing

53
00:03:21,640 --> 00:03:22,180
this part.

54
00:03:22,600 --> 00:03:25,780
This one stays the same and we accomplish that.

55
00:03:26,080 --> 00:03:27,400
We have that shared layout.

56
00:03:27,640 --> 00:03:32,620
So let's go within the dashboard once a shared and a layout jazz.

57
00:03:33,540 --> 00:03:35,250
All right, so that's an awesome start.

58
00:03:35,580 --> 00:03:40,380
Now let's just add our returns here, so let's go with our component.

59
00:03:41,040 --> 00:03:45,680
We're looking for all jobs, so let's show us around everyone.

60
00:03:45,720 --> 00:03:49,650
And let's say all jobs and that.

61
00:03:50,880 --> 00:03:51,520
All right.

62
00:03:51,640 --> 00:03:52,830
Brand profile.

63
00:03:52,890 --> 00:03:53,790
Same deal.

64
00:03:54,540 --> 00:03:57,190
Let's set it up, let's say component here.

65
00:03:57,870 --> 00:03:59,820
And then this will be hitting one.

66
00:04:00,690 --> 00:04:11,010
And we're going to go with profile and page beautiful that we have that same deal starts and then adding

67
00:04:11,010 --> 00:04:14,370
one and then stats page.

68
00:04:14,370 --> 00:04:20,399
And lastly, we want to do the same thing in the shared layout, underscore and online component.

69
00:04:21,120 --> 00:04:26,280
And then let's go here with I mean, in this case, you know, let's leave it as a div because it's

70
00:04:26,280 --> 00:04:27,210
going to be a little bit different.

71
00:04:27,450 --> 00:04:33,630
So let me just dive shed layout in there and then we want to go to index jazz and one by one, let's

72
00:04:33,630 --> 00:04:35,340
grab them and import them.

73
00:04:35,370 --> 00:04:36,960
So let me start with add job.

74
00:04:37,500 --> 00:04:40,860
I import here and then right away, I set up my export.

75
00:04:41,460 --> 00:04:45,630
Same deal is going to be with all jobs, so it's more or less well known.

76
00:04:46,200 --> 00:04:50,040
Then we also have what we have profile here.

77
00:04:50,400 --> 00:04:53,820
So profile and I will move down.

78
00:04:54,120 --> 00:04:54,390
Add a.

79
00:04:55,410 --> 00:04:56,910
When we have stats.

80
00:04:57,960 --> 00:05:05,790
Start over here, then move down at a coma, and then we have shared and layouts, a shared layout,

81
00:05:06,270 --> 00:05:12,180
and then let's move this sucker down and place it in our export as well.

82
00:05:12,360 --> 00:05:15,270
And with this in place now, let me take all of them.

83
00:05:16,000 --> 00:05:18,570
Then navigate to AMP Jess.

84
00:05:18,930 --> 00:05:21,210
And this is not going to be coming from the pages.

85
00:05:21,390 --> 00:05:24,030
We're going to go here with import, copy and paste.

86
00:05:24,300 --> 00:05:27,150
And now what we're looking for is the dashboard one.

87
00:05:27,510 --> 00:05:33,190
So we go to the pages and then inside of the pages, we want to go with dashboard.

88
00:05:33,210 --> 00:05:38,340
Remember, we have indexed, so we don't need to provide a more specific path.

89
00:05:38,670 --> 00:05:39,870
This should do it.

90
00:05:40,110 --> 00:05:47,190
And once we have the general set up in place now, we can start slowly setting up the nested structure.

