Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,090 --> 00:00:08,420
First on the container direction of column let's go ahead and add a justify of center here.
2
00:00:08,440 --> 00:00:15,610
And since the direction is column that main axis is the vertical axis so justifies should justify our
3
00:00:15,610 --> 00:00:17,860
content down here in the center.
4
00:00:17,860 --> 00:00:20,800
So let's save that and we'll see the content jump.
5
00:00:20,800 --> 00:00:22,240
And that was correct.
6
00:00:22,240 --> 00:00:26,370
So now we can go up and underneath it are important for the background image.
7
00:00:26,380 --> 00:00:37,160
Let's go ahead and import the phone icon from our assets slash phone Di SPG and then we'll import email
8
00:00:37,180 --> 00:00:40,220
icon from assets.
9
00:00:40,520 --> 00:00:43,300
Email Dias Fiji.
10
00:00:43,380 --> 00:00:50,060
Now we can go ahead and we'll actually add an item inside of the grid container direction of column
11
00:00:50,280 --> 00:00:56,700
but adjacent to the item that's wrapping our typography components so adjacent to that item here.
12
00:00:56,700 --> 00:01:04,160
Let's add a grid item container and we'll open this up and we want this to be a just a container.
13
00:01:04,170 --> 00:01:11,390
So it has the default direction of a row so that we can place our icon on the left and the phone.
14
00:01:11,460 --> 00:01:18,950
And then the email on the right but for this one will first start out here with a grid item and this
15
00:01:18,950 --> 00:01:26,400
will wrap our image with a source of phone icon and an alt of phone.
16
00:01:26,540 --> 00:01:31,190
And then we can close that off and then adjacent to that great item.
17
00:01:31,190 --> 00:01:39,160
Let's add a grid item and this will be a typography variant of our body one style.
18
00:01:39,170 --> 00:01:46,210
But let's give it a style of colour theme dot palette dot Coleman dot blue.
19
00:01:46,250 --> 00:01:51,530
So the text will be the blue colour that we've been using and inside of the typography component let's
20
00:01:51,530 --> 00:01:58,410
add 5 5 5 5 5 5 dash 5 5 5 5 or whatever phone number you want.
21
00:01:58,440 --> 00:02:05,560
It should work fine let's save this now and we'll see the page refresh and you can see we've got some
22
00:02:05,560 --> 00:02:11,320
text and we've got an icon before we duplicate this for the email.
23
00:02:11,340 --> 00:02:16,220
Let's go ahead and you see how the icon is pressed right up against the number like that.
24
00:02:16,320 --> 00:02:18,820
I always don't like when that happens.
25
00:02:18,870 --> 00:02:27,750
So on our phone image let's go ahead and add a style here with a margin right of just zero point five
26
00:02:27,840 --> 00:02:31,040
m we can save that.
27
00:02:31,040 --> 00:02:32,210
We'll see it jump.
28
00:02:32,210 --> 00:02:35,640
And now I've got a little bit of spacing in there that definitely looks better.
29
00:02:35,660 --> 00:02:42,050
So now we can copy that whole grid item container that we had just created wrapping the image and the
30
00:02:42,050 --> 00:02:50,660
phone number and let's paste this and then change the source to email icon change the ought to envelope
31
00:02:51,170 --> 00:02:59,200
and then come down and change the phone number and I'll put in Zachary at gmail dot com and then we
32
00:02:59,200 --> 00:03:01,340
can go ahead we'll save this.
33
00:03:01,510 --> 00:03:03,820
And now our email has appeared as well.
34
00:03:05,220 --> 00:03:10,530
Now before we take a break and then we'll come back and set up the text fields in the next video.
35
00:03:10,530 --> 00:03:17,430
But you see how the text is also pretty misaligned with the icons here the icon is floating above our
36
00:03:17,430 --> 00:03:18,580
text.
37
00:03:18,810 --> 00:03:24,180
Let's start and we can fix that by let's reduce the size of this text a little bit because I don't think
38
00:03:24,180 --> 00:03:27,290
that these should be quite as big as that text there.
39
00:03:27,300 --> 00:03:36,510
So where we set the color to the theme top how it top blue let's also set a font size here of one rim
40
00:03:36,840 --> 00:03:43,560
and you can go ahead and copy that style and paste it down on the typography for our email as well and
41
00:03:43,560 --> 00:03:45,920
we can save that page will refresh.
42
00:03:45,930 --> 00:03:53,670
Now we have a much nicer looking smaller text and the phone icon is pretty nicely aligned but this bottom
43
00:03:53,670 --> 00:04:00,530
icon the e-mail icon is still having issues so we can come and on the email icon.
44
00:04:00,630 --> 00:04:03,510
Well let's add a style next to the margin right.
45
00:04:03,690 --> 00:04:11,580
With a vertical line set to bottom and I believe that we had use this before when we were setting up
46
00:04:11,580 --> 00:04:13,270
the footer Slash.
47
00:04:13,440 --> 00:04:20,010
And what this does is it tells the image which points on the image should be anchored to the page.
48
00:04:20,100 --> 00:04:26,490
And this is telling it to do that to the bottom so that the bottom of the image will be the anchor point.
49
00:04:26,490 --> 00:04:30,730
And so that should bring it down onto the same line as our text.
50
00:04:30,750 --> 00:04:37,290
So let's go ahead and save the file and we can see that that did indeed jump to a much nicer looking
51
00:04:37,290 --> 00:04:39,200
position.
52
00:04:39,240 --> 00:04:45,210
We'll go ahead and take a break here now before we come back in the next video and start setting up
53
00:04:45,270 --> 00:04:46,380
our text fields.
5834
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.