Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,130 --> 00:00:07,900
OK and let's get working on finishing up the About Us page which will also finish up this section.
2
00:00:07,930 --> 00:00:10,040
So let's get through this.
3
00:00:10,040 --> 00:00:16,350
And you remember if we resize this page down things start to break pretty quickly.
4
00:00:16,460 --> 00:00:18,380
So just get us right to where.
5
00:00:18,390 --> 00:00:21,220
Medium break POINT starts right here.
6
00:00:21,230 --> 00:00:24,380
Things are already pretty broken.
7
00:00:24,380 --> 00:00:28,460
Kind of the whole thing and as soon as we get a little bit farther it really starts to get messed up.
8
00:00:28,820 --> 00:00:35,330
So let's start adding some styles here and we'll begin by coming up and exiting out of our theme and
9
00:00:35,390 --> 00:00:43,040
then we'll come over to the about J.S. and underneath the avatar import let's import the U.S. media
10
00:00:43,220 --> 00:00:54,480
query hook from material dash UI slash core slash use media query then we can come under our theme and
11
00:00:54,480 --> 00:01:04,060
create the constant of matches medium equal to our use media query hook calls with theme dot break points
12
00:01:04,320 --> 00:01:14,710
down for medium then we can scroll down in on the row container for our history section the history
13
00:01:14,710 --> 00:01:22,510
and this icon underneath the class name let's go ahead and set the direction here to a ternary statement.
14
00:01:22,510 --> 00:01:23,780
Checking our matches.
15
00:01:23,800 --> 00:01:25,540
Medium value.
16
00:01:25,540 --> 00:01:29,170
And if that's true let's go with the column direction.
17
00:01:29,200 --> 00:01:37,170
Otherwise we'll leave the direction of row so if we go ahead and save that now we'll see the page refresh.
18
00:01:37,250 --> 00:01:42,660
And that doesn't look too much better although it actually is this is a step in the right direction.
19
00:01:42,800 --> 00:01:50,150
So we need to go ahead and now add in a line items and we'll check the matches matches medium because
20
00:01:50,150 --> 00:01:52,890
we only want to do this if we're in this layout.
21
00:01:53,140 --> 00:01:55,580
But if we are here let's center it up.
22
00:01:55,940 --> 00:01:58,950
Otherwise leave it undefined so we won't mess with it.
23
00:01:59,000 --> 00:02:01,910
And if we save this we'll see the content jump again.
24
00:02:01,970 --> 00:02:06,600
And now they are both perfectly centered within our screen.
25
00:02:06,690 --> 00:02:08,940
We need to get this text centered though.
26
00:02:09,090 --> 00:02:16,770
So on the history typography component let's go ahead and add in the line here which will be a ternary
27
00:02:16,770 --> 00:02:20,790
statement again and checking the matches medium breakpoint.
28
00:02:20,790 --> 00:02:23,700
And if that's true or set it to center.
29
00:02:23,880 --> 00:02:26,670
Otherwise undefined and we can go ahead.
30
00:02:26,730 --> 00:02:37,100
Copy that online property and pasted on to all of these body paragraphs as well get this last one and
31
00:02:37,100 --> 00:02:39,730
then we can save this and we'll see all this text.
32
00:02:39,740 --> 00:02:47,670
Now jumps to being center aligned let's keep scrolling down here and we see the this design.
33
00:02:47,670 --> 00:02:49,280
This breaks pretty quickly.
34
00:02:49,350 --> 00:02:59,400
So let's go ahead and we'll find the grid item container that is wrapping all of these last three sections
35
00:02:59,400 --> 00:03:01,850
the yearbooks the text and the puppy.
36
00:03:01,860 --> 00:03:05,150
So this grid item container right here.
37
00:03:05,160 --> 00:03:11,740
Let's go ahead and add a justify checking our matches medium breakpoint.
38
00:03:11,880 --> 00:03:14,880
And if that's true let's go ahead and center all of these up.
39
00:03:14,910 --> 00:03:17,540
Otherwise leave it on defined.
40
00:03:17,640 --> 00:03:23,360
And then if we save that we'll see the page refresh and our text is now centered.
41
00:03:23,460 --> 00:03:31,590
But we still need to work on those containers for the puppy and the yearbook so let's go ahead and on
42
00:03:31,650 --> 00:03:32,550
the grid.
43
00:03:32,580 --> 00:03:35,510
Item container direction column wrapping.
44
00:03:35,520 --> 00:03:37,410
The yearbook section.
45
00:03:37,410 --> 00:03:42,900
Since this is a container that is why they justify property here is not affecting it.
46
00:03:42,900 --> 00:03:47,470
Same thing with the item container for the puppy section.
47
00:03:47,490 --> 00:03:52,830
So instead what we're going to do is on these container direction columns.
48
00:03:52,830 --> 00:04:00,120
Let's add in a line items with the matches median ternary statement centering if that's true.
49
00:04:00,150 --> 00:04:05,090
Otherwise undefined and then we can go ahead and copy this property.
50
00:04:05,100 --> 00:04:12,750
We'll go ahead and copy it onto the last item container for the puppy section but here it already has
51
00:04:12,750 --> 00:04:14,930
the align items of flex end.
52
00:04:15,090 --> 00:04:19,160
So go ahead and paste this in and then change undefined to flex.
53
00:04:19,290 --> 00:04:21,380
And so it'll still have that correct.
54
00:04:21,390 --> 00:04:24,870
Right alignment when we are above this breakpoint.
55
00:04:24,900 --> 00:04:29,760
So let's go ahead and save this now and both of those should jump into the middle of the screen which
56
00:04:29,760 --> 00:04:31,990
we do indeed see.
57
00:04:32,180 --> 00:04:32,490
All right.
58
00:04:32,520 --> 00:04:34,810
Now all of this is pretty cramped together.
59
00:04:34,810 --> 00:04:37,780
It's literally all stacked right on top of one another.
60
00:04:37,800 --> 00:04:42,450
So let's go in and start adding some spacing now and we'll start with the mission statement getting
61
00:04:42,450 --> 00:04:44,190
some spacing from the title.
62
00:04:44,340 --> 00:04:49,700
So we'll come up and on the grid item container wrapping our mission statement.
63
00:04:49,920 --> 00:04:55,870
Let's give this a style margin top of three M we can save that.
64
00:04:56,310 --> 00:04:57,010
We'll see.
65
00:04:57,030 --> 00:04:59,820
Now we've got some spacing there that looks good.
66
00:04:59,820 --> 00:05:06,930
And now we can use the history row container as a buffer by adding some space to the top and bottom
67
00:05:06,930 --> 00:05:07,260
of it.
68
00:05:07,320 --> 00:05:18,180
So here on the D row container wrapping our history section let's add a style margin top of 10 m and
69
00:05:18,180 --> 00:05:21,530
a margin bottom of 10 m as well.
70
00:05:21,600 --> 00:05:31,160
So let's save that and we can see some spacing now has appeared above and below the history item Leslie.
71
00:05:31,160 --> 00:05:38,780
Let's come down and on this last container with the yearbook text and the puppy we definitely don't
72
00:05:38,780 --> 00:05:41,740
want this pressed right up against the text right there.
73
00:05:41,780 --> 00:05:52,400
So we'll scroll down and find this last row container and here we're going to add a style of a margin
74
00:05:52,460 --> 00:05:59,210
bottom 15 m and actually this isn't going to affect the spacing here because we're going to change how
75
00:05:59,210 --> 00:06:04,880
we need to set this up but we want to go ahead and add a margin to the bottom of this container so that
76
00:06:04,880 --> 00:06:07,170
the footer is not pressed right against the content.
77
00:06:07,340 --> 00:06:14,850
So if we save this that margin bottom 15 m that gives us a nice bit of spacing underneath here.
78
00:06:14,860 --> 00:06:22,710
Now if you take a look at this and you see how we have the team and my picture but then here on this
79
00:06:22,730 --> 00:06:28,840
smaller screen size you also have the yearbook picture just stacked right next under it and then you
80
00:06:28,840 --> 00:06:33,550
have the text and then this picture and I really don't think that that looks the best.
81
00:06:33,550 --> 00:06:38,620
I think that it looks good here when they have space to share the space they think this makes sense
82
00:06:39,070 --> 00:06:44,350
but when we're down here I don't think it makes sense to have these two pictures right next to each
83
00:06:44,350 --> 00:06:44,680
other.
84
00:06:45,040 --> 00:06:51,400
So what I want to do is actually when we're at this break point I want this paragraph to be up above
85
00:06:51,400 --> 00:06:59,300
the yearbook and right underneath the avatar instead we can do this pretty easily with the hidden component.
86
00:06:59,300 --> 00:07:07,700
So let's go up to the top of the file and underneath use media query let's import hidden from material
87
00:07:07,850 --> 00:07:11,200
dash UI slash core slash hidden.
88
00:07:11,270 --> 00:07:16,990
And now we can come down to where we have the little bio these two paragraphs.
89
00:07:17,000 --> 00:07:23,270
So these two typography components wrapped with the grid item we're going to go ahead let's cut that
90
00:07:23,270 --> 00:07:31,910
grid item and let's put instead here a hidden M deep down and we'll open this up and paste that grid
91
00:07:31,940 --> 00:07:33,410
item inside.
92
00:07:33,440 --> 00:07:33,830
All right.
93
00:07:33,830 --> 00:07:36,500
And so this grid item is going to be hidden.
94
00:07:36,590 --> 00:07:39,380
If we are below the medium breakpoint.
95
00:07:39,380 --> 00:07:42,590
So if we save this now we'll see the page refresh.
96
00:07:42,590 --> 00:07:44,920
And that text disappears completely.
97
00:07:44,930 --> 00:07:47,820
See if we're above the medium breakpoint we have the text.
98
00:07:47,960 --> 00:07:50,600
But once we get here bam it's gone.
99
00:07:50,600 --> 00:07:57,080
So now what I'd like to do is let's go ahead and copy that hidden component and we'll come up and above
100
00:07:57,140 --> 00:08:00,710
this grid item container direction of column.
101
00:08:00,710 --> 00:08:08,030
So above the year book wrapping container paste that hidden component in and change the M.D. down too
102
00:08:08,060 --> 00:08:10,280
large and up.
103
00:08:10,310 --> 00:08:16,250
So this will be hidden if we're at the larger screens but only medium breakpoints and down it will be
104
00:08:16,250 --> 00:08:16,850
visible.
105
00:08:16,850 --> 00:08:23,630
So if I save this now that text will reappear underneath our image but we can go and up on the larger
106
00:08:23,630 --> 00:08:28,950
screen size you see it disappears and is below in between those two items again.
107
00:08:29,060 --> 00:08:30,070
But we can.
108
00:08:30,360 --> 00:08:31,040
Bam.
109
00:08:31,100 --> 00:08:33,290
And now it jumps to being on top.
110
00:08:33,410 --> 00:08:38,810
And I think that that creates a much better layout and will then make it look a little bit better with
111
00:08:38,810 --> 00:08:45,350
the two images below let's clean this up a little and we don't want these two images pressed right against
112
00:08:45,350 --> 00:08:45,830
each other.
113
00:08:46,160 --> 00:08:52,970
So now we can find the yearbook container with a direction of column and let's add a style here with
114
00:08:52,970 --> 00:08:57,050
a margin bottle and we'll set this to a ternary statement.
115
00:08:57,050 --> 00:08:58,680
Checking the matches.
116
00:08:58,700 --> 00:08:59,800
Medium.
117
00:08:59,800 --> 00:09:01,810
Medium break point setting.
118
00:09:01,820 --> 00:09:03,750
Two point five m.
119
00:09:03,770 --> 00:09:10,430
If that is true and otherwise when we're at the regular horizontal layout of the desktop screen or just
120
00:09:10,430 --> 00:09:16,070
zero that out and leave it without a margin so we'll save this now and the yearbook will have a little
121
00:09:16,070 --> 00:09:20,080
bit of space in between it which just makes these two pictures look a lot better.
122
00:09:21,540 --> 00:09:21,840
All right.
123
00:09:21,870 --> 00:09:23,240
And we're close to done.
124
00:09:23,340 --> 00:09:27,530
Let's go and shrink this down even further into our smallest size.
125
00:09:27,540 --> 00:09:29,630
And this is where we always have problems.
126
00:09:29,680 --> 00:09:31,360
You could see it right off the bat.
127
00:09:31,440 --> 00:09:38,670
We automatically are history that's causing some horizontal scrolling and our founder image is actually
128
00:09:38,670 --> 00:09:40,150
too large as well.
129
00:09:40,230 --> 00:09:43,970
So we're going to need to say a max width on both of those.
130
00:09:43,980 --> 00:09:48,730
So it's come up and actually in the top of our file where we have the avatar style.
131
00:09:48,990 --> 00:09:50,600
Let's give it a theme.
132
00:09:50,670 --> 00:09:56,650
Dot bright points dot down and we'll call this for the small breakpoint.
133
00:09:56,750 --> 00:10:04,560
And once we hit these small breakpoint let's give it a height of just 20 m and a width of just 20 m
134
00:10:04,620 --> 00:10:05,490
as well.
135
00:10:05,490 --> 00:10:09,510
And it looks like it is a problem because instead of braces I did brackets.
136
00:10:09,510 --> 00:10:13,580
So put in the braces that we need.
137
00:10:13,590 --> 00:10:14,460
There we go.
138
00:10:14,460 --> 00:10:26,340
But then let's also set a max height max height of 300 pixels and a max width width of 300 pixels as
139
00:10:26,340 --> 00:10:26,780
well.
140
00:10:26,790 --> 00:10:30,540
So this will make sure that they're responsive but never too large.
141
00:10:30,540 --> 00:10:36,810
So we can save that and the page will refresh and you can see our avatar image has adjusted properly
142
00:10:38,230 --> 00:10:41,740
now let's go ahead and set the max width for our history image.
143
00:10:41,740 --> 00:10:49,710
So scroll down until we find our history image and we already have a max height here of 22 m.
144
00:10:50,140 --> 00:10:53,500
But let's go ahead and set this to a ternary statement.
145
00:10:53,530 --> 00:11:01,020
And if we're on the matches medium break point let's set this to just 200 pixels.
146
00:11:01,060 --> 00:11:05,310
Otherwise leave the twenty two m all right.
147
00:11:05,330 --> 00:11:12,540
We'll save that page will refresh and our history icon is now much better size as well.
148
00:11:13,450 --> 00:11:15,930
Now these images that here they look good.
149
00:11:15,940 --> 00:11:21,130
They look like they're not causing a problem because we're not on too small of a screen size but if
150
00:11:21,130 --> 00:11:28,020
we open this up let's actually go to our inspector and let's click this little button right here.
151
00:11:28,030 --> 00:11:29,830
So see you right next to elements.
152
00:11:29,830 --> 00:11:33,200
If we hover over this that says toggle device toolbar.
153
00:11:33,300 --> 00:11:34,880
If we go ahead and click that.
154
00:11:34,930 --> 00:11:40,350
This is going to simulate Google Chrome running on a different device browsers.
155
00:11:40,370 --> 00:11:40,770
OK.
156
00:11:40,780 --> 00:11:48,130
So this is an iPad but we can come up to the top and select the Galaxy S5 and this is generally going
157
00:11:48,130 --> 00:11:51,430
to be the smallest screen size that you will encounter.
158
00:11:51,460 --> 00:11:58,340
And if we scroll down you'll see ban those images they are taking up way too much space and they're
159
00:11:58,360 --> 00:12:00,510
causing us some problems.
160
00:12:00,520 --> 00:12:06,970
So we always need to make sure to come in and check this simulator to make sure our designs are actually
161
00:12:06,970 --> 00:12:09,790
working on all the different screen sizes.
162
00:12:09,850 --> 00:12:11,890
So go ahead and fix that.
163
00:12:11,920 --> 00:12:18,930
Let's go and scroll down to our yearbook image and we'll add a style max width.
164
00:12:19,000 --> 00:12:21,040
And here will check the matches.
165
00:12:21,250 --> 00:12:26,170
Medium value and if that's true we'll set it to 300.
166
00:12:26,200 --> 00:12:33,010
Otherwise leave it on defined and let's go ahead and we can copy this style and we will copy that and
167
00:12:33,010 --> 00:12:36,000
paste it onto the puppy image as well.
168
00:12:36,160 --> 00:12:42,490
We can save that and our page will refresh here and you can see the horizontal scrolling is now gone.
169
00:12:42,580 --> 00:12:48,130
And as we scroll down you can see that everything is now correctly centered because those images are
170
00:12:48,130 --> 00:12:52,210
taking up an appropriate amount of space and not ruining the layout.
171
00:12:52,210 --> 00:12:53,530
So this looks really good.
172
00:12:53,530 --> 00:12:55,800
This is a great tool to mess around with.
173
00:12:55,840 --> 00:13:02,500
You can also put the device in a landscape mode and you can see that you can test out a design on this
174
00:13:02,500 --> 00:13:09,430
as well where it should still look perfect since nowhere are we actually telling the Web site whether
175
00:13:09,430 --> 00:13:11,510
or not we're in portrait or landscape.
176
00:13:11,620 --> 00:13:16,570
But we've done such a good job at just telling it to take up the correct amount of space depending on
177
00:13:16,570 --> 00:13:17,880
what is available there.
178
00:13:17,930 --> 00:13:19,900
It can adjust regardless.
179
00:13:19,900 --> 00:13:25,410
So that's really the benefit of true responsive design in my opinion.
180
00:13:25,430 --> 00:13:27,250
We only have two us things to do.
181
00:13:27,350 --> 00:13:33,250
First is this title about us that needs to be centered when we're at these smaller screen sizes obviously.
182
00:13:33,290 --> 00:13:36,120
So let's break this down once we get there.
183
00:13:36,160 --> 00:13:42,590
It needs to be center to still scroll up and here on our typography variant H2 for about us.
184
00:13:42,590 --> 00:13:46,250
Let's add in a line here of matches medium.
185
00:13:46,370 --> 00:13:47,360
And if that's true.
186
00:13:47,360 --> 00:13:48,770
Set it to center.
187
00:13:48,770 --> 00:13:51,710
Otherwise undefined you can save that.
188
00:13:51,950 --> 00:13:58,530
And now our title jumps into the center of the screen just like the rest of our content on net pick
189
00:13:58,530 --> 00:14:01,490
one little thing to actually when we're down here.
190
00:14:01,590 --> 00:14:03,270
See the spacing up above.
191
00:14:03,270 --> 00:14:07,930
We usually have that to M. border and then let's check the matches.
192
00:14:07,950 --> 00:14:11,740
Medium break point and if we're here remember let's set it to just 1 m.
193
00:14:11,760 --> 00:14:13,060
That looks a little bit better.
194
00:14:13,110 --> 00:14:16,200
Let's say that you can see just a little bit closer.
195
00:14:16,260 --> 00:14:17,310
Small difference.
196
00:14:17,310 --> 00:14:23,760
I think it looks nice let's finish this up super quick underneath the puppy import.
197
00:14:23,770 --> 00:14:33,820
We will import our call to action from our dot slash UI slash call to action and then scroll down all
198
00:14:33,820 --> 00:14:34,270
the way.
199
00:14:35,050 --> 00:14:36,830
And then this last grid item.
200
00:14:36,850 --> 00:14:45,790
Let's have the grid item wrapping our call to action with the set value equal to our props does set
201
00:14:45,790 --> 00:14:48,000
value closer off.
202
00:14:48,040 --> 00:14:49,270
And now it's come up.
203
00:14:49,330 --> 00:14:54,810
We need to import or take the props as input to our function.
204
00:14:55,240 --> 00:14:56,270
Hit save.
205
00:14:56,350 --> 00:14:58,000
Let the page refresh.
206
00:14:58,000 --> 00:15:05,040
And now we can scroll down to see the call to action that we're very familiar with and know that not
207
00:15:05,040 --> 00:15:11,400
only did we finish this page we just created another perfectly responsive page with a very interesting
208
00:15:11,400 --> 00:15:18,600
layout that looks so good on literally every possible screen size we're just maintaining such a great
209
00:15:18,870 --> 00:15:20,520
layout and alignment.
210
00:15:20,580 --> 00:15:25,530
I really couldn't have asked for this to turn out better in my opinion especially considering that I
211
00:15:25,530 --> 00:15:29,300
didn't design this website with material UI in mind at all.
212
00:15:29,340 --> 00:15:35,670
I just completely created something from scratch and a material UI has been able to handle it flawlessly
213
00:15:37,140 --> 00:15:39,350
but not only did we just finish this page.
214
00:15:39,450 --> 00:15:46,500
We also just wrapped up this section and we knocked out so much content in this section we we created
215
00:15:46,500 --> 00:15:52,980
probably more than we will in any of the rest of the sections but so much was just able to be crammed
216
00:15:52,980 --> 00:15:57,870
into this and we were able to move really quickly because we've already learned so much about material
217
00:15:57,870 --> 00:16:04,230
UI and hopefully this just really nailed in all the concepts that we've been going over all of the different
218
00:16:04,230 --> 00:16:10,260
alignments and properties and how you can purposefully switch them to just create literally any kind
219
00:16:10,260 --> 00:16:11,790
of layout that you can imagine.
220
00:16:12,000 --> 00:16:18,450
And it really has just gone to show us how flexible this is creating our services page we're able to
221
00:16:18,450 --> 00:16:25,810
create custom software development page where we have four animations all in a very cool alignment and
222
00:16:25,820 --> 00:16:32,790
it's all so nicely responsive sharing the right amount of screen space jumping when it needs to to allocate
223
00:16:32,820 --> 00:16:39,750
a better layout and it just does such a great job I feel like of really making a great user experience
224
00:16:40,050 --> 00:16:44,220
no matter what device the user is coming to the application on.
225
00:16:44,220 --> 00:16:46,290
So that's really something I value.
226
00:16:46,380 --> 00:16:53,160
We can go over to the IRS and Android app development section website development page back to the services
227
00:16:53,460 --> 00:16:54,860
the revolution.
228
00:16:54,940 --> 00:16:57,280
All these nice process steps.
229
00:16:57,480 --> 00:16:59,030
And finally the about us.
230
00:16:59,070 --> 00:17:04,590
I can't believe we just knocked all this out in one section so you can see how quickly you'll be able
231
00:17:04,590 --> 00:17:10,080
to really start working with stuff once you get really familiar with material UI and you get good at
232
00:17:10,080 --> 00:17:10,700
this.
233
00:17:10,770 --> 00:17:15,240
You know if you were just working on your own project and somebody hands you a design file you could
234
00:17:15,240 --> 00:17:20,760
take all of the designs from that file and put it into your theme automatically.
235
00:17:20,760 --> 00:17:27,570
Now that you know like the caption and the subtitle one subtitled two body one body two and all the
236
00:17:27,570 --> 00:17:34,200
different H forms H 3s and H 2s that we've messed with you create all those right off the bat and you
237
00:17:34,200 --> 00:17:39,600
could see that it's really easy once you figure out how to structure your grid to just go in and put
238
00:17:39,600 --> 00:17:45,540
all the content on the page and once it's there it's pretty easy to start using the responsive design
239
00:17:45,540 --> 00:17:51,890
system and the grid system to get everything exactly where you want it how you want it.
240
00:17:51,970 --> 00:17:56,600
We only have two pages on our site to complete from here.
241
00:17:56,650 --> 00:18:02,620
We only have the contact us page and the Free Estimate page and these are both going to be pretty interesting
242
00:18:02,620 --> 00:18:07,820
pages to create I think and it will start learning a lot of new information.
243
00:18:07,840 --> 00:18:12,940
We'll talk about Google Cloud functions soon and how we're gonna be using that to actually send emails
244
00:18:12,940 --> 00:18:13,420
out.
245
00:18:13,660 --> 00:18:18,370
So that's going to be really cool and we'll start getting into all this in the next few sections.
246
00:18:18,430 --> 00:18:20,870
So stick around and I'll see you there.
25341
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.