Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,310 --> 00:00:08,600
Would the hero block in place we can now move on to the next section of the home page which is the services
2
00:00:08,600 --> 00:00:10,060
block.
3
00:00:10,150 --> 00:00:18,010
This is going to contain a little icon and some text to describe each of the services that we have listed
4
00:00:18,010 --> 00:00:20,160
on the Web site.
5
00:00:20,180 --> 00:00:26,930
We're going to start by creating the custom software part and then we'll use that as our template to
6
00:00:26,930 --> 00:00:29,040
create the other parts.
7
00:00:29,090 --> 00:00:32,010
So if you don't remember exactly what that looks like.
8
00:00:32,090 --> 00:00:37,860
Here is the screenshot of the entire services block with all of the different sections.
9
00:00:37,970 --> 00:00:44,960
And if you think for a moment about how we would set this up using our grid containers and items we'll
10
00:00:44,960 --> 00:00:48,960
definitely need a container for all of them together.
11
00:00:49,010 --> 00:00:56,570
And then each of the individual sections will be a grid item and in each of those sections we have the
12
00:00:56,630 --> 00:01:01,580
text and the button on the left and then our icon on the right.
13
00:01:01,580 --> 00:01:07,700
And so I think the by breaking it down like that we should be able to guarantee the alignment that we're
14
00:01:07,700 --> 00:01:08,600
looking for.
15
00:01:08,720 --> 00:01:11,530
And it should all flow together pretty easily.
16
00:01:11,540 --> 00:01:15,650
So let's go ahead and jump over to our code editor to get started.
17
00:01:17,540 --> 00:01:18,110
OK.
18
00:01:18,140 --> 00:01:24,830
And here we are and the first thing I'm going to do real quick is on this grid item the one containing
19
00:01:24,830 --> 00:01:27,090
our entire hero block.
20
00:01:27,140 --> 00:01:33,740
Let's go ahead and right next to this going to add some javascript so we can put in a comment and I'm
21
00:01:33,740 --> 00:01:45,200
just going to put five dashes and then a hero block another five dashes and then close off the comment.
22
00:01:45,290 --> 00:01:51,070
And that way it'll just be easy to find that this whole grid item that that is the code for our hero
23
00:01:51,070 --> 00:01:51,480
block.
24
00:01:51,680 --> 00:01:58,440
And that'll make it a little more clear once we get all the rest of the content in so let's start now
25
00:01:58,470 --> 00:02:01,200
and we'll come underneath of this grid item.
26
00:02:01,200 --> 00:02:08,320
So we'll create our second section for our services and we'll make this a grid item open that up and
27
00:02:08,310 --> 00:02:14,370
it will add a comment right next to this grid item for the services block
28
00:02:20,460 --> 00:02:23,530
it we go in inside of here.
29
00:02:23,590 --> 00:02:31,210
We will have our grid container to hold all of the content for this block and I'll make sure to set
30
00:02:31,210 --> 00:02:38,170
the direction of row on there just so that it's clear for each of our blocks that they are being laid
31
00:02:38,170 --> 00:02:45,160
out horizontally within the overall column layout of the home page within this container.
32
00:02:45,160 --> 00:02:49,470
We will have each of the sections for the different services.
33
00:02:49,510 --> 00:02:58,000
So it will start out with a grid item and this will contain a typography component.
34
00:02:58,420 --> 00:03:04,630
And we're going to set actually the variant of this to an H four.
35
00:03:04,810 --> 00:03:11,910
And it'll contain the text custom software development so that develop mint.
36
00:03:11,920 --> 00:03:14,880
So that is the title for this little section.
37
00:03:15,040 --> 00:03:20,390
And then if we come underneath this let's create a another typography component.
38
00:03:20,470 --> 00:03:30,910
But this time a variance of a subtitle one will close that off and we'll put the text save energy energy
39
00:03:31,510 --> 00:03:41,260
save time save money and then we'll come down create one more typography component which is a variance
40
00:03:41,530 --> 00:03:43,450
of subtitle 1.
41
00:03:43,510 --> 00:03:48,420
Again we'll close that off and we'll put the text inside here.
42
00:03:48,560 --> 00:04:00,910
Complete digital digit total solutions and then a comma from investigation to celebration.
43
00:04:00,910 --> 00:04:09,460
And then let's come and I'm going to wrap the words celebration with a span so span in front and behind
44
00:04:09,460 --> 00:04:11,440
this closed off.
45
00:04:11,760 --> 00:04:16,180
There we go and to make sure we get a space in here properly.
46
00:04:16,210 --> 00:04:21,230
Let's inject some javascript with just a space character.
47
00:04:21,310 --> 00:04:24,820
Let's go ahead and save this real quick just to see where we're at.
48
00:04:24,820 --> 00:04:27,940
And it looks like that actually is not a bad start.
49
00:04:29,020 --> 00:04:32,280
Well let's get the learn more button in there though.
50
00:04:32,280 --> 00:04:41,730
So underneath our typography component here let's create a button component with a variant of outlined
51
00:04:41,940 --> 00:04:46,450
and we'll close off to put learn more inside.
52
00:04:46,590 --> 00:04:52,050
But we're actually we can just come up to the button up here the learn more button for the hero and
53
00:04:52,050 --> 00:04:56,560
copy that span that has the style margin right of 10.
54
00:04:56,640 --> 00:04:57,890
We're going to copy that.
55
00:04:57,930 --> 00:05:01,380
We're going to use that again down here for this learn more as well.
56
00:05:01,410 --> 00:05:02,970
So make sure you get that.
57
00:05:03,210 --> 00:05:13,680
And then underneath this span we'll add our button arrow component with a width of 10 a height of 10
58
00:05:14,070 --> 00:05:20,590
and a fill of theme palettes common dot blue.
59
00:05:20,940 --> 00:05:22,320
So we can save that.
60
00:05:23,280 --> 00:05:25,170
And it looks like I forgot to close this.
61
00:05:25,170 --> 00:05:29,480
Make sure you get the closing tag on there and then save.
62
00:05:29,520 --> 00:05:31,530
We'll see the page refresh.
63
00:05:31,530 --> 00:05:39,030
Now we've got a learn more button what's also on the word celebration inside the span makes sure we
64
00:05:39,030 --> 00:05:41,800
get a period at the end of that and then we'll save.
65
00:05:41,870 --> 00:05:46,620
I just like the way that looks right they're sort of just having it hanging off.
66
00:05:46,620 --> 00:05:51,560
But now we need to go ahead and let's get the custom software development icon.
67
00:05:51,570 --> 00:05:56,280
That's going to be here up on the screen before we go in and finish up our styles.
68
00:05:56,310 --> 00:06:04,710
So let's come to the top of the page and underneath the animation data let's import custom software
69
00:06:05,070 --> 00:06:16,420
icon from up one directory assets custom software icon dot s v g so let's scroll back down here and
70
00:06:16,480 --> 00:06:23,440
since this grid container is containing this whole software development section and then this item is
71
00:06:23,440 --> 00:06:29,920
containing all of our text we need to go ahead and create an item next to that which will contain our
72
00:06:29,920 --> 00:06:30,850
icon.
73
00:06:30,850 --> 00:06:34,170
So this first grid item here is all of this.
74
00:06:34,270 --> 00:06:40,720
And since that's in a container with direction of row when we add another item that will appear over
75
00:06:40,720 --> 00:06:45,190
to the right of this item which is exactly where we want the icon.
76
00:06:45,190 --> 00:06:53,710
So what's come in inside this grid item we created let's add an image tag within Ault of custom software
77
00:06:53,950 --> 00:07:00,700
icon and a source of the custom software icon that we have imported.
78
00:07:00,720 --> 00:07:06,940
We can go ahead and close that off and if we go ahead to save this we'll see the page refresh.
79
00:07:06,940 --> 00:07:13,180
And now we've got our nice icon there the icon looks really good just how it is.
80
00:07:13,190 --> 00:07:18,530
So let's go ahead and start styling this text as well to get this all in order.
81
00:07:18,620 --> 00:07:27,260
So we set the H for variant for the title and the subtitle one variance for both of our little lines
82
00:07:27,260 --> 00:07:27,890
here.
83
00:07:27,920 --> 00:07:37,490
So let's open up our theme dot J.S. file and underneath are h H3 style let's add in H 4 variant.
84
00:07:37,550 --> 00:07:47,870
Make sure you get the karma underneath that and we'll give this a font family of railway a font size
85
00:07:48,170 --> 00:07:58,460
of one point seven five REM a color of using the back ticks and then injecting our javascript the arc
86
00:07:58,730 --> 00:08:00,540
blue variable.
87
00:08:00,620 --> 00:08:04,680
And lastly a font weight of 700.
88
00:08:04,850 --> 00:08:06,780
So that will make it a little bit bolder.
89
00:08:06,810 --> 00:08:10,150
So we can save this and we'll see the page refresh.
90
00:08:10,280 --> 00:08:18,770
And now we've got a nice styled title that looks like our design file to style these extra lines down
91
00:08:18,770 --> 00:08:21,260
here that we have set with the subtitle.
92
00:08:21,260 --> 00:08:28,820
Let's go ahead and we'll start actually by creating a new constant up here of ARC Gray and we'll make
93
00:08:28,820 --> 00:08:38,810
this the color 8 6 8 6 8 6 as a nice pretty default gray and then what's come down and under our H for
94
00:08:38,870 --> 00:08:43,420
style let's add a subtitle one variant.
95
00:08:43,430 --> 00:08:45,250
Make sure you get the comma here.
96
00:08:45,290 --> 00:08:49,220
Make sure you get the subtitle one not just a subtitle.
97
00:08:49,220 --> 00:08:59,550
And then we'll set this to a font size of one point to five REM a font weight of three hundred.
98
00:08:59,570 --> 00:09:08,650
So a little lighter and a color of using the back takes arc Gray which we just created can save this.
99
00:09:08,660 --> 00:09:10,350
We'll see the page refresh.
100
00:09:10,490 --> 00:09:17,520
And now our text again that looks just like the design file definitely comes together quickly when you
101
00:09:17,520 --> 00:09:23,000
have the grid system to manage all of this alignment and stuff like that for you.
102
00:09:23,130 --> 00:09:29,220
I think we can flip back over to our landing page file now though and in the design file you'll see
103
00:09:29,220 --> 00:09:32,990
that the word celebration is actually styled differently.
104
00:09:33,000 --> 00:09:39,030
It's orange and it has a different font which is actually the Pacifica font that we use for the estimate
105
00:09:39,030 --> 00:09:39,990
button.
106
00:09:39,990 --> 00:09:47,880
So on the span that we had created around the word celebration let's add a class name to this equal
107
00:09:47,880 --> 00:09:58,350
to classes dogs special text special text and then we can come up to our styles object and add the special
108
00:09:58,440 --> 00:10:13,260
text style with a font family of Pacifica and a color of theme palettes common orange.
109
00:10:13,320 --> 00:10:20,850
So let's say that now you can see are a cool looking styled word right there.
110
00:10:20,860 --> 00:10:23,300
Let's get this learn button taken care of.
111
00:10:23,470 --> 00:10:27,330
So we can come down and here where our button is.
112
00:10:27,340 --> 00:10:37,060
Let's add a class name of classes to learn button and it will come up to the top where we had the learn
113
00:10:37,120 --> 00:10:37,600
button.
114
00:10:37,630 --> 00:10:45,850
Hero styles and let's go ahead and we're actually going to cut all of these styles except the very last
115
00:10:45,850 --> 00:10:46,360
three.
116
00:10:46,390 --> 00:10:53,950
So we've the font size height and width but everything else we can go ahead and cut and we'll cut that
117
00:10:53,950 --> 00:10:58,540
empty line out and let's go back over to our theme dot J.S. file.
118
00:10:58,660 --> 00:11:02,230
And underneath are a subtitle one style.
119
00:11:02,260 --> 00:11:09,910
Let's go ahead and add another style here of learn button and a paste in all of those styles that we
120
00:11:09,910 --> 00:11:11,020
had just copied.
121
00:11:11,350 --> 00:11:19,420
But of course we have to change where we're referencing the theme here to use are back ticks and then
122
00:11:19,420 --> 00:11:27,550
inject are ARC blue color and we'll do the same thing right here although I actually I just realized
123
00:11:27,580 --> 00:11:32,140
I keep forgetting we can just put in the variable without having to inject it.
124
00:11:32,200 --> 00:11:42,810
So arc blue and I'm just going to replace these two arc blue I don't know why I keep forgetting that
125
00:11:43,230 --> 00:11:45,650
arc blue.
126
00:11:45,710 --> 00:11:46,130
There we go.
127
00:11:46,370 --> 00:11:49,600
So we'll save that with the page refresh.
128
00:11:49,600 --> 00:11:53,700
It's like I missed this arc gray right here arc Gray.
129
00:11:53,780 --> 00:11:59,210
We'll save that and everything is still working properly but let's come back to the landing page and
130
00:11:59,210 --> 00:12:05,180
now that we have all of those worn buttons styles centralized in the theme we need to make sure that
131
00:12:05,180 --> 00:12:12,630
we extend the theme dot typography dot learn button styles.
132
00:12:12,890 --> 00:12:18,090
So if we save that we'll make sure that everything is still in order.
133
00:12:18,160 --> 00:12:24,730
Now we can go ahead though and that learn button class that we added on to our new word button.
134
00:12:24,790 --> 00:12:34,710
Let's go ahead and add that style here and learn button style where we will again extend the theme typography
135
00:12:35,560 --> 00:12:46,240
Griffey dot worn button style and then we'll give this a font size of just zero point seven REM and
136
00:12:46,240 --> 00:12:48,710
a height of 35.
137
00:12:48,730 --> 00:12:50,030
So we'll save that.
138
00:12:50,050 --> 00:12:53,560
We'll see how this looks and this looks pretty good.
139
00:12:53,560 --> 00:13:01,510
It looks a little thin though so I'm going to actually add a padding of 5 to this as well which is just
140
00:13:01,510 --> 00:13:07,780
going to make it not quite as long as I was coming from some padding but then make it a little bit fatter
141
00:13:07,780 --> 00:13:08,590
up on the top.
142
00:13:08,590 --> 00:13:14,420
So that gives it a little bit of better look and it matches up with the design.
143
00:13:14,450 --> 00:13:19,460
I would also like to hear on these lines the two different subtitles.
144
00:13:19,460 --> 00:13:22,490
I'd like to add a little bit of spacing in between those.
145
00:13:22,490 --> 00:13:24,650
I think that that would look a little bit better.
146
00:13:24,680 --> 00:13:33,560
So let's come down and on the first subtitle one the save energy save time save money let's add a class
147
00:13:33,620 --> 00:13:43,400
name to this of classes dot subtitle and we'll come up to our styles object and add the subtitle class
148
00:13:43,660 --> 00:13:51,890
and we'll just give it a margin bottom of a 1 m and if we save that C page refresh and now we've got
149
00:13:51,890 --> 00:13:54,380
a little bit of more space in between those two.
16022
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.