All language subtitles for 19. The Revolution Page - Technology & Vision

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian Download
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,130 --> 00:00:07,670 We'll jump right into building the revolution page by coming over to our components folder and let's 2 00:00:07,670 --> 00:00:15,480 add a new file called Revolution dot J.S. here. 3 00:00:15,490 --> 00:00:29,320 Let's import react from react import make styles and use theme from material dash UI slash core slash 4 00:00:29,440 --> 00:00:38,920 styles and then we'll import the grid component from material dash UI slash core slash grid and import 5 00:00:38,920 --> 00:00:49,460 the typography component from material UI typography then let's create our constant of use styles with 6 00:00:49,460 --> 00:00:57,890 the make styles function calling our theme then the arrow function that will return with an object then 7 00:00:57,890 --> 00:01:09,380 we can export default our function revolution Lu Shen open it up and create our constant of classes 8 00:01:09,830 --> 00:01:16,980 use styles and our constant of theme use theme. 9 00:01:17,170 --> 00:01:29,210 Now we can go ahead and return a grid container direction of column for our entire page inside of here 10 00:01:29,220 --> 00:01:41,850 we can add a grid item wrapping our typography variant of H to saying the revolution and now let's go 11 00:01:41,850 --> 00:01:52,560 over to app dot J.S. and let's import the revolution from dot slash revolution and we'll come down to 12 00:01:52,590 --> 00:01:59,250 where we have our revolution dummy component and let's go ahead and copy the render prop from a previous 13 00:01:59,250 --> 00:02:08,120 route and then we will replace this with the render prop and Change website to revolution and now we 14 00:02:08,120 --> 00:02:15,140 can save this and then we'll come up to revolution dot J.S. and we can save this file as well and so 15 00:02:15,140 --> 00:02:20,780 now if we come over and we go to the revolution page you can see the text is still the same. 16 00:02:20,780 --> 00:02:25,790 That's because I need to go ahead and refresh the page get my server up and running again and you can 17 00:02:25,790 --> 00:02:33,000 see this styled text is there let's tweak this title though because we know that in the design file 18 00:02:33,030 --> 00:02:42,450 has that special font so let's add a style here of font family Pacific code and then we can save that 19 00:02:42,630 --> 00:02:50,490 and Page will refresh and we now have the correct font I want to come over to the custom software page 20 00:02:50,490 --> 00:02:57,510 real quick and let's actually grab the RO container style and let's go ahead and copy that. 21 00:02:57,570 --> 00:03:04,620 We can close out of custom software and let's go ahead and paste that into our styles object here. 22 00:03:04,640 --> 00:03:11,600 Now we can come down and on the grid item where we're wrapping the revolution typography component let's 23 00:03:11,600 --> 00:03:18,900 add a class name of classes dot row container and we can save that. 24 00:03:19,040 --> 00:03:20,460 And we'll see it jump. 25 00:03:20,570 --> 00:03:24,680 And now we have some padding on the left. 26 00:03:24,810 --> 00:03:28,080 We also need the spacing along the top though. 27 00:03:28,170 --> 00:03:36,240 So let's also give it a style of margin top to M and we can save that to see the spacing. 28 00:03:36,240 --> 00:03:45,960 Now take place we can continue now and start working on that next section with our vision icon and text. 29 00:03:46,010 --> 00:03:54,170 So we'll come down and underneath this grid item let's add a grid item container with a direction of 30 00:03:54,470 --> 00:03:57,230 row and a class name of. 31 00:03:57,230 --> 00:04:00,810 Classes dot row container. 32 00:04:00,830 --> 00:04:08,900 Now what's open that up and we'll first have a grid item and this will wrap in image with a source of 33 00:04:09,470 --> 00:04:20,110 vision and then Ault of mountain through binoculars and then we can close this off. 34 00:04:20,110 --> 00:04:28,480 And now we need to come up and underneath these imports let's import the vision from our assets folder 35 00:04:28,960 --> 00:04:39,450 vision SPG let's save this and we can see now that our vision image is popping up on the page. 36 00:04:39,500 --> 00:04:42,440 Now we can get that text on the right set up. 37 00:04:42,470 --> 00:04:50,810 So in the same row but adjacent to this grid item wrapping the image let's add a grid item container 38 00:04:51,170 --> 00:05:00,530 direction of column and then open that up and we'll put in our first grid item with the typography component 39 00:05:00,830 --> 00:05:08,540 variant H for along with the gutter bottom property and then we'll close that off and insert the title 40 00:05:08,630 --> 00:05:18,610 vision then we can add another grid item so grid item and this will hold the typography variant body 41 00:05:18,730 --> 00:05:23,360 one paragraph for all of our paragraphs. 42 00:05:23,410 --> 00:05:30,520 Let's go ahead and copy that real quick and open up our design file and it will come up over to the 43 00:05:30,520 --> 00:05:33,380 revolution page scroll all the way up. 44 00:05:33,700 --> 00:05:40,480 And here is our vision paragraphs and we'll need one two three four five. 45 00:05:40,480 --> 00:05:43,900 So it's copy this paste it four more times. 46 00:05:43,900 --> 00:05:46,160 One two three four. 47 00:05:46,270 --> 00:05:49,770 And then we can go in and copy in our five paragraphs. 48 00:05:49,780 --> 00:05:56,690 So the first one go right here this second paragraph. 49 00:05:56,690 --> 00:05:58,010 Paste that in. 50 00:05:58,340 --> 00:06:00,350 Grab the third paragraph. 51 00:06:00,440 --> 00:06:07,340 Get that in there copy the fourth and get the last paragraph. 52 00:06:08,370 --> 00:06:11,440 Paste that in and then we can minimize our design file. 53 00:06:11,520 --> 00:06:14,790 Save the page and we'll see this refresh. 54 00:06:14,790 --> 00:06:22,290 And we have our text we can start working on this by making these items actually share the space in 55 00:06:22,290 --> 00:06:28,410 that row so that they'll be on the same line and instead of stacked on top of one another like this. 56 00:06:28,410 --> 00:06:36,510 So what's come up and on the grid item here for wrapping our image let's add the large property and 57 00:06:36,510 --> 00:06:39,860 onto the grid item container direction of column. 58 00:06:39,960 --> 00:06:42,390 We'll add the large property as well. 59 00:06:42,390 --> 00:06:45,060 So like the medium breakpoint property. 60 00:06:45,060 --> 00:06:53,040 This will tell are grid items to share the space available to them all the way through the large breakpoint 61 00:06:53,250 --> 00:06:56,940 but underneath it then they can stack on top of one another. 62 00:06:57,930 --> 00:07:01,630 So if we go ahead and save that we'll see the page refresh. 63 00:07:01,730 --> 00:07:07,830 And now our two items are sharing the space and sitting side by side. 64 00:07:07,880 --> 00:07:13,910 We need the image to be censored down more though we want it to be centered vertically here with the 65 00:07:13,910 --> 00:07:14,720 text. 66 00:07:14,720 --> 00:07:21,440 So if we want to move it down and have it centered vertically and we're in a container with a direction 67 00:07:21,440 --> 00:07:22,520 of row. 68 00:07:22,670 --> 00:07:25,880 So the main axis here is horizontal. 69 00:07:26,060 --> 00:07:32,390 So if we want to center this vertically we'll need to adjust to the cross axis which we can do with 70 00:07:32,390 --> 00:07:40,910 the align line items property so we can set this to center and we can save this and we'll see now they 71 00:07:40,910 --> 00:07:48,930 are icon did indeed jump to the center so it's good so far but we don't want any of this text here to 72 00:07:48,930 --> 00:07:52,370 be left aligned seeing that it's on the right side. 73 00:07:52,500 --> 00:07:59,700 So let's go ahead and even on the variant of H for typography component for the title let's add in a 74 00:07:59,700 --> 00:08:01,680 line of right. 75 00:08:01,710 --> 00:08:09,570 We can go ahead and let's copy that value and paste that onto all the typography is for our paragraphs 76 00:08:09,810 --> 00:08:10,610 as well. 77 00:08:10,680 --> 00:08:15,920 Once we get that we can save and we'll see all the text has jumped over to the right side. 78 00:08:17,300 --> 00:08:22,250 Now I'll show you if we go ahead and make this screen all the way large. 79 00:08:22,250 --> 00:08:28,850 They are text is definitely spreading out too far and this makes it very unreadable when it's all spread 80 00:08:28,850 --> 00:08:29,830 out like this. 81 00:08:29,900 --> 00:08:36,920 So let's shrink that back down and on our grid item container direction of column. 82 00:08:37,070 --> 00:08:48,620 Let's add a style here with a max width with of 40 M and then I'm also gonna want to come up and on 83 00:08:48,620 --> 00:08:50,780 our actual image tag. 84 00:08:50,780 --> 00:08:52,710 Let's add a style here. 85 00:08:52,840 --> 00:09:04,730 His style as well with a max width again of 40 m but I also want to give it a margin right of 5 m 5 86 00:09:04,730 --> 00:09:10,220 am and that's so that we're not going to be pressed quite so close up against the text here. 87 00:09:10,250 --> 00:09:16,390 So if we save that we'll see that that jumps and the icon is actually now slightly smaller. 88 00:09:16,410 --> 00:09:21,920 So I don't know if you can tell but it is a little bit smaller and I think it just makes it look a bit 89 00:09:21,920 --> 00:09:29,220 better the next part of this page is pretty similar to this first section because instead of having 90 00:09:29,220 --> 00:09:34,680 just the image on the left and the text on the right we're going to put the text on the left and we're 91 00:09:34,680 --> 00:09:36,800 gonna put an animation on the right. 92 00:09:36,960 --> 00:09:43,800 But this structure is very similar so let's actually go ahead and find this row container and let's 93 00:09:43,800 --> 00:09:45,720 go ahead and copy. 94 00:09:45,840 --> 00:09:48,750 We're gonna go ahead and copy that entire thing. 95 00:09:48,900 --> 00:09:50,040 So Copy that. 96 00:09:50,040 --> 00:09:58,010 And now underneath it make sure there's only one grid tag underneath you and paste that inside the first 97 00:09:58,010 --> 00:10:04,110 step we'll do is come up and copy that grid item large wrapping the image. 98 00:10:04,250 --> 00:10:11,720 Let's cut that and come underneath find the closing tag for the grid item container direction of column 99 00:10:12,140 --> 00:10:16,520 and paste that grid item underneath. 100 00:10:16,530 --> 00:10:20,790 Now what's changed this title from vision to technology. 101 00:10:22,100 --> 00:10:29,750 And then we'll bring up the design file and we can come over and let's copy in all of these paragraphs 102 00:10:29,810 --> 00:10:30,330 as well. 103 00:10:30,350 --> 00:10:30,920 Real quick 104 00:10:38,820 --> 00:10:39,250 okay. 105 00:10:39,270 --> 00:10:45,630 And it looks like we'll need to copy the typography component paste that two more times so that we can 106 00:10:45,630 --> 00:10:51,420 get these last two paragraphs in and get those 107 00:10:54,080 --> 00:10:54,740 okay. 108 00:10:54,780 --> 00:11:00,780 And now we can actually go and since this is now going to be on the left side of the page let's get 109 00:11:00,780 --> 00:11:02,780 rid of this a line equals. 110 00:11:02,790 --> 00:11:03,570 Right. 111 00:11:03,630 --> 00:11:06,170 We're not going to need that. 112 00:11:06,330 --> 00:11:14,120 So we can close all those out of here including the one on our title. 113 00:11:14,240 --> 00:11:17,730 And now let's give it a save to see where we're at. 114 00:11:17,840 --> 00:11:23,090 We can see this popped up and we've still got the same image because we didn't change that but now we 115 00:11:23,090 --> 00:11:28,170 do have all of our technology paragraphs as well as the correct alignment. 116 00:11:28,190 --> 00:11:34,790 Since it's now on the left side so we're already pretty close but let's get this image changed to our 117 00:11:34,790 --> 00:11:39,180 animation and we'll start by coming over and on the landing page. 118 00:11:39,290 --> 00:11:44,670 We can come over and let's grab the default options constant. 119 00:11:44,670 --> 00:11:50,210 So we'll copy that from the landing page and then we'll come back to the revolution and let's go ahead 120 00:11:50,210 --> 00:11:58,820 and paste that under our constant of theme and then what's come of an under vision will import technology 121 00:11:59,150 --> 00:12:07,230 animation from animations technology animation slash data Jason. 122 00:12:07,400 --> 00:12:15,320 And now what's passe in the technology animation to our animation data and now we can come down and 123 00:12:15,320 --> 00:12:22,640 where we have this image for the vision let's get rid of this and replace it with a lot of components 124 00:12:22,940 --> 00:12:29,070 with the options set to our default options and then we can close this off. 125 00:12:29,150 --> 00:12:38,270 And now we need to go back up and let's import the lady component from react lady. 126 00:12:38,360 --> 00:12:40,670 So now we can give this a save. 127 00:12:40,670 --> 00:12:42,300 And it should refresh. 128 00:12:42,380 --> 00:12:45,990 And now we have our animation here instead of that icon. 129 00:12:46,050 --> 00:12:51,560 And so this is a little animation that I made with just little different pieces of technology kind of 130 00:12:51,560 --> 00:12:59,150 in my head how they've sort of progressed from it like a club just a stick to fire a hammer we can make 131 00:12:59,150 --> 00:13:06,170 things and we had photography made calculators which turned into computers which turned into our cell 132 00:13:06,170 --> 00:13:06,650 phones. 133 00:13:06,650 --> 00:13:12,310 So that's just a little animation hope that makes sense but I'm gonna go ahead and I'm going to add 134 00:13:12,320 --> 00:13:16,270 that is stopped equals true. 135 00:13:16,520 --> 00:13:24,180 That way they won't continuously keep playing so we'll just see this big club right there to get to 136 00:13:24,180 --> 00:13:26,050 a good stopping point real quick. 137 00:13:26,100 --> 00:13:34,750 Let's go ahead and we'll add a style to this audio component giving it a max width of 40 M that way 138 00:13:34,750 --> 00:13:38,430 it never gets quite so big because here it is very large. 139 00:13:38,430 --> 00:13:41,400 So we can save that and it will refresh. 140 00:13:41,400 --> 00:13:48,540 Now it's a little bit smaller but now let's come and we'll increase the size of this page and you see 141 00:13:48,570 --> 00:13:50,820 how the alignment isn't exactly correct. 142 00:13:50,820 --> 00:13:58,230 We've got a nice spacing up here but the animation is actually sitting too close to the technology section. 143 00:13:58,230 --> 00:14:08,100 So let's go ahead and we'll add onto this row actually not on the row but on the grid item wrapping 144 00:14:08,160 --> 00:14:09,570 the lady component. 145 00:14:09,630 --> 00:14:18,330 So if we were to make this item a container and then tried to set this container with a justify of a 146 00:14:18,360 --> 00:14:19,160 flex. 147 00:14:19,270 --> 00:14:26,700 And so that hopefully it would push this animation over to the right end of its container and keep it 148 00:14:26,730 --> 00:14:29,700 over in line with the text up above. 149 00:14:29,700 --> 00:14:36,090 Well we can give that a shot and save this and we'll see the page refresh but nothing has happened it 150 00:14:36,090 --> 00:14:37,540 hasn't moved at all. 151 00:14:37,560 --> 00:14:43,830 So to figure out what's going on let's go to our inspector will inspect the page and we can come down 152 00:14:43,860 --> 00:14:45,380 and here's our div. 153 00:14:45,420 --> 00:14:47,210 So let's open this up. 154 00:14:47,250 --> 00:14:50,760 Here is the first div for our paragraph that looks fine. 155 00:14:50,760 --> 00:14:54,150 The borders are only around the content that we need it to be. 156 00:14:54,210 --> 00:14:59,880 But now if we go through the other div we see that this div is taking of way more space than we actually 157 00:14:59,880 --> 00:15:00,870 need it to be. 158 00:15:00,870 --> 00:15:09,600 So if we cook on this let's open it up and inside we can see that this div right here has a margin. 159 00:15:09,660 --> 00:15:13,730 You can see these two giant orange boxes the orange box. 160 00:15:13,740 --> 00:15:15,300 That means margin. 161 00:15:15,390 --> 00:15:22,800 So if I scroll down in here you see here highlight this margin and it says we have three hundred ninety 162 00:15:22,800 --> 00:15:26,630 five point five points margin all the way around the animation. 163 00:15:26,790 --> 00:15:29,010 So we definitely don't want that. 164 00:15:29,010 --> 00:15:38,100 So what's come over and on the lobby components with our Max width of 40 let's also set a margin of 165 00:15:38,210 --> 00:15:38,970 zero. 166 00:15:39,330 --> 00:15:39,620 OK. 167 00:15:39,630 --> 00:15:44,910 And I'm going to remove the justify a flex and first second I'll just cut that but make sure you have 168 00:15:44,910 --> 00:15:48,230 the style margin zero and we can save this. 169 00:15:48,230 --> 00:15:49,800 The page will refresh. 170 00:15:49,800 --> 00:15:55,130 You can see that a now jumped over and is now much closer to the text. 171 00:15:55,140 --> 00:16:01,860 So now if we go ahead and we give it the justify of flex and we can hit save. 172 00:16:01,860 --> 00:16:09,090 And now the animation is being pulled over to the end of its container and we now have a nice alignment 173 00:16:09,300 --> 00:16:10,470 that we had been going for. 18592

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