Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,140 --> 00:00:07,650
Now we can start going in and changing some of the styling here because we definitely still have a lot
2
00:00:07,650 --> 00:00:08,460
to do.
3
00:00:09,440 --> 00:00:12,950
And first off I'd like to give us a little more spacing here.
4
00:00:12,980 --> 00:00:18,830
You see how the vision section and the revolution title these are actually sitting right next to each
5
00:00:18,830 --> 00:00:22,700
other as well as the technology section and the vision section.
6
00:00:22,700 --> 00:00:24,910
These are also sitting very close.
7
00:00:25,010 --> 00:00:28,180
So I'd like to go in and start adding some spacing here.
8
00:00:28,310 --> 00:00:36,510
So if we scroll up to the top we can find the vision row container series technology.
9
00:00:36,740 --> 00:00:37,700
So here's vision.
10
00:00:37,700 --> 00:00:40,600
And here is the row container wrapping it.
11
00:00:40,670 --> 00:00:49,640
And we can just give this a style of a margin top five m and then we'll scroll down to the technology
12
00:00:49,640 --> 00:01:00,170
section and on its row container here will add a style of margin top 10 m and a margin bottom of 10
13
00:01:00,200 --> 00:01:01,350
m as well.
14
00:01:01,430 --> 00:01:09,300
And we can save this now and we will see that now we have some more spacing here on this page we can
15
00:01:09,300 --> 00:01:15,090
go ahead now and start taking look at how the page responds when we start to resize it.
16
00:01:15,270 --> 00:01:21,270
And you can see here that our image it shrinks down the text to make size for it all the way until the
17
00:01:21,270 --> 00:01:22,730
medium break point.
18
00:01:22,740 --> 00:01:24,260
So I actually like that.
19
00:01:24,270 --> 00:01:25,680
I think that looks good.
20
00:01:25,680 --> 00:01:32,130
But once we get here and then down to the smaller sizes this is obviously going to cause some issues.
21
00:01:32,130 --> 00:01:38,800
And you can actually see here how the image is actually so large it's causing some horizontal scrolling.
22
00:01:38,910 --> 00:01:46,200
So let's go ahead and we can size this up a little bit and I'm going to start off by coming up to the
23
00:01:46,200 --> 00:01:55,170
top of our file and underneath the typography import let's import our use media query query function
24
00:01:55,530 --> 00:02:03,930
from material UI core use media query and then we'll come down underneath our theme and add a constant
25
00:02:04,020 --> 00:02:14,190
of matches small equals use media query theme dot breakpoints dot down for small and I'll actually go
26
00:02:14,190 --> 00:02:22,050
ahead and create a constant of matches medium as well with the use media query hook calling theme dot
27
00:02:22,050 --> 00:02:26,730
breakpoints dot down for medium.
28
00:02:26,860 --> 00:02:31,660
Now we can come down in on our image for the vision icon.
29
00:02:31,760 --> 00:02:36,320
Let's change the max width from 40 m to a ternary statement.
30
00:02:36,370 --> 00:02:43,900
Checking the matches small variable and if we're at these small breakpoint let's give it a max width
31
00:02:43,930 --> 00:02:46,030
of just 300 pixels.
32
00:02:46,120 --> 00:02:52,880
Otherwise leave the default of 40 M and I know that I'm combining pixels and M right there but the 300
33
00:02:53,010 --> 00:03:00,040
it comes from the fixed value that I need for smaller screen sizes and putting in that fixed value just
34
00:03:00,040 --> 00:03:03,350
guarantees compatibility on those smaller screen sizes.
35
00:03:03,460 --> 00:03:08,050
I probably could have found an M value that worked but I'd already had that value so I just kind of
36
00:03:08,050 --> 00:03:08,860
went with it.
37
00:03:08,920 --> 00:03:14,860
But we can save this now and we'll see the page refresh and our icon is much smaller.
38
00:03:14,860 --> 00:03:19,960
But for the smaller screen sizes it actually it will look much more appropriate.
39
00:03:19,990 --> 00:03:25,330
It's just a little hard to tell because my screen is so big it may look a little disproportionate but
40
00:03:25,540 --> 00:03:30,340
that's why we have the larger version all the way until we get to the smaller screen size.
41
00:03:30,340 --> 00:03:37,170
And at this point it will actually look more proportional let's start getting some of this stuff centered
42
00:03:37,180 --> 00:03:44,680
up though like with the title we can give it an online property which is set to return every statement
43
00:03:44,710 --> 00:03:50,660
checking our matches medium prop and if we're here let's set it to center.
44
00:03:50,770 --> 00:03:54,610
Otherwise we can leave it undefined so we can save that.
45
00:03:54,730 --> 00:04:00,850
And now our title is going to jump over to the center of the screen but now we need to get the icon
46
00:04:00,880 --> 00:04:03,040
and everything else in line as well.
47
00:04:03,040 --> 00:04:11,050
So on the row container for the vision section let's change the direction of a row here to a ternary
48
00:04:11,050 --> 00:04:11,680
statement.
49
00:04:11,770 --> 00:04:19,300
Checking the matches medium variable and if that's true we'll change to a direction now of column like
50
00:04:19,300 --> 00:04:21,510
we normally do for mobile layouts.
51
00:04:21,640 --> 00:04:28,750
Otherwise lead the default of row and we can actually copy this property and come down to the row container
52
00:04:28,900 --> 00:04:35,530
for the technology section and it will replace that direction of row with these same matches medium
53
00:04:35,590 --> 00:04:41,260
ternary statement and if we save this now we'll see the page jump and our content is in the middle of
54
00:04:41,260 --> 00:04:47,870
the screen you can see it's not perfectly centered though you can see our image is definitely off center
55
00:04:48,260 --> 00:04:55,280
and that's actually because on the vision image we have a marginal right of 5 m.
56
00:04:55,340 --> 00:04:59,170
So what we need to do is go ahead and change that to a ternary statement.
57
00:04:59,210 --> 00:05:00,570
Checking the matches.
58
00:05:00,650 --> 00:05:02,210
Medium value.
59
00:05:02,210 --> 00:05:05,090
And if that's true we'll zero out the margin.
60
00:05:05,090 --> 00:05:07,760
Otherwise leave the border that we had before.
61
00:05:07,820 --> 00:05:14,420
So we can save that and our icon will now jump to the actual center of the screen.
62
00:05:14,550 --> 00:05:16,730
Go ahead and add a new style here though.
63
00:05:16,980 --> 00:05:21,780
Because when we are stacked like this instead of a margin on the right to keep us away from the text
64
00:05:22,260 --> 00:05:26,110
we need a margin on the bottom to give us some space from the text.
65
00:05:26,130 --> 00:05:31,450
So let's say a margin bottom of matches medium.
66
00:05:31,620 --> 00:05:35,970
And if that is true we'll give it a value of 5 m.
67
00:05:36,090 --> 00:05:38,040
Otherwise we'll leave it at 0.
68
00:05:38,280 --> 00:05:45,720
So we can save that and you'll see that now we have some more space underneath our icon you can go ahead
69
00:05:45,750 --> 00:05:53,220
and get all of our text centered up now as well by changing our online property on all of these typography
70
00:05:53,220 --> 00:06:00,390
components to center or actually a ternary statement making sure we're at the correct breakpoint and
71
00:06:00,390 --> 00:06:01,800
then setting it to center.
72
00:06:01,800 --> 00:06:09,220
Otherwise leaving whatever the default was will actually go through and we'll add that property to all
73
00:06:09,220 --> 00:06:14,920
of the typography components including the ones for the text in the process sections.
74
00:06:14,950 --> 00:06:20,390
So let's go ahead and here for the vision where it has a line of right.
75
00:06:20,470 --> 00:06:23,260
Let's change this to a ternary statement.
76
00:06:23,260 --> 00:06:25,680
Checks are matches medium.
77
00:06:25,770 --> 00:06:30,510
And if that is true then we will set a center line.
78
00:06:30,550 --> 00:06:33,810
Otherwise we can leave the default of right.
79
00:06:33,830 --> 00:06:36,030
So I actually need to get rid of that.
80
00:06:36,040 --> 00:06:36,760
There we go.
81
00:06:36,760 --> 00:06:43,290
And we can go ahead and copy this for all of these right aligned typography components.
82
00:06:43,630 --> 00:06:53,920
So we'll paste in that property all of these and now we can come down to the technology section and
83
00:06:53,920 --> 00:07:00,490
paste the property as well but change the default of write to instead undefined because this is need
84
00:07:00,490 --> 00:07:04,810
to use the default of left a line so we can copy that.
85
00:07:05,050 --> 00:07:11,930
And now paste this onto all of the remaining typography components in this file.
86
00:07:12,100 --> 00:07:15,730
So we'll go through and just paste it onto all of these
87
00:07:20,550 --> 00:07:25,320
the process section already has a justify of center so we don't have to set that.
88
00:07:25,600 --> 00:07:32,250
We'll make sure you get all of these titles as well as the body one typography variance
89
00:08:19,360 --> 00:08:20,220
OK.
90
00:08:20,390 --> 00:08:21,250
Got that finished.
91
00:08:21,290 --> 00:08:24,120
So let's save the file and this will refresh.
92
00:08:24,260 --> 00:08:29,580
And now all the text on the page is going to have jumped to being center aligned.
93
00:08:29,680 --> 00:08:36,080
You can see these are nice in the center and our title is now in the center our body paragraphs still
94
00:08:36,080 --> 00:08:43,190
are not centered but the text is center aligned but it looks like we do initially have all that text
95
00:08:43,490 --> 00:08:44,150
correct.
96
00:08:44,210 --> 00:08:50,750
So let's scroll back to this consultation section or actually we'll keeps going up and I don't know
97
00:08:50,750 --> 00:08:54,590
if you can tell but it looks like it's actually a little off center here.
98
00:08:54,590 --> 00:08:58,190
We have more spacing here than we do on the right.
99
00:08:58,190 --> 00:09:08,480
So if we come up to where we are rendering our lady component let's see here in the technology section
100
00:09:08,960 --> 00:09:14,170
where we have our lady component and we're setting the justify of flex end.
101
00:09:14,640 --> 00:09:21,500
Let's change this to a ternary statement where we're checking the matches M.D. variable and if that's
102
00:09:21,500 --> 00:09:27,610
true let's center it up otherwise we'll leave the default of flex end so we can save that.
103
00:09:27,980 --> 00:09:34,660
And now you can see that the item was now scooted over into the center and is perfectly aligned now.
104
00:09:34,690 --> 00:09:40,490
So I was just like it when we can make sure that we have the perfect alignment because even if you can't
105
00:09:40,490 --> 00:09:45,500
put your finger on it when something is a little bit off aligned like that it just kind of makes it
106
00:09:45,500 --> 00:09:50,020
feel weird and we definitely don't want that.
107
00:09:50,030 --> 00:09:55,600
Now we can go ahead and make sure there are body sections is aligned with the title.
108
00:09:55,700 --> 00:09:57,720
So let's find here.
109
00:09:57,790 --> 00:10:04,460
Our consultation section and on the grid item container direction of column wrapping.
110
00:10:04,460 --> 00:10:05,510
That section.
111
00:10:05,510 --> 00:10:14,630
Well let's add in the line items property here with a matches medium ternary statement and let's sensor
112
00:10:14,630 --> 00:10:15,180
it up.
113
00:10:15,320 --> 00:10:20,270
If we are at the medium breakpoint otherwise we'll leave it on defined.
114
00:10:20,270 --> 00:10:26,510
And since this is a direction of column where the main axis is the vertical direction specifying the
115
00:10:26,510 --> 00:10:29,720
align items property will change our cross axis.
116
00:10:29,720 --> 00:10:35,510
In this case the horizontal direction and should censor our text horizontally like we want.
117
00:10:35,510 --> 00:10:40,720
So let's go ahead and save this real quick to see it on the consultation section and you can see that
118
00:10:40,720 --> 00:10:42,700
it did indeed do what we had wanted.
119
00:10:42,980 --> 00:10:48,140
So we'll go ahead and copy that and line items property and we'll go and find the container direction
120
00:10:48,140 --> 00:10:53,360
column for all the rest of these sections and we're gonna make sure that we paste that on there as well.
121
00:10:53,360 --> 00:10:56,630
So let's find the direction column from mockup
122
00:11:07,620 --> 00:11:09,760
and for iterate.
123
00:11:09,780 --> 00:11:15,480
So let's save all of that and the page will refresh and we can scroll through real quick to see all
124
00:11:15,480 --> 00:11:19,410
of our text has now correctly been centered.
125
00:11:19,500 --> 00:11:20,030
Looks great.
126
00:11:21,920 --> 00:11:22,280
All right.
127
00:11:22,280 --> 00:11:23,570
And we're almost finished.
128
00:11:23,570 --> 00:11:29,210
We're getting close but we need to actually change the way that these are being laid out because right
129
00:11:29,210 --> 00:11:32,930
now this container is still a container direction of row.
130
00:11:33,050 --> 00:11:38,900
And so it's still kind of trying to fit the text and the icon on the same line which is why it doesn't
131
00:11:38,900 --> 00:11:43,440
have enough room and it's breaking to just putting this over at the beginning of a new line.
132
00:11:43,520 --> 00:11:49,120
So let's actually go and we'll scroll back up to our consultation section.
133
00:11:49,130 --> 00:11:50,040
Here we are.
134
00:11:50,040 --> 00:11:56,440
We'll scroll back up to the consultation here in the browser and it will find the row container wrapping
135
00:11:56,450 --> 00:11:57,980
this entire section.
136
00:11:57,980 --> 00:12:03,040
And now we're going to change the direction of row here to a ternary statement.
137
00:12:03,110 --> 00:12:08,110
Changing it at the matches medium breakpoint to column.
138
00:12:08,180 --> 00:12:11,300
Otherwise leaving the row property.
139
00:12:11,300 --> 00:12:17,300
So we'll copy this and find the rest of the row containers and change their directions as well so we'll
140
00:12:17,300 --> 00:12:19,130
paste that in for mockup
141
00:12:31,170 --> 00:12:36,090
and iterate so we can save that page refresh.
142
00:12:36,120 --> 00:12:37,530
And you can see automatically.
143
00:12:37,530 --> 00:12:43,350
Now there are icon is being censored because instead of trying to force them onto the same line as if
144
00:12:43,350 --> 00:12:50,040
you were in a row by setting the direction of column it knows to just place it on its own line where
145
00:12:50,040 --> 00:12:57,150
it maintains the space properly so we can scroll down and we'll see all these images in fact actually
146
00:12:57,240 --> 00:13:01,690
look much better and are more aligned except for this one build.
147
00:13:01,810 --> 00:13:04,200
We definitely still have a problem there.
148
00:13:04,320 --> 00:13:09,590
Let's actually scroll down to our build section.
149
00:13:09,780 --> 00:13:11,010
So we did get it on there.
150
00:13:11,190 --> 00:13:14,170
But that image is definitely causing us some problems.
151
00:13:14,190 --> 00:13:17,220
So we'll have to tweak that these ones look pretty good.
152
00:13:17,220 --> 00:13:21,890
So we still just have a couple of tweaks to do on some of these images.
153
00:13:21,960 --> 00:13:28,780
So we'll scroll up and for example here the mockup this image is definitely a bit too big.
154
00:13:28,800 --> 00:13:38,610
So let's go up and we'll find the mockup image mockup image and here let's add a style of Max width
155
00:13:39,150 --> 00:13:41,550
of 1000.
156
00:13:41,700 --> 00:13:44,610
We can save that page or refresh.
157
00:13:44,610 --> 00:13:46,040
Now it's a little bit smaller.
158
00:13:46,350 --> 00:13:47,720
And then we'll scroll down.
159
00:13:47,760 --> 00:13:53,540
It's actually copy that style and we'll find the design image.
160
00:13:53,610 --> 00:13:58,710
So the image for design will paste on that style max width of a thousand.
161
00:13:58,730 --> 00:14:01,170
We can scroll down to the design section.
162
00:14:01,260 --> 00:14:02,090
Let's save this.
163
00:14:02,100 --> 00:14:07,590
Now we'll see the page refresh and that looks a little bit better but we can mess with that a second
164
00:14:07,590 --> 00:14:18,690
if we have to come down to the build section here on our image for build let's add these style of Max
165
00:14:18,690 --> 00:14:27,150
with 1000 but we'll actually change this to a ternary statement with our matches M.D. property and if
166
00:14:27,150 --> 00:14:34,740
that's true then we'll just say 700 as the max width otherwise we'll leave it at a thousand.
167
00:14:34,800 --> 00:14:35,160
All right.
168
00:14:35,250 --> 00:14:44,720
And then we can scroll down to the lunch section and we'll give this a style max width of just two hundred
169
00:14:45,060 --> 00:14:51,760
and then the maintain gets a max width of 500.
170
00:14:51,780 --> 00:15:00,890
So we can save all that the page refresh and the images look pretty good except the Domino's is still
171
00:15:00,890 --> 00:15:01,980
messed up.
172
00:15:02,230 --> 00:15:08,030
It looks like the design is still messed up and I realized that's actually because we need to come through
173
00:15:08,330 --> 00:15:10,670
and on all of these images.
174
00:15:10,670 --> 00:15:17,170
So we'll scroll back up to the consultation and on the image let's scroll up here you can see.
175
00:15:17,240 --> 00:15:22,110
Let's add a width of one hundred percent.
176
00:15:22,250 --> 00:15:28,610
And this will make sure they are images are taking up the proper space available to them.
177
00:15:28,640 --> 00:15:32,550
And so if I save this right here you'll see the image jump.
178
00:15:32,690 --> 00:15:39,980
And if I were to then resize this you see the image properly sizes itself down you can see that it grows
179
00:15:39,980 --> 00:15:40,790
right there.
180
00:15:40,800 --> 00:15:41,510
It looks good.
181
00:15:42,200 --> 00:15:46,370
But when we size it all the way up how looks definitely way too big.
182
00:15:46,370 --> 00:15:48,500
So we need to put a max width on there.
183
00:15:48,530 --> 00:15:53,370
So let's give our consultation a max width of actually just 700.
184
00:15:53,390 --> 00:15:59,210
And if we save that you'll see the page refresh and if we make this huge it no longer becomes quite
185
00:15:59,210 --> 00:16:03,960
as large but it will still shrink down appropriately and that looks great.
186
00:16:04,010 --> 00:16:11,660
So open that up and it's come and copy that width of 100 percent and we'll come down to the mockup image
187
00:16:11,870 --> 00:16:14,030
and we can paste that on there.
188
00:16:14,030 --> 00:16:14,930
We'll save that.
189
00:16:15,470 --> 00:16:17,390
You'll see the image jump.
190
00:16:17,390 --> 00:16:18,290
And again.
191
00:16:18,290 --> 00:16:26,480
Now that is being properly re sized based on the screen size to consistently give us the best view of
192
00:16:26,480 --> 00:16:27,940
the icon possible.
193
00:16:27,950 --> 00:16:29,730
So that looks really good.
194
00:16:29,780 --> 00:16:34,500
You see especially when it starts to resize right here.
195
00:16:34,590 --> 00:16:35,370
I really like that.
196
00:16:35,430 --> 00:16:39,610
It'll look good on any phone size no matter what it's trying to be viewed on.
197
00:16:39,630 --> 00:16:46,080
So let's continue down for review and we'll just go ahead and paste the width of one hundred percent
198
00:16:46,110 --> 00:16:47,600
on all of these guys now.
199
00:16:47,610 --> 00:16:51,650
So go ahead put it on design as well.
200
00:16:51,810 --> 00:16:57,570
Design and let's save this actually so you can scroll down to the design section and we'll see that
201
00:16:57,570 --> 00:17:04,680
is now slightly different size takes up good spacing here and as we continue to shrink down the image
202
00:17:04,860 --> 00:17:08,770
it looks correct and there's is no longer taking up too much space.
203
00:17:08,790 --> 00:17:10,500
We still have horizontal scrolling.
204
00:17:10,530 --> 00:17:14,010
That's because we haven't fixed our build image yet but we'll get there.
205
00:17:14,010 --> 00:17:21,770
So let's keep going and now scroll down from design to the next review image paste on the width of one
206
00:17:21,770 --> 00:17:23,180
hundred percent.
207
00:17:23,250 --> 00:17:24,900
We'll scroll down.
208
00:17:24,900 --> 00:17:28,730
Let's get our width of one hundred percent on the build icon.
209
00:17:28,740 --> 00:17:37,560
Hundred percent for the launch icon 100 percent for the maintain icon and 100 percent on our iterate
210
00:17:37,590 --> 00:17:38,150
icon.
211
00:17:38,160 --> 00:17:46,320
And if we save that now Page will jump that will refresh and all these icons will now be taking up the
212
00:17:46,320 --> 00:17:49,470
correct and responsive amount of space.
213
00:17:49,470 --> 00:17:55,800
You can see if I shrink this all the way down there is no longer any horizontal scrolling because all
214
00:17:55,800 --> 00:18:00,960
the icons are perfectly taking up the amount of space available to them.
215
00:18:01,050 --> 00:18:06,810
And since the icons are separate from the text and from the background it will never overlap or text
216
00:18:07,050 --> 00:18:09,970
or cause any sort of issues like that.
217
00:18:10,010 --> 00:18:10,830
It looks really good.
22616
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.