Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,390 --> 00:00:03,720
Hello, welcome back, Becky, then your lecture the previous one.
2
00:00:03,780 --> 00:00:10,320
May I finish the implementation of Star Icona in this lecture, I'll start talking about the concept
3
00:00:10,320 --> 00:00:12,420
of multiple pages and the holding.
4
00:00:13,860 --> 00:00:19,830
OK, so what we are going to do is to create more pages, as you can see in enough, but we have links
5
00:00:19,830 --> 00:00:23,670
to about page if you page log in page and register page.
6
00:00:23,940 --> 00:00:31,740
But we don't have these pages, so let's get it back to our code and let's create these pages.
7
00:00:32,690 --> 00:00:37,310
OK, I can close everything here, close everything, all right, and then we'll take a look what we
8
00:00:37,310 --> 00:00:38,030
currently have.
9
00:00:39,080 --> 00:00:44,830
I view that component is currently responsible to render out everything exchange of about exchange hero
10
00:00:44,840 --> 00:00:47,030
exchange list acted pagination.
11
00:00:48,260 --> 00:00:51,140
So all these components will be part also of other pages.
12
00:00:51,140 --> 00:00:56,730
Some of them will be not, but are able to view is not our page.
13
00:00:56,760 --> 00:01:00,370
Apple TV is currently as a component that we are displaying in our.
14
00:01:00,380 --> 00:01:05,810
We are entering everything, but we have through the main DOGE's in the up conceptually.
15
00:01:07,070 --> 00:01:09,080
We don't we are not thinking about this as a page.
16
00:01:09,410 --> 00:01:15,200
So what I'm going to create will be Pages folder, but that are basically everything that I have here.
17
00:01:15,440 --> 00:01:22,640
I will import into these pages folder that I will create my home page because that's what we are displaying.
18
00:01:22,640 --> 00:01:24,380
Here will be my home page.
19
00:01:26,030 --> 00:01:26,570
OK.
20
00:01:27,440 --> 00:01:33,170
So sorry for that, we are going to create a new folder and they are going to create we are going to
21
00:01:33,170 --> 00:01:34,700
create Pages folder.
22
00:01:36,210 --> 00:01:40,050
Badges for all their lives in the Pages folder, I believe create our pages.
23
00:01:40,620 --> 00:01:45,060
OK, so in our pages, I will create in your file and first page will be home page.
24
00:01:45,060 --> 00:01:46,860
So we'll call it home dot view.
25
00:01:48,770 --> 00:01:49,350
OK.
26
00:01:49,400 --> 00:01:50,660
Let's go to Apple Dhabi.
27
00:01:51,200 --> 00:01:58,970
Everything, so control a selected copy, and let's go to home to the view and base it here is exactly
28
00:01:58,970 --> 00:02:01,220
the same component with everything will be had.
29
00:02:01,490 --> 00:02:03,970
The name of this will be need to specify the names.
30
00:02:03,980 --> 00:02:04,760
We can remove it.
31
00:02:05,780 --> 00:02:08,720
And apart of that, it's the exact same component.
32
00:02:10,190 --> 00:02:14,690
But now we have problem because that update view is the same, that the first thing.
33
00:02:14,720 --> 00:02:16,640
So we are going to clean it up.
34
00:02:16,650 --> 00:02:23,570
Let's clean the entire template, create a template, clean all of the imports, just leave empty,
35
00:02:23,930 --> 00:02:27,740
scraped or actually, let's leave it as an empty export the folder name.
36
00:02:28,550 --> 00:02:30,590
OK, so just remove everything here.
37
00:02:33,150 --> 00:02:40,060
Like this, or does an empty export default, let's remove all of the imports here and this Dowling's,
38
00:02:40,060 --> 00:02:41,440
by the way, guys, this all state.
39
00:02:41,650 --> 00:02:44,110
This applies overall to all of my components.
40
00:02:44,350 --> 00:02:47,710
So upload, we will be responsible for displaying all of the styling here.
41
00:02:49,360 --> 00:02:52,420
OK, so just leave it like this empty template you could just brought here deep.
42
00:02:52,430 --> 00:02:56,830
So it is not complaining about anything like this.
43
00:02:56,980 --> 00:02:57,430
If you're.
44
00:02:58,910 --> 00:02:59,280
OK.
45
00:02:59,300 --> 00:03:00,920
Let's go to you for a second.
46
00:03:01,250 --> 00:03:05,330
As you can see, we are specifying two styles here, so there is no reason in a home video to display
47
00:03:05,330 --> 00:03:06,890
the styling, so scroll down.
48
00:03:08,750 --> 00:03:10,010
And remember with.
49
00:03:11,630 --> 00:03:12,590
OK, perfect.
50
00:03:13,650 --> 00:03:17,970
So we have a home to view, but is this playing only home related components and we have an empty Abdul
51
00:03:17,970 --> 00:03:18,330
The View?
52
00:03:18,540 --> 00:03:23,220
So what we need to do now, we need to import here a home to the view page and we need to provide it
53
00:03:23,370 --> 00:03:27,000
here into the template and we need to register it into the component.
54
00:03:27,660 --> 00:03:28,170
All right.
55
00:03:28,170 --> 00:03:32,030
So in our script, let's name Paul here home page.
56
00:03:32,040 --> 00:03:39,840
And that's what the import import home page from Korea and upload views.
57
00:03:39,850 --> 00:03:47,820
So we are going to the dots to the pages for their and import their home value components, components
58
00:03:47,820 --> 00:03:50,280
and the largest error here so we can use it home page.
59
00:03:52,090 --> 00:03:54,170
OK, I will be right here in a difficult can.
60
00:03:55,000 --> 00:04:01,480
Home page can be set up close like it is perfect, so our viewers responsible for displaying home page
61
00:04:02,260 --> 00:04:05,770
go back to home and I would like to verify also if the imports here are correct.
62
00:04:06,010 --> 00:04:07,390
You can see the import data.
63
00:04:08,300 --> 00:04:13,060
The Exchange Bar Exchange Euro exchange rates are not correct now because currently the owner page is
64
00:04:13,060 --> 00:04:13,570
full there.
65
00:04:14,230 --> 00:04:18,880
So being able to navigate from the components folder from this one, we need to provide here.
66
00:04:18,930 --> 00:04:23,380
Dot Dot Dot Dot Slash means we would like to go outside of the folder.
67
00:04:24,520 --> 00:04:24,930
OK.
68
00:04:25,780 --> 00:04:30,730
So whenever I think it's light, I mean, I want to go outside of the Pages folder, then I want to
69
00:04:30,730 --> 00:04:34,270
go to the Components folder and I want to import particular file.
70
00:04:35,920 --> 00:04:37,900
OK, now it should be fine and you will save it.
71
00:04:38,410 --> 00:04:42,220
Now, I think first of all, I guess before we could just move to one component to another.
72
00:04:42,460 --> 00:04:47,080
And now we are just referencing it here in our Abdal view, in our home page.
73
00:04:47,620 --> 00:04:48,400
OK, let's save it.
74
00:04:50,250 --> 00:04:55,290
Let's refresh, and as you can see, everything is working again, a console, no issues at all here.
75
00:04:55,320 --> 00:04:55,800
Perfect.
76
00:04:58,010 --> 00:05:03,090
OK, now let's try to create multiple pages, the creative pages for basically for everything.
77
00:05:03,110 --> 00:05:08,950
We will create a pages for thank you for a login for register and that it will be very simple pages,
78
00:05:08,960 --> 00:05:09,250
guys.
79
00:05:09,260 --> 00:05:12,920
It will be not anything difficult, just simply empty template.
80
00:05:13,190 --> 00:05:14,360
OK, so let's do it.
81
00:05:15,240 --> 00:05:20,560
Go to your file here and we'll create all of the other pages so we have here in your file.
82
00:05:20,570 --> 00:05:27,810
And it will create about, though the view that you have a fake you page on your file, fake, you know,
83
00:05:27,830 --> 00:05:28,250
the view.
84
00:05:28,850 --> 00:05:31,550
And then we have a login page and registers a new file.
85
00:05:32,500 --> 00:05:40,300
It will be a log in dot view, and then we will have a new page and it will be a register dot view as
86
00:05:40,300 --> 00:05:48,710
a template for now, just start in about what value template like this template template ending tag
87
00:05:48,730 --> 00:05:52,090
and it'll be just a diff with the class of the container.
88
00:05:53,110 --> 00:05:58,960
So the project class will be contained there and it will display in the class.
89
00:05:59,230 --> 00:06:06,610
I am about Page Ellacott template and I will get it to all of my other pages, so we'll go to fake your
90
00:06:06,610 --> 00:06:07,420
pasted here.
91
00:06:07,700 --> 00:06:09,670
Alright, here I am, fake you.
92
00:06:10,510 --> 00:06:13,060
Although I have to go to the home homepage only to hand handle log in.
93
00:06:14,050 --> 00:06:18,610
I am a log in Page Elago to register or paste it here.
94
00:06:18,610 --> 00:06:21,220
Over there I am a registered page.
95
00:06:23,940 --> 00:06:29,400
So, guys, now we have all of this pages, right, so he can go to a couple of you.
96
00:06:30,120 --> 00:06:35,220
And the thing is when we need to when you want to display them, we just simply need to get rid of the
97
00:06:35,220 --> 00:06:39,630
home page and we need to just simply had to go to your particular page you would like to import.
98
00:06:40,950 --> 00:06:46,100
That's not a good solution, but let's try it out so we can see at least of the earliest and a lot of
99
00:06:46,110 --> 00:06:46,650
pages.
100
00:06:46,980 --> 00:06:49,350
So, for example, let's try our fake you page.
101
00:06:50,360 --> 00:06:54,440
I will import here if you page from pages.
102
00:06:55,790 --> 00:07:01,700
From the fake, you already started here in the components of coma here, and let's right here.
103
00:07:02,090 --> 00:07:03,080
If a Q page.
104
00:07:04,640 --> 00:07:08,580
And simply provided here effective.
105
00:07:08,780 --> 00:07:12,610
But now I'm just playing the two pages at the same time, and that's not good.
106
00:07:12,710 --> 00:07:13,640
I will go back here.
107
00:07:14,030 --> 00:07:14,930
I will have here.
108
00:07:14,940 --> 00:07:15,650
I don't even know.
109
00:07:15,650 --> 00:07:16,880
Here is my about page.
110
00:07:16,880 --> 00:07:19,250
You can sit down here if I you.
111
00:07:19,590 --> 00:07:20,750
Actually, it would be.
112
00:07:20,750 --> 00:07:22,550
Actually, I think Hubert doesn't really matter.
113
00:07:23,300 --> 00:07:24,910
The important part of that is played.
114
00:07:25,610 --> 00:07:33,410
So what is the problem now is that the out of the gate really handling and the routing homepage should
115
00:07:33,410 --> 00:07:35,920
be displayed whenever they are in their home.
116
00:07:35,930 --> 00:07:42,140
You are also just on edge http localhost eight thousand eighty, which will display home page and whenever
117
00:07:42,140 --> 00:07:50,630
I am on the hour, coming to Dallas for a second and also this and this, and whenever I am on the locals,
118
00:07:50,630 --> 00:07:52,270
it doesn't air these fake.
119
00:07:52,280 --> 00:07:53,780
You'll fake you page.
120
00:07:55,230 --> 00:07:59,550
OK, so there should be some conditional functionality, and we'll be checking for us, all of you.
121
00:07:59,580 --> 00:08:04,860
You are all of you are currently on and depending on the URL display, either home page or display.
122
00:08:05,010 --> 00:08:05,940
Thank you page, right?
123
00:08:05,950 --> 00:08:09,450
So basically depending on the routing.
124
00:08:11,140 --> 00:08:17,470
OK, so if you have a localhost eight thousand area, because by the ending eight out, we have an eight
125
00:08:17,470 --> 00:08:17,710
out.
126
00:08:18,910 --> 00:08:24,040
8000 A.D. and slash and empty slash will display.
127
00:08:25,750 --> 00:08:26,410
Homepage.
128
00:08:28,370 --> 00:08:31,760
Well, we are on the slash.
129
00:08:32,690 --> 00:08:35,840
I think you saw basically the same thing the.
130
00:08:37,120 --> 00:08:37,780
Slash.
131
00:08:39,350 --> 00:08:43,250
If they kill, then we are going to.
132
00:08:44,960 --> 00:08:57,290
AFAIK, your page and we are going to aid the 80s less about now we are going to about page.
133
00:08:57,920 --> 00:08:59,600
So there should be some conditional.
134
00:09:00,580 --> 00:09:07,780
They will be checking our URLs, and depending on the URLs, they will be providing the correct component.
135
00:09:08,230 --> 00:09:10,540
In this case, if a Cuban.
136
00:09:10,600 --> 00:09:10,930
Right.
137
00:09:12,340 --> 00:09:18,130
And you're going to be handling this manually, guys by ourselves with too much work, well, they are
138
00:09:18,130 --> 00:09:21,370
going to use we will use the already established package for it.
139
00:09:21,910 --> 00:09:24,910
So please, now let's review the changes as you had them.
140
00:09:24,910 --> 00:09:26,050
Does this play your home page?
141
00:09:26,320 --> 00:09:29,980
Let's remember that if a cure was removed from here, just leave here.
142
00:09:30,190 --> 00:09:32,590
Empty home page, somebody will go to your page.
143
00:09:32,590 --> 00:09:36,790
Now the application you are displaying, your home doesn't matter on you at all.
144
00:09:36,790 --> 00:09:39,070
Currently, you are all in an executor.
145
00:09:39,430 --> 00:09:42,100
You will include this package and we'll handle it here.
146
00:09:42,160 --> 00:09:44,500
Normal routing So I have to see that a guys cheers.
13913
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.