Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,120 --> 00:00:05,720
We can start building the rest of the About Us page with the team.
2
00:00:05,740 --> 00:00:10,610
Section go ahead and underneath the grid.
3
00:00:10,620 --> 00:00:14,570
Item row container for the History section.
4
00:00:14,730 --> 00:00:24,540
We'll go ahead and create a grid item container but a direction of column but also with the class name
5
00:00:24,750 --> 00:00:29,850
still of classes top row container and we'll go ahead and open that up.
6
00:00:31,280 --> 00:00:34,170
Like we went over in the design overview.
7
00:00:34,250 --> 00:00:44,300
We'll start off with a grid item which will be wrapping a typography variance H 4 we'll put the gutter
8
00:00:44,300 --> 00:00:47,720
bottom and this will saying team.
9
00:00:48,410 --> 00:00:57,170
I'll fix that and then we'll add a grid item adjacent to that and this will be a typography variant
10
00:00:57,440 --> 00:01:00,350
body one paragraph.
11
00:01:00,360 --> 00:01:06,080
And let's give it an a line center so we'll know we'll need that and this will be my name.
12
00:01:06,140 --> 00:01:16,120
Zachary Reese and then a comma and founder pay and underneath here under this same typography component
13
00:01:16,360 --> 00:01:28,690
we can add a typography variant body one paragraph a line center for the sentence I started coding when
14
00:01:28,690 --> 00:01:38,380
I was nine years old we can go ahead and save this now and the page will refresh and you see that we
15
00:01:38,380 --> 00:01:46,510
have these in the center but the team is not so let's go ahead and add in a line of center onto the
16
00:01:46,570 --> 00:01:51,510
typography for the title and now we have that in the center as well.
17
00:01:52,850 --> 00:01:57,690
Before we move on to the next section I want to take just a second to come up.
18
00:01:57,780 --> 00:02:05,900
I'll open a new tab and go to the material UI Web site and I'm gonna go to components and then scroll
19
00:02:05,900 --> 00:02:10,520
all the way down until we have avatars.
20
00:02:11,330 --> 00:02:15,980
Avatars are found throughout material design with uses in everything.
21
00:02:16,010 --> 00:02:23,430
So this is really just creating a little circular image when we pass in a image source.
22
00:02:23,610 --> 00:02:23,870
OK.
23
00:02:23,930 --> 00:02:31,100
So all it's doing is we're setting the avatar component with an old that will be used for the all property
24
00:02:31,100 --> 00:02:37,640
on the image and then the source where our image is located and then we can set a class name if we want
25
00:02:37,670 --> 00:02:38,200
as well.
26
00:02:38,480 --> 00:02:44,540
But the avatar gives us this circular styling which is found commonly in Web site profiles.
27
00:02:44,570 --> 00:02:50,480
So this is a convenient quick way to throw your images into a little container and you can see they
28
00:02:50,480 --> 00:02:56,810
give examples of how you can use just letters in there to create your default anonymous looking profiles
29
00:02:56,930 --> 00:03:03,860
or even passing in icons so that you can just use images make it almost like a little button looks like
30
00:03:03,890 --> 00:03:11,150
if we scroll down they also have a square or rounded corner variance so he can use the variance square
31
00:03:11,210 --> 00:03:17,930
or variant rounded which will get you the rounded square but really that is all this avatar component
32
00:03:17,930 --> 00:03:18,590
does.
33
00:03:18,620 --> 00:03:24,050
So I didn't think it needed its own overview video for you to just know that a wraps your image in a
34
00:03:24,050 --> 00:03:24,530
circle.
35
00:03:24,560 --> 00:03:30,740
Basically so I'll get out of that and let's come up to the top here and underneath typography let's
36
00:03:30,800 --> 00:03:35,220
import that Avatar component from material.
37
00:03:35,300 --> 00:03:38,630
Dash UI slash core slash Avatar.
38
00:03:38,720 --> 00:03:48,950
And then underneath the history picture let's go ahead and import profile from assets founder dot JPEG
39
00:03:49,370 --> 00:03:59,950
and then import yearbook from assets yearbook and import puppy from assets.
40
00:04:00,080 --> 00:04:01,800
Puppy.
41
00:04:01,980 --> 00:04:08,100
Now we can scroll back down and underneath the grid item wrapping these last two typography components
42
00:04:08,510 --> 00:04:19,260
let's add an adjacent grid item and here we'll put our avatar within Ault of founder and a source of
43
00:04:19,320 --> 00:04:29,580
profile and then we'll set a class name of classes dot Avatar we can make this a self closing component
44
00:04:29,850 --> 00:04:37,530
and we'll come up real quick to our style object add the avatar style which will receive a height of
45
00:04:37,530 --> 00:04:42,540
twenty five m and a width of twenty five m and go ahead and save that.
46
00:04:42,540 --> 00:04:48,820
Now the page will refresh and you can see my picture has appeared on the page.
47
00:04:49,010 --> 00:04:54,440
This is looking good but let's go ahead and we need this image to now be over in the center along with
48
00:04:54,440 --> 00:04:55,270
our text.
49
00:04:55,430 --> 00:05:02,330
So we'll come down and on the container direction column row container that we have wrapping all of
50
00:05:02,330 --> 00:05:03,350
these items.
51
00:05:03,410 --> 00:05:07,360
Let's go ahead and give this in a line items of center.
52
00:05:07,550 --> 00:05:14,720
And remember since this is in a direction of column that means the main axis is the vertical direction
53
00:05:15,050 --> 00:05:22,700
and so the line items which specifies the cross axis will this time align our contents in the horizontal
54
00:05:22,760 --> 00:05:23,570
direction.
55
00:05:23,570 --> 00:05:29,130
So if we give it on line items of center that should horizontally censor the image where we want it.
56
00:05:29,150 --> 00:05:31,300
So I'll go ahead and save that.
57
00:05:31,340 --> 00:05:37,990
We'll see the page refresh and our image is now centered we can go ahead and start working on the next
58
00:05:37,990 --> 00:05:45,100
part of the team section so we'll come underneath the grid item wrapping the avatar in here will create
59
00:05:45,340 --> 00:05:49,240
a grid item container and we'll open this up.
60
00:05:49,360 --> 00:05:50,770
And the first item here.
61
00:05:50,800 --> 00:05:56,500
And so remember this will be the container laid out from left to right with the yearbook picture and
62
00:05:56,500 --> 00:05:57,800
the caption on the left.
63
00:05:57,880 --> 00:06:03,320
Some more text in the middle and then the picture of my puppy and the caption on the right.
64
00:06:03,370 --> 00:06:11,500
And so the first item in this container will be the grid item container direction of column.
65
00:06:11,500 --> 00:06:19,950
And this will be the container for the yearbook picture and caption first a grid item here will be our
66
00:06:20,100 --> 00:06:29,310
image with a source of yearbook and an alt of yearbook page about founder and then we can close off
67
00:06:29,310 --> 00:06:35,020
the image and come underneath that grid item to create another grid item.
68
00:06:35,160 --> 00:06:43,110
This time wrapping a typography variant of caption which if you remember is one of the default variants
69
00:06:43,110 --> 00:06:52,320
built in but we will go and customize it but we'll close this off and have it say a page from my sophomore
70
00:06:52,590 --> 00:06:58,710
yearbook and I'm purposely leaving the first a under case just because I think that style looks a little
71
00:06:58,710 --> 00:06:59,780
better here.
72
00:06:59,850 --> 00:07:04,350
Go ahead and save that and we'll see where this gets us the page or refresh.
73
00:07:04,380 --> 00:07:12,280
And here you see we've got the image along with a little default styled caption So it's looking good
74
00:07:12,310 --> 00:07:12,940
so far.
75
00:07:13,180 --> 00:07:20,320
So now let's create that text here in the middle so adjacent to that grid item container direction of
76
00:07:20,320 --> 00:07:22,930
column wrapping the yearbook items.
77
00:07:22,930 --> 00:07:31,270
Let's go ahead and create a grid item and we'll open this up and have it wrap a typography variant of
78
00:07:31,570 --> 00:07:40,550
body one with a line center and the paragraph prop we'll open this up and let's actually go ahead.
79
00:07:40,570 --> 00:07:47,530
Copy that real quick paste it again and open up the design file to come in and you can just copy these
80
00:07:47,530 --> 00:07:49,370
two paragraphs right there.
81
00:07:49,450 --> 00:07:56,100
Paste in the first one copy this and paste in the second one.
82
00:07:56,120 --> 00:08:02,610
So now we can minimize the design file once again and save this to see the page refresh.
83
00:08:02,630 --> 00:08:09,910
And now we have our text within it will obviously need to change the styling of that text a little bit
84
00:08:10,120 --> 00:08:18,880
but let's continue and adjacent to the grid item here that we had just created for the text adjacent
85
00:08:18,880 --> 00:08:19,930
to that grid item.
86
00:08:20,170 --> 00:08:29,020
Let's create our grid item container direction of column that will hold the picture of my puppy and
87
00:08:29,020 --> 00:08:29,980
the caption there.
88
00:08:29,980 --> 00:08:40,000
So we'll create a grid item wrapping an image the source of puppy and all of gray spotted puppy and
89
00:08:40,000 --> 00:08:41,960
we can close off the image.
90
00:08:42,070 --> 00:08:53,050
Create a new grid item adjacent to that wrapping our typography variant caption with the text my miniature
91
00:08:53,650 --> 00:08:57,650
Apple docs and Sterling action.
92
00:08:57,670 --> 00:09:00,760
Make sure you get the comma in there.
93
00:09:00,880 --> 00:09:04,420
Go ahead and save this page will refresh.
94
00:09:04,480 --> 00:09:09,130
And there we have the caption and the picture of Madame.
95
00:09:09,160 --> 00:09:15,060
Now let's get all of these containers to share that same line available to them.
96
00:09:15,080 --> 00:09:23,030
We can do that with the trick that we know the large prop go through and add that to all of these wrapping
97
00:09:23,030 --> 00:09:24,270
grid items.
98
00:09:24,290 --> 00:09:28,820
So the large prop there you can save that and that will refresh.
99
00:09:28,820 --> 00:09:35,000
And now they're all sharing this space very much like the design file that already made a very big difference.
100
00:09:35,000 --> 00:09:36,070
This is looking good.
101
00:09:36,200 --> 00:09:39,500
But let's go ahead and on the puppy container.
102
00:09:39,500 --> 00:09:43,280
We actually want this caption to be over here on the right side.
103
00:09:43,340 --> 00:09:45,370
It's kind of going to be right aligned.
104
00:09:45,410 --> 00:09:50,540
So on this container with the direction of column wrapping our puppy picture.
105
00:09:50,660 --> 00:09:55,280
Let's go ahead and set in a line items of flex.
106
00:09:55,380 --> 00:10:02,480
And then we can save that and we will see that it does indeed jump over to the end of that container
107
00:10:02,780 --> 00:10:09,110
which also gives us the correct spacing here proportional with the spacing on the left.
108
00:10:09,290 --> 00:10:15,710
We'll keep moving and you'll see if we shrink the page down they are text it can get pretty close to
109
00:10:15,710 --> 00:10:19,730
those pictures you see right there is good press.
110
00:10:19,770 --> 00:10:22,770
Right all the way up against those you know I don't like that.
111
00:10:22,850 --> 00:10:28,990
So we'll go in on the grid item wrapping these two typography components.
112
00:10:29,060 --> 00:10:39,020
Let's give it a style with a max width of 45 M and then we'll give it a padding of one point two five
113
00:10:39,110 --> 00:10:41,600
m so that this will go all the way around.
114
00:10:41,600 --> 00:10:43,340
So this will give us some padding up.
115
00:10:43,340 --> 00:10:48,440
So it's not pressed against up against my picture or against the yearbook picture or against the puppy
116
00:10:48,710 --> 00:10:49,610
or against the bottom.
117
00:10:49,640 --> 00:10:52,070
So there's give us that padding all the way around.
118
00:10:52,090 --> 00:10:57,590
Let's go ahead and save this to see that and you can see it give us a little bit of space there and
119
00:10:57,590 --> 00:11:04,190
just a nice little border around the text no matter how small it gets until obviously we jump to this
120
00:11:04,190 --> 00:11:06,790
break point and looks like everything goes crazy.
121
00:11:06,800 --> 00:11:08,870
So it's not even look at that right now.
122
00:11:08,870 --> 00:11:10,450
Well we'll keep working on this.
123
00:11:10,490 --> 00:11:16,250
So let's go and let's actually style these captions how they need to look instead of just looking like
124
00:11:16,250 --> 00:11:18,370
some weird black text on the page.
125
00:11:18,470 --> 00:11:26,080
So we'll come into the UI folder and open up our theme dot J.S. and at the bottom here.
126
00:11:26,120 --> 00:11:28,880
Let's add a caption variant.
127
00:11:28,880 --> 00:11:37,850
Make sure you get the comma and we'll give this a font size of one rim a font weight of three hundred
128
00:11:38,030 --> 00:11:40,900
and a color of ARC Gray.
129
00:11:40,910 --> 00:11:47,720
So let's save that and both of our captions will change to a much more appropriate looking style consistent
130
00:11:47,780 --> 00:11:54,660
with the rest of our theme let's go ahead and take a break right there and we'll come back and start
131
00:11:54,720 --> 00:11:59,010
finishing up the responsive design for this page in the next video.
14322
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.