Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,080 --> 00:00:07,860
With the first part of the revolution page out of the way we can work on the last part which is the
2
00:00:07,920 --> 00:00:12,400
process like I showed in the overview.
3
00:00:12,440 --> 00:00:19,310
It will be made up of different blocks each with a different color to background an icon and then a
4
00:00:19,310 --> 00:00:22,330
title and a description.
5
00:00:22,400 --> 00:00:29,120
I'll go ahead and shrink the page down so that I have my code editor visible and then we can come and
6
00:00:29,120 --> 00:00:34,070
underneath this last grid item container or the direction of row.
7
00:00:34,070 --> 00:00:42,800
So after this grid item with only one grid tag underneath let's add a new grid item container direction
8
00:00:43,160 --> 00:00:53,690
of row with a class name of classes dot row container container and then we will open this up and inside
9
00:00:53,690 --> 00:01:05,140
of here we'll just add a single grid item wrapping a typography variant of H for the gutter bottom property.
10
00:01:05,150 --> 00:01:12,130
And this will have the title process let's also go ahead and on the row container here.
11
00:01:12,190 --> 00:01:18,810
Let's add a justified property of center so we can save this now and I'll refresh the page.
12
00:01:18,810 --> 00:01:20,590
Get my development server started again.
13
00:01:20,770 --> 00:01:27,830
And you can see that we've got the process title now centered in the bottom of the screen.
14
00:01:27,910 --> 00:01:33,180
Now we can go ahead and actually start on the first process step by coming down.
15
00:01:33,220 --> 00:01:41,560
And underneath this grid item container for the row let's add a new grid item container direction of
16
00:01:41,770 --> 00:01:49,750
row with a class name of classes dot row container and then we'll open that up.
17
00:01:49,870 --> 00:01:57,880
And the first item within this container will be itself a grid item container but with a direction of
18
00:01:58,150 --> 00:01:59,410
column.
19
00:01:59,410 --> 00:02:06,820
And then we can open this up and the first grid item within here will wrap a typography component with
20
00:02:06,820 --> 00:02:10,840
a variant of H 4 in the gutter bottom prop.
21
00:02:10,840 --> 00:02:19,480
And this will have the title consultation we can then come down and add another grid item.
22
00:02:19,830 --> 00:02:26,750
And this will be for our typography variant body one with the paragraph prop.
23
00:02:27,090 --> 00:02:35,130
And then we will open that up and come to our design file and let's come down here to the consultation
24
00:02:35,130 --> 00:02:38,160
step and it looks like we'll need three paragraphs.
25
00:02:38,190 --> 00:02:44,940
So let's go ahead and copy the typography variant body one and paste that two more times.
26
00:02:44,940 --> 00:02:54,520
So then we can come in and copy in these paragraphs skip the first one second one and the third paragraph
27
00:02:56,520 --> 00:02:57,310
OK.
28
00:02:57,700 --> 00:03:03,650
And then we will minimize this file and let's just go ahead and save the code right now and we'll see
29
00:03:03,650 --> 00:03:09,530
the page refresh and then you can see that we have the consultation text along with all of our body
30
00:03:09,530 --> 00:03:17,550
paragraphs we'll need to change the coloring of those because in the design file you can see the title
31
00:03:17,550 --> 00:03:24,150
is black and the text is white and it is actually going to be the same for all of the process steps.
32
00:03:24,150 --> 00:03:26,830
So we'll repeat that style for those.
33
00:03:26,850 --> 00:03:30,390
So we'll need to come in on the consultation title.
34
00:03:30,390 --> 00:03:33,460
Let's add a style color.
35
00:03:33,520 --> 00:03:34,360
No sign.
36
00:03:34,360 --> 00:03:40,800
0 0 0 and I was actually just reading the other day and something mentioned that it's actually a little
37
00:03:40,800 --> 00:03:48,000
more performance optimized if you use the actual hexadecimal number instead of say putting the word
38
00:03:48,240 --> 00:03:50,640
black in here which I tend to do.
39
00:03:50,640 --> 00:03:54,100
So I mean I would try and start using the actual hexadecimal.
40
00:03:54,150 --> 00:03:55,890
It's supposed to be a little bit faster.
41
00:03:56,040 --> 00:04:03,250
So we'll come down and on the body one paragraph so to add a style of color you need to be white.
42
00:04:03,270 --> 00:04:13,100
So that's no sign f f f and we can go ahead copy this and paste it onto the rest of these body paragraphs.
43
00:04:13,230 --> 00:04:19,250
Save that page will refresh and we have the black title and all the white text.
44
00:04:19,320 --> 00:04:25,870
It's hidden on our white background we definitely don't want that text to be hidden though and we need
45
00:04:25,870 --> 00:04:32,890
actually these specific colored background for this section and in the design overview I had said we
46
00:04:32,890 --> 00:04:37,870
were going to use a class name to do this but since we're already setting the class name of row container
47
00:04:38,170 --> 00:04:44,800
we could put in two classes but I'd really think it'd be easier if we just added a style here with a
48
00:04:44,800 --> 00:04:48,280
background color of no sign.
49
00:04:48,310 --> 00:04:59,650
B three B three B three too nice gray and then we'll give it a height of 90 M and so this will set a
50
00:04:59,650 --> 00:05:07,040
fixed high on this container giving us the space that we need for our text and the icon.
51
00:05:07,110 --> 00:05:10,610
Let's go ahead and save that now and we'll see the page jump.
52
00:05:10,620 --> 00:05:15,470
And we certainly have the gray background that we had been looking for.
53
00:05:15,470 --> 00:05:21,050
Now I want to change some of the spacing here as well because obviously we don't want our text taking
54
00:05:21,050 --> 00:05:23,070
up the whole length of the container.
55
00:05:23,210 --> 00:05:27,840
And we also don't want the title here pressed so close up against the top of that.
56
00:05:27,950 --> 00:05:36,050
So on the style where we're changing the color to black on our title let's also give it a margin top
57
00:05:36,320 --> 00:05:46,430
of five m and then here on our style for the body paragraphs let's add a max width of just 20 M and
58
00:05:46,430 --> 00:05:53,390
then we'll go ahead and copy that property onto the other paragraphs as well so get the second one and
59
00:05:53,390 --> 00:06:01,910
then get this last one and we can save that the Pedro refresh and now it looks like it looks like the
60
00:06:01,910 --> 00:06:04,820
paragraph from the design file or very close to it.
61
00:06:04,820 --> 00:06:11,140
This actually looks a little bit better so minimize that and you can see that we're definitely on the
62
00:06:11,140 --> 00:06:19,440
right track and now we just need to get our icon in here let's go ahead and next to the grid item container
63
00:06:19,650 --> 00:06:24,570
direction of column this wrapping all of our typography components.
64
00:06:24,570 --> 00:06:31,950
Let's go find that closing grid tag and adjacent to that will add a grid item and this will just be
65
00:06:31,950 --> 00:06:41,310
a grid item wrapping in image with a source of consultation and an old of handshake and then we can
66
00:06:41,310 --> 00:06:46,070
close this off and let's go up to import the consultation image.
67
00:06:46,080 --> 00:06:56,760
So underneath the vision we can import consultation from assets consultation icon s v g and now we can
68
00:06:56,760 --> 00:07:05,570
save this and we'll see the page refresh with our icon now being displayed isn't exactly in the right
69
00:07:05,570 --> 00:07:06,650
position though.
70
00:07:06,710 --> 00:07:12,140
So to get the icon and the text to share this space and to sit on the same line.
71
00:07:12,320 --> 00:07:20,960
Let's go ahead and we'll need to add the on the grid item wrapping our image add the large prop and
72
00:07:20,960 --> 00:07:27,000
then we'll come up to the grid item direction of column and add the large prop here as well.
73
00:07:27,080 --> 00:07:32,750
And that will make sure that up through the large breakpoint they share the space available to them
74
00:07:33,050 --> 00:07:34,160
and we can save that.
75
00:07:34,280 --> 00:07:42,190
To see that they then jump to now being on the same line now to move the image down into the center
76
00:07:42,200 --> 00:07:43,520
of this container.
77
00:07:43,520 --> 00:07:47,080
We're actually going to use a property that we haven't used before.
78
00:07:47,090 --> 00:07:55,850
So if we come over and on the grid item wrapping our image let's add a style of a line.
79
00:07:55,970 --> 00:08:06,320
Self Center online self property allows you to do what it sounds like and force an item just by itself
80
00:08:06,530 --> 00:08:10,910
to have a different alignment than the other items in its container.
81
00:08:10,910 --> 00:08:18,740
So even though we want the text here up at the top left hand corner we're then going to want the icon
82
00:08:18,770 --> 00:08:21,520
over on the right but down in the center.
83
00:08:21,530 --> 00:08:28,430
And so if we applied the center styling to our overall row container that would force the text down
84
00:08:28,460 --> 00:08:32,810
in the center as well but we don't want that we just want the icon to be centered.
85
00:08:33,050 --> 00:08:38,750
So we'll use the aligned self property and if we go ahead and save that now we'll see it jump to being
86
00:08:38,750 --> 00:08:44,190
nice and centered so we've gotten this first section completely finished.
87
00:08:44,190 --> 00:08:45,790
Now this looks really good.
88
00:08:45,930 --> 00:08:52,860
And you can see that it really creates a cool look and manages the space very effectively to give us
89
00:08:52,920 --> 00:08:58,620
until here to give us the look that we want but we'll go ahead and we'll address the responsive design
90
00:08:58,740 --> 00:08:59,630
aspects of this.
91
00:08:59,670 --> 00:09:04,890
After we get the rest of the process steps built out which we'll do in the next video.
10601
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.