Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,220 --> 00:00:08,260
Like I've said in the last two videos the rest of this page is just going to be this same sort of structure
2
00:00:08,500 --> 00:00:11,550
repeated for a couple of different icons.
3
00:00:11,620 --> 00:00:18,170
So let's go ahead and we're going to copy this entire grid item the row.
4
00:00:18,310 --> 00:00:21,850
We're going to copy that and let's paste that again.
5
00:00:21,880 --> 00:00:30,040
And now we can change the title to the e commerce section and the image to the e commerce image that
6
00:00:30,040 --> 00:00:31,180
we had imported.
7
00:00:31,180 --> 00:00:42,530
And then we can remove that margin left and we'll change the alt to world outline made of dollar signs.
8
00:00:42,650 --> 00:00:49,100
Let's go and open the design file real quick and we can come over to the Commerce section and let's
9
00:00:49,100 --> 00:00:59,840
grab these two sentences and we'll put them typography and we can copy that typography component paste
10
00:00:59,840 --> 00:01:08,690
that again and then and copy in our second sentence and then let's add the paragraph prop to both of
11
00:01:08,690 --> 00:01:18,000
these typography components her graph and now we can hide the design file save the page.
12
00:01:18,090 --> 00:01:25,600
And once this reloads you can see our new section let's move it over to the right end of the screen
13
00:01:25,630 --> 00:01:28,570
where I had wanted it and so on this row container.
14
00:01:28,810 --> 00:01:37,560
Let's add the justify property of flex and so we can save that and we'll see it.
15
00:01:37,560 --> 00:01:46,160
Now jump over to the appropriate side of the screen I want to go and now add on the title here for e-commerce
16
00:01:46,250 --> 00:01:50,650
add in the line of center we can save that.
17
00:01:50,650 --> 00:01:57,370
And now that title is censored up with the icon which looks better in this case even though the left
18
00:01:57,370 --> 00:02:00,140
a line looks better on that case in my opinion.
19
00:02:00,250 --> 00:02:04,000
But we do have a bit of a little spacing problem here.
20
00:02:04,030 --> 00:02:08,890
This paragraph is pressed all the way up against that icon right there.
21
00:02:08,890 --> 00:02:19,240
So let's go and on the paragraph wrapping item and a style with a margin left margin left of one M.
22
00:02:19,600 --> 00:02:27,060
save that and then we get just a nice little border here that looks the same as it is right there the
23
00:02:27,060 --> 00:02:33,000
spacing here though you might notice is actually being caused by that little extra bar graph right there
24
00:02:33,270 --> 00:02:34,260
a little part of the graph.
25
00:02:34,260 --> 00:02:37,710
So technically it's press all the way against it but you can't really tell.
26
00:02:37,710 --> 00:02:46,130
So it looks fine let's go ahead and come back over and we'll actually copy the entire analytics grid.
27
00:02:46,140 --> 00:02:55,200
Item row again we'll copy that and paste it in underneath the e commerce section we'll change this now
28
00:02:55,200 --> 00:03:00,430
to outreach and then change the image to outreach.
29
00:03:00,570 --> 00:03:10,110
Change the ult to a megaphone and then it will remove this style here but then add these style on to
30
00:03:10,110 --> 00:03:18,270
the paragraph wrapping item a style of the margin left of one m to be consistent with the spacing on
31
00:03:18,270 --> 00:03:27,210
the other paragraphs so we'll then also want to open the design file and come over to our one paragraph
32
00:03:27,270 --> 00:03:34,770
for the outreach section and we can paste that in over the paragraph we have there so we can minimize
33
00:03:34,770 --> 00:03:42,490
that and save this now to see the page refresh and the outreach section has joined.
34
00:03:42,520 --> 00:03:50,050
Well let's go up here and again we'll actually this time copy the e commerce sections so the e commerce
35
00:03:50,050 --> 00:03:56,800
icon since it's already aligned to the right and we'll come underneath our grid item for the outreach
36
00:03:56,860 --> 00:04:05,020
section and we'll just paste that in we can change the title appeared to MCO and then change the image
37
00:04:05,230 --> 00:04:16,510
to the s EO image with an old and old of Web site standing on winners podium and that's why I like to
38
00:04:16,510 --> 00:04:20,710
use the double quote because then you never have to escape a single quote within it.
39
00:04:20,770 --> 00:04:25,600
But if I use the single quotes I couldn't use an apostrophe there had to escape it or something.
40
00:04:25,690 --> 00:04:32,030
But using double quotes all the time just kind of gets around that I actually meant to set this title
41
00:04:32,060 --> 00:04:41,000
to the full search engine optimization but then I even went here instead of the space let's add a line
42
00:04:41,000 --> 00:04:41,500
break.
43
00:04:41,570 --> 00:04:44,570
And so that way this will actually be stacked on top of each other.
44
00:04:44,750 --> 00:04:50,060
It'll look a little bit better with our icon and if we come over to the design file real quick let's
45
00:04:50,060 --> 00:05:00,660
go down to the SC O.S. and let's copy these sentences so we'll paste that one at the second one paste
46
00:05:00,660 --> 00:05:10,560
in here and then let's copy this typography component paste it so that we can copy in our third sentence.
47
00:05:10,620 --> 00:05:11,010
OK.
48
00:05:11,050 --> 00:05:12,750
Now let's minimize this.
49
00:05:12,900 --> 00:05:13,960
Save the page.
50
00:05:14,070 --> 00:05:20,900
And once this reloads now we see these search engine optimization section it seriously looks like the
51
00:05:20,900 --> 00:05:28,050
design file just jumped to life on our page automatically and I really like how they automatically share
52
00:05:28,050 --> 00:05:31,060
the space and they just move into each other like that.
53
00:05:31,130 --> 00:05:36,740
That looks really good but let's start messing with the spacing a little bit because these are definitely
54
00:05:36,740 --> 00:05:42,830
too close to each other up here and all the icons in general are just it's a little too crammed right
55
00:05:42,830 --> 00:05:43,340
now.
56
00:05:43,340 --> 00:05:52,210
So let's go ahead and give this some spacing we'll start by coming up to the analytics section so here
57
00:05:52,210 --> 00:05:55,680
and on this row container for the analytic section.
58
00:05:55,750 --> 00:06:05,650
Let's add a style of margin top of 15 m and then on the e commerce section on this row container.
59
00:06:05,710 --> 00:06:18,470
Let's add a style margin bottom 15 m and a margin top of 15 m then we'll come down to the S E O section.
60
00:06:18,470 --> 00:06:27,380
Search engine optimization and on this row container will add a style of a margin top 15 m and the margin
61
00:06:27,380 --> 00:06:31,970
bottom bottom of 15 m as well.
62
00:06:32,270 --> 00:06:39,180
So if we go ahead and save that the page will refresh and you can see it's now much more spaced out.
63
00:06:39,200 --> 00:06:45,230
This really looks good whitespace makes such a big difference in the readability and just the overall
64
00:06:45,230 --> 00:06:47,450
feel of your design.
65
00:06:47,450 --> 00:06:53,480
So that really improved it a lot and I like how this looks but let's go ahead and see how it starts
66
00:06:53,480 --> 00:06:56,700
to respond when we shrink the screen.
67
00:06:56,920 --> 00:07:01,590
You can see that it already jumped to a little bit of weird behavior here.
68
00:07:01,720 --> 00:07:03,240
You don't even know what's going on.
69
00:07:03,580 --> 00:07:10,330
So we definitely need to address some of this and instead of having these staggered layout how is the
70
00:07:10,330 --> 00:07:17,420
left and right and the right and the left was actually as soon as we get down to our medium break point
71
00:07:17,800 --> 00:07:20,530
when the title jumps into the center.
72
00:07:20,530 --> 00:07:23,460
I think do we still actually have enough space here.
73
00:07:23,470 --> 00:07:27,640
This layout looks ok but once we get down into here.
74
00:07:27,670 --> 00:07:33,490
So once we get to the smaller breakpoint where there's no longer enough space that's when we really
75
00:07:33,490 --> 00:07:39,820
need to make sure that everything on the rest of this page is centered as well so we can go ahead and
76
00:07:39,970 --> 00:07:44,360
get this right to our medium break point and then go a little bit farther thing.
77
00:07:44,490 --> 00:07:47,370
This should probably be around the small and will come up.
78
00:07:47,650 --> 00:07:55,780
And let's add a matches small constant so our constant of matches S M where they use media query for
79
00:07:55,780 --> 00:08:06,170
the theme break points down small and now we can scroll down and for all of the row containers for all
80
00:08:06,170 --> 00:08:07,860
of our sections here.
81
00:08:07,940 --> 00:08:16,710
Let's change the direction of row to a matches S M ternary statement setting column.
82
00:08:16,820 --> 00:08:18,150
If that is true.
83
00:08:18,330 --> 00:08:25,280
Otherwise leaving row will go ahead and copy that scroll down to the rest of these row containers and
84
00:08:25,310 --> 00:08:29,680
we will paste that direction property in as well.
85
00:08:29,750 --> 00:08:36,270
So we'll get that all the way down to our S O direction column.
86
00:08:36,380 --> 00:08:43,800
We can save that and you can see that it jumps here a little bit so that it's sitting underneath OK.
87
00:08:43,800 --> 00:08:49,290
I just figured out what that problem was that's causing that weird alignment how it's jumping there
88
00:08:49,470 --> 00:08:51,150
we actually definitely don't want that.
89
00:08:51,420 --> 00:08:59,130
So the problem was that we put the class's paragraph container on all the typography components instead
90
00:08:59,130 --> 00:09:01,810
of on their actual containers.
91
00:09:02,040 --> 00:09:05,340
So let's go ahead and cut that class name.
92
00:09:05,340 --> 00:09:06,450
Put it on the grid.
93
00:09:06,450 --> 00:09:14,580
Item wrapping those typography components and then get rid of those other ones so we don't need that.
94
00:09:14,760 --> 00:09:16,050
We'll scroll up here.
95
00:09:16,110 --> 00:09:18,200
See we don't need it here.
96
00:09:18,330 --> 00:09:21,040
We want it on this grid item.
97
00:09:21,270 --> 00:09:30,840
Paste the get rid of these paste the class here get rid of it here.
98
00:09:31,260 --> 00:09:37,220
Paste on the grid item and now I think that was all of them.
99
00:09:37,260 --> 00:09:45,390
So if we save this now the page will refresh and now or paragraphs are actually much shorter and properly
100
00:09:45,420 --> 00:09:52,290
styled so that as we shrink all the way down you see they look fine all the way even in the medium breakpoint
101
00:09:52,890 --> 00:09:59,970
still look very good until we get to the small break point where now they're being centered and it all
102
00:09:59,970 --> 00:10:07,140
looks perfect all the way down we can still tweak this a little because this text here is actually still
103
00:10:07,140 --> 00:10:09,570
left aligned even though it's in the center.
104
00:10:09,570 --> 00:10:17,640
So we'll start up here on the analytics section the analytics section typography variant body one and
105
00:10:17,670 --> 00:10:30,030
let's add in a line here of matches S M center otherwise undefined and then we can go ahead and copy
106
00:10:30,030 --> 00:10:38,190
this in on all of these typography paragraphs for all the sections we're going to paste that align property
107
00:10:38,190 --> 00:10:38,850
onto there.
108
00:10:38,880 --> 00:10:46,650
So we don't need it on the title here on the body one and then on the body one body one body one we
109
00:10:46,650 --> 00:10:54,320
can save that and this will refresh and it now all that text is center aligned as well if you remember
110
00:10:54,320 --> 00:11:01,520
when we were up here at this larger break point we have a margin 1 m right here pushing that text to
111
00:11:01,520 --> 00:11:02,900
the left of our icon.
112
00:11:03,020 --> 00:11:09,740
But when we're shrunken down here that margin left 1 m is actually still being applied even though you
113
00:11:09,740 --> 00:11:10,880
may not be able to see it.
114
00:11:11,150 --> 00:11:17,870
So let's go and find all the places that where we used that margin left of 1 m and add a ternary statements.
115
00:11:17,870 --> 00:11:24,450
Now check the matches small breakpoint and if that's true we'll set it to 0.
116
00:11:24,530 --> 00:11:32,000
Otherwise we'll leave the 1 m and we can go ahead and copy that actually we'll scroll up and we'll paste
117
00:11:32,030 --> 00:11:42,140
that here we'll paste it here and the analytics section didn't need it so we'll save that.
118
00:11:42,310 --> 00:11:44,170
And the text will jump a little bit.
119
00:11:44,260 --> 00:11:51,450
Probably can't tell but now it is perfectly centered we can go ahead and shrink this all the way down
120
00:11:51,750 --> 00:11:58,530
and you'll see there's no horizontal scrolling but did the page has adapted perfectly to the smaller
121
00:11:58,530 --> 00:11:59,460
layout.
122
00:11:59,490 --> 00:12:04,170
I think that this looks really great except honestly looks like these titles.
123
00:12:04,170 --> 00:12:05,970
They could also be centred here.
124
00:12:05,970 --> 00:12:13,920
So when we added the line of small center or undefined on the body paragraphs let's go ahead and actually
125
00:12:13,920 --> 00:12:16,260
put that onto our titles as well.
126
00:12:16,290 --> 00:12:24,750
So there's analytics we already have it for e-commerce here on outreach and then on search engine optimization
127
00:12:24,780 --> 00:12:25,940
it already has it as well.
128
00:12:25,970 --> 00:12:30,800
So we'll save that and that will just make sure now our title is centered there.
129
00:12:30,930 --> 00:12:36,340
And now it really is perfect for this smaller screen size.
130
00:12:36,360 --> 00:12:43,350
I think this looks perfect and I love the way that it responds and just maintains that the spacing to
131
00:12:43,380 --> 00:12:46,110
create the best user experience possible.
132
00:12:46,110 --> 00:12:51,900
So if you noticed we're not even really resizing anything now we're really just changing the position.
133
00:12:53,540 --> 00:12:58,890
Of these items on the page so that they take up the space in the most efficient way possible.
134
00:12:58,910 --> 00:13:04,250
So that's one of the main concepts of responsive design one that I'm sure you've picked up on throughout
135
00:13:04,250 --> 00:13:05,190
this course already.
136
00:13:06,400 --> 00:13:09,870
We can go ahead and add the finishing touch to this Web site page.
137
00:13:10,000 --> 00:13:20,320
If we come up and let's import underneath our images or import the call to action from slash UI slash
138
00:13:20,410 --> 00:13:29,140
call to action and then underneath with only one grid item below us let's add a grid item for our call
139
00:13:29,360 --> 00:13:40,390
to action with set value equal to props does set value closed off save the code the page refreshes and
140
00:13:40,480 --> 00:13:47,680
our call to action has been properly added and it's responsive gives us everything looks great.
141
00:13:47,680 --> 00:13:49,430
So we've finished it up.
142
00:13:49,450 --> 00:13:55,030
We've knocked out all of these services pages now and I don't think it was too difficult.
143
00:13:55,030 --> 00:13:59,560
I don't think that any of these were worse than you really could have imagined.
144
00:13:59,650 --> 00:14:05,650
And I think that we definitely learned a lot about the flexibility of the grid components and how you
145
00:14:05,650 --> 00:14:11,690
can use it in ways that you may not have even imagined to make some really cool looking layouts.
146
00:14:11,710 --> 00:14:17,440
I really like this one and just how diverse layouts you're able to create with this but the fact that
147
00:14:17,440 --> 00:14:23,830
they're all still so perfectly responsive to whatever screen size you want that just really impresses
148
00:14:23,830 --> 00:14:29,100
me and is just another reason of why I love material UI so so so much.
149
00:14:29,350 --> 00:14:31,710
But we can go ahead and definitely take a break.
150
00:14:31,720 --> 00:14:37,210
Now if you've been working for a little bit because that was a milestone and now I believe that we're
151
00:14:37,210 --> 00:14:44,860
actually halfway done with all of the pages on the site because we've completed the home page the services
152
00:14:44,860 --> 00:14:50,500
page and then the custom software mobile apps and now the Web sites page as well.
153
00:14:50,500 --> 00:14:58,030
So we have five completed pages on this Web site and the only pages left are the about us page the revolution
154
00:14:58,030 --> 00:15:02,350
page the Contact Us page and the Free Estimate page.
155
00:15:02,350 --> 00:15:06,580
So with five down and only four left we're over the hill.
156
00:15:06,580 --> 00:15:11,410
You've made it through the bulk of the work and the rest should be smooth sailing from here.
18011
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.