All language subtitles for 19. Finishing The Call To Action

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
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:04,080 You can see that right before it breaks like that. 2 00:00:04,080 --> 00:00:07,470 You see I'll close that estimate button gets to the text. 3 00:00:07,530 --> 00:00:08,670 I really don't like that. 4 00:00:08,700 --> 00:00:13,950 And so let's make sure that that doesn't happen by putting a little margin on the left side of the button 5 00:00:14,220 --> 00:00:19,560 which will act as a buffer to keep that text from ever getting too close and we'll just make it jump 6 00:00:19,560 --> 00:00:22,250 to resizing like this even sooner. 7 00:00:22,260 --> 00:00:29,990 So underneath our margin right of 5 am on the estimate button let's add a margin left of 2 am. 8 00:00:30,690 --> 00:00:33,430 And now let's resize the screen before we save that. 9 00:00:33,430 --> 00:00:38,220 So you can see them right next to each other and I'll save this and the page will refresh. 10 00:00:38,340 --> 00:00:44,040 And now they're stacked on top of one another because it's creating a nice little buffer zone without 11 00:00:44,040 --> 00:00:51,680 ever quite touching Let's continue though and remember how I said we wanted all this to just be perfectly 12 00:00:51,680 --> 00:00:54,990 centered when we're at this smaller screen size. 13 00:00:55,080 --> 00:00:58,750 You can see right now it's actually pushing and creating a little bit of a buffer here. 14 00:00:58,760 --> 00:01:04,820 So you definitely have to fix that but to get this to be aligned vertically and to all be censored we 15 00:01:04,820 --> 00:01:12,530 need to be changing a direction from our row the default to the column layout that we've been using 16 00:01:12,530 --> 00:01:15,290 for our mobile devices. 17 00:01:15,290 --> 00:01:24,110 So let's come up and at the top here let's import under the Button arrow will import our use media query 18 00:01:24,680 --> 00:01:35,870 from material dash UI slash core slash use media query and then we can come down and create the constant 19 00:01:36,140 --> 00:01:46,850 matches S.M. equal to the use media query function passing in our theme dot breakpoints dot down for 20 00:01:46,880 --> 00:01:48,380 small. 21 00:01:48,630 --> 00:01:55,140 Now we can dynamically change the direction for our container based on the screen size so it will ad 22 00:01:55,170 --> 00:01:59,940 our direction property and we'll check our matches. 23 00:01:59,970 --> 00:02:08,760 S M variable and if we are at the small screen sizes let's use our column layout otherwise we'll stick 24 00:02:08,850 --> 00:02:16,500 to the default of row so we can save that and we'll see the page refresh and this looks good there definitely 25 00:02:16,500 --> 00:02:24,690 laid up vertically now but now the justify of space between the we've set is pushing our items away 26 00:02:24,690 --> 00:02:30,630 from each other in the vertical direction when now I think we'd actually rather than be closer together 27 00:02:30,930 --> 00:02:39,540 so let's add a ternary statement to justify property as well giving it a matches S M to check and if 28 00:02:39,540 --> 00:02:47,550 that's true we will be centered and otherwise we'll leave our space between so let's save that and we'll 29 00:02:47,550 --> 00:02:53,940 see now that is looking a lot better it's definitely on the right track it's censored up but the alignment 30 00:02:53,970 --> 00:03:01,470 isn't quite perfect and we actually need that text to be centered as well so we have our container here 31 00:03:01,470 --> 00:03:09,900 with the text and we can add another property to its style here which will check for text align and 32 00:03:09,900 --> 00:03:20,310 it will check the matches S.M. variable and if that is true then we'll set a center text the line otherwise 33 00:03:20,460 --> 00:03:24,690 we'll leave it to inherits whatever it had been using before. 34 00:03:24,690 --> 00:03:25,950 So let's save this. 35 00:03:25,950 --> 00:03:33,120 Now we'll see the page refresh and now our text is censored but the learn more button still is set over 36 00:03:33,120 --> 00:03:34,130 to the left. 37 00:03:34,230 --> 00:03:37,830 And that's because it's in it's own grid container. 38 00:03:37,920 --> 00:03:43,980 So let's go ahead and since it's a container we can use our justifying and a line items properties to 39 00:03:43,980 --> 00:03:50,370 align it and we want to move it over to the right and this container is set with a default direction 40 00:03:50,370 --> 00:03:55,410 of row with the main axis being the horizontal direction. 41 00:03:55,470 --> 00:04:03,210 So let's set the justify property but we'll need a ternary statement to check our matches small breakpoint 42 00:04:03,660 --> 00:04:11,160 and if we are here then let's sensor it up otherwise we'll set it to on defined as if we hadn't ever 43 00:04:11,160 --> 00:04:12,260 messed with it at all. 44 00:04:12,270 --> 00:04:14,020 So let's save this. 45 00:04:14,130 --> 00:04:21,480 We'll see the page refresh and now we have a centered button we still have a couple alignment things 46 00:04:21,480 --> 00:04:29,490 to take care of though and you can see the text is being pushed over here thanks to our 5 m margin there 47 00:04:29,490 --> 00:04:35,850 we're setting which now needs to only be set if we're above these small breakpoints so we'll check the 48 00:04:35,850 --> 00:04:43,080 matches small breakpoint here and if that's true let's get rid of the margin otherwise we can leave 49 00:04:43,080 --> 00:04:50,880 it with the 5 m so let's save that see the page refresh and now that is properly centered and that just 50 00:04:50,880 --> 00:04:57,960 leaves the Free Estimate button which still has a little offset alignment because we're actually setting 51 00:04:57,990 --> 00:05:07,680 our margin here on the estimate button a margin right and left in so let's add a theme top breakpoints 52 00:05:07,800 --> 00:05:17,760 dot down for the small breakpoints and here let's set our margin left to zero and our margin right to 53 00:05:17,760 --> 00:05:27,420 zero so let's save that see the page refresh and now we have a very clean looking call to action so 54 00:05:27,450 --> 00:05:28,860 let's give it the test. 55 00:05:28,860 --> 00:05:30,200 We'll start here. 56 00:05:30,220 --> 00:05:32,740 Let's resize it all the way up. 57 00:05:32,770 --> 00:05:34,690 It looks really great. 58 00:05:34,710 --> 00:05:36,280 Keep resizing. 59 00:05:36,330 --> 00:05:39,180 You see it begins to take up the space available to it. 60 00:05:39,390 --> 00:05:44,590 It's never gonna get too close because then it jumps into our nice since centered style. 61 00:05:44,740 --> 00:05:46,730 Man I love the way this looks. 62 00:05:46,750 --> 00:05:53,790 We'll keep going up and now we have our nice big full screen picture which looks great the whole way 63 00:05:53,790 --> 00:05:55,630 up and down. 64 00:05:55,650 --> 00:05:57,740 I really love the way this looks. 65 00:05:57,750 --> 00:06:03,140 I think this came out perfect like I could not have asked for this to be any better. 66 00:06:03,150 --> 00:06:08,310 There is a tiny little thing that I've thought of that we could do to make this a little cooler. 67 00:06:08,430 --> 00:06:14,110 And I was thinking about this when I designed it instead of just having the image here. 68 00:06:14,130 --> 00:06:18,170 Let's go ahead and make that a light parallax effect. 69 00:06:18,270 --> 00:06:23,010 And so the image kind of looks like it's staying still but the Web site is moving around it. 70 00:06:23,400 --> 00:06:28,890 I really like that work honestly and I think it would do well here for our call to action. 71 00:06:28,890 --> 00:06:38,200 So on our background a style we need to set a background attachment property of fixed. 72 00:06:38,280 --> 00:06:43,770 Make sure to get the comma after that and we'll save this when the page refreshes. 73 00:06:43,830 --> 00:06:51,370 You'll now see we've got a nice parallax effect so it looks like the image is just staying still. 74 00:06:51,540 --> 00:06:56,350 And our text is now moving around and on top of it. 75 00:06:56,370 --> 00:07:02,400 So as we scroll down bam pictures already their text floats up into position. 76 00:07:02,460 --> 00:07:03,510 I really like this. 77 00:07:03,540 --> 00:07:09,450 I think that adds a super cool book there is eye catching for people and just adds an extra layer of 78 00:07:09,450 --> 00:07:12,400 interactivity and engagement to your site. 79 00:07:12,480 --> 00:07:18,930 There is more static otherwise but I think that looks really good except when we string all the way 80 00:07:18,930 --> 00:07:21,380 down on mobile devices. 81 00:07:21,480 --> 00:07:24,320 I don't think I really want that look. 82 00:07:24,330 --> 00:07:26,700 Honestly I think they'll mobile devices. 83 00:07:26,700 --> 00:07:33,480 I think it would look a little bit better if we left it how it was so we can sit on our medium breakpoint 84 00:07:33,780 --> 00:07:40,080 a background Attachment Attachment to inherits. 85 00:07:40,080 --> 00:07:43,390 And so that will make it use wherever it was using before. 86 00:07:43,390 --> 00:07:47,460 So we'll go ahead and save that see the page or refresh. 87 00:07:47,460 --> 00:07:52,340 And now we have a static call to action for our mobile site. 88 00:07:52,440 --> 00:07:55,890 So let's see that one more time again all the way up. 89 00:07:55,920 --> 00:07:57,330 Full screen. 90 00:07:57,510 --> 00:08:01,080 It's got some parallax effect that looks really great. 91 00:08:01,110 --> 00:08:07,140 And as we resize this the buttons and the text stay in the right places taking up the correct amount 92 00:08:07,140 --> 00:08:13,950 of space until we get close enough that they don't have enough space anymore and it jumps to being nice 93 00:08:13,950 --> 00:08:15,010 and centered. 94 00:08:15,130 --> 00:08:22,260 I just think that looks so good and matches so well with all the rest of the site there his really just 95 00:08:22,260 --> 00:08:30,920 came together so quickly and so well looking so clean and professional and really without a ton of back 96 00:08:30,920 --> 00:08:32,830 breaking work on our part. 97 00:08:32,940 --> 00:08:38,100 You know I know it is a lot putting all the material UI components together and you know customizing 98 00:08:38,100 --> 00:08:44,610 a lot of our styles but at the end of the day material UI is doing so much for us to make all of this 99 00:08:44,610 --> 00:08:51,540 happen and to make it so easily responsive and just look so great for all the different screen sizes. 100 00:08:51,540 --> 00:08:59,730 And it really just I think came out as perfectly close to the design as possible with a couple of executive 101 00:08:59,730 --> 00:09:04,730 improvements that I think did a good job of fine tuning things up just a little bit. 102 00:09:04,830 --> 00:09:11,040 But now we have really a great looking landing page and the fact that it is so perfectly responsive 103 00:09:11,100 --> 00:09:17,850 for any screen size I think really shows a different level of skill besides just putting together some 104 00:09:17,850 --> 00:09:25,440 react application got so much done through this section and really learned a law and hit home all of 105 00:09:25,440 --> 00:09:31,530 the material UI concepts like the grid system and the responsive design system that we've been really 106 00:09:31,530 --> 00:09:33,450 focusing on throughout this course. 107 00:09:33,510 --> 00:09:40,500 I think you'll really be feeling better now about creating powerful layouts with material UI. 108 00:09:40,620 --> 00:09:45,690 We have just a little bit of cleanup to do in the next video before we finish up this section. 109 00:09:45,690 --> 00:09:47,520 So I will see you over there. 12303

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.