All language subtitles for 3. Services Page - Setup

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,290 --> 00:00:07,800 And here we are at the code editor and on the home page of our project which I have running with the 2 00:00:07,800 --> 00:00:14,040 development server if we scroll down you'll see the services section that we had just created on our 3 00:00:14,040 --> 00:00:14,990 landing page. 4 00:00:15,090 --> 00:00:22,060 And this is very similar to the structure for the services page that we're about to create the layout 5 00:00:22,090 --> 00:00:25,570 that we're about to create is basically the mirror of this. 6 00:00:25,570 --> 00:00:32,280 So instead of having the top section on the left we'll have it on the right in the middle section will 7 00:00:32,290 --> 00:00:38,020 be on the left instead of right and the bottom section will be on the right instead of the left as well 8 00:00:39,540 --> 00:00:46,210 start though by coming up to the components folder and let's add a new file here called serve. 9 00:00:46,210 --> 00:00:49,510 This is a dot J S create that. 10 00:00:49,740 --> 00:00:56,300 And here let's importers some of our basics like react from react. 11 00:00:56,730 --> 00:01:14,720 We import the link from the act or router or Dom and then import import or make styles from material. 12 00:01:14,750 --> 00:01:25,770 You I slash core slash styles and then we'll also go ahead and import the grid from material UI core 13 00:01:26,400 --> 00:01:30,440 grid and we'll import the typography components 14 00:01:37,140 --> 00:01:49,520 and we'll import the button component material UI to real UI slash core slash button then we'll come 15 00:01:49,520 --> 00:01:59,810 down and we will create our constant of use styles set to make styles function calling our theme arrow 16 00:01:59,810 --> 00:02:01,580 function. 17 00:02:01,580 --> 00:02:09,980 And be sure to get the parentheses brackets open it up and then come down to export default function 18 00:02:10,310 --> 00:02:21,450 services open this up and now we'll create the constant of classes with our use styles hook. 19 00:02:21,530 --> 00:02:30,410 Now let's return a grid container direction of column. 20 00:02:30,410 --> 00:02:35,940 Remember we said that that is what we needed for our entire wrapping component for the page. 21 00:02:35,990 --> 00:02:42,590 And now that we have that we need to go and let's copy the grid items that we have created on the landing 22 00:02:42,590 --> 00:02:44,830 page for these services block. 23 00:02:44,840 --> 00:02:51,810 So on the landing page dot J.S. will come down and let's scroll down past the hero block to here. 24 00:02:51,830 --> 00:03:00,440 This grid item wrapping the container direction row and we'll go ahead and we'll start here and we will 25 00:03:00,440 --> 00:03:01,320 go down. 26 00:03:01,470 --> 00:03:04,840 We'll copy that entire software blog. 27 00:03:04,850 --> 00:03:13,850 Keep scrolling past Iaw and Android blog to the Web sites blog all the way down to just above the revolution 28 00:03:13,850 --> 00:03:17,120 block the opening grid tag there just above that. 29 00:03:17,120 --> 00:03:21,870 This last closing grid tag and we will copy all of that. 30 00:03:21,980 --> 00:03:28,310 So get that copied foot back over to the services dot J us and we can just go ahead and paste that right 31 00:03:28,310 --> 00:03:32,510 in between our great right and right off the bat. 32 00:03:32,520 --> 00:03:32,940 You see. 33 00:03:32,970 --> 00:03:38,340 Yes Linton is throwing some problems because we don't have any of these variables that were set up so 34 00:03:38,370 --> 00:03:40,560 let's start by scrolling back up to the top. 35 00:03:40,560 --> 00:03:53,580 And let's import a couple more things like our import use media query from material to a real UI slash 36 00:03:53,580 --> 00:03:59,460 core slash use media query and then inside of the import. 37 00:03:59,490 --> 00:04:03,570 Next to make styles will also import use theme. 38 00:04:03,570 --> 00:04:04,880 So we'll come down. 39 00:04:04,890 --> 00:04:09,150 And underneath are constant of classes. 40 00:04:09,150 --> 00:04:14,320 Let's add the constant of theme equal to use theme. 41 00:04:14,520 --> 00:04:25,870 And then we will set our constant matches small equal to our use media query called with theme break 42 00:04:26,200 --> 00:04:33,040 points down for small still have some more things to set up. 43 00:04:33,090 --> 00:04:38,940 You see we don't have props defined and we actually haven't even rendered this component yet. 44 00:04:39,210 --> 00:04:42,930 So we can go ahead and in our app dot J.S. file. 45 00:04:42,930 --> 00:04:51,190 Let's go ahead and we will import the services component from DOS slash services. 46 00:04:51,270 --> 00:04:58,200 And I realized earlier that up here I was always going up a directory and then into components when 47 00:04:58,380 --> 00:05:02,390 we're in the components directory already with our app J.S. file. 48 00:05:02,430 --> 00:05:05,820 So if you saw that and wondered why I did that earlier I don't know either. 49 00:05:05,880 --> 00:05:14,670 So we'll just get rid of that and you can just use the in directory reference with just the dot slash 50 00:05:14,970 --> 00:05:20,250 and then UI or does slash the component. 51 00:05:20,250 --> 00:05:27,930 So just dot slash services is all we need to import that and we can come down now to where we're rendering 52 00:05:27,960 --> 00:05:34,500 our services dummy components and let's change that now to render our services component but we want 53 00:05:34,500 --> 00:05:40,150 to render it with the props that we had been using for the landing page in the header and footer. 54 00:05:40,170 --> 00:05:46,130 So let's go ahead and use this render props syntax that we used for the landing page. 55 00:05:46,170 --> 00:05:52,740 So go ahead and copy that render of property and let's get rid of this component property here on the 56 00:05:52,740 --> 00:05:53,860 services path. 57 00:05:53,940 --> 00:05:56,570 So all the way down to this last little bracket. 58 00:05:56,850 --> 00:06:03,130 And let's paste in that render property but change landing page to now services. 59 00:06:03,240 --> 00:06:04,920 So can go ahead and save that. 60 00:06:05,180 --> 00:06:11,590 And now our services page will be being rendered we still have a couple of things to do to get it out 61 00:06:11,590 --> 00:06:12,480 on the screen though. 62 00:06:12,490 --> 00:06:19,600 So let's come back to services digest and now inside of our function call we can take it the props which 63 00:06:19,600 --> 00:06:25,350 we had needed and we can scroll down to see and now it looks like we need our button arrow. 64 00:06:25,390 --> 00:06:38,080 So we'll come up let's import the button arrow from slash UI slash button Arrow slash up there we don't 65 00:06:38,080 --> 00:06:38,560 need that. 66 00:06:39,040 --> 00:06:41,530 So it's come down we'll see what else we need. 67 00:06:41,560 --> 00:06:47,830 It's like we need the custom software icon the mobile apps icon and the website's icon. 68 00:06:47,830 --> 00:06:49,620 I think those are the last things. 69 00:06:49,630 --> 00:06:59,770 So underneath our button arrow it's import the custom software icon from dot dot slash assets slash 70 00:06:59,920 --> 00:07:13,150 custom software icon will import mobile apps icon from Doctor slash assets slash mobile mobile icon 71 00:07:13,840 --> 00:07:22,530 and import the website's icon from up directory assets Web site icon. 72 00:07:23,320 --> 00:07:25,960 Let's go ahead and we'll save the services page now. 73 00:07:26,230 --> 00:07:31,300 Our development server refresh and what's come up to our services tab now. 74 00:07:31,330 --> 00:07:33,520 We go ahead and select the services route. 75 00:07:33,670 --> 00:07:41,130 And here we are taken to these services page here we have the services block that we had just copied 76 00:07:41,130 --> 00:07:41,720 over. 77 00:07:41,820 --> 00:07:45,300 But it looks like we're still missing a few of these styles. 78 00:07:45,330 --> 00:07:51,490 So the learn more buttons don't look correct and our containers should be a little bit differently styled. 79 00:07:51,840 --> 00:08:00,270 So we also need to go over to the landing page file again and scroll down a here in our styles to where 80 00:08:00,270 --> 00:08:02,550 we have the services. 81 00:08:02,640 --> 00:08:10,020 There are service container the icon and the subtitle and a special text styles. 82 00:08:10,210 --> 00:08:10,510 OK. 83 00:08:10,530 --> 00:08:17,190 So we're going to copy all of those styles go back to our services page and let's paste them into our 84 00:08:17,190 --> 00:08:23,940 styles object here and then let's go back one more time and come up to the learn button style. 85 00:08:23,940 --> 00:08:25,280 So we'll copy that. 86 00:08:25,410 --> 00:08:28,530 Go back over and paste that in as well. 87 00:08:28,680 --> 00:08:32,200 Go ahead and save the services page now to see refresh. 88 00:08:32,290 --> 00:08:39,030 And now we've got all these styles that we had been looking for this is already really close to the 89 00:08:39,030 --> 00:08:45,750 entire services page being finished basically except remember how we needed the layout to be mirrored 90 00:08:45,840 --> 00:08:46,560 essentially. 91 00:08:46,650 --> 00:08:52,320 So we need this left side over on the right this right side over on the left and this left side over 92 00:08:52,320 --> 00:08:54,600 on the right. 93 00:08:54,600 --> 00:09:02,270 Not only that I also want the custom software development section to now be the second section so that 94 00:09:02,280 --> 00:09:05,010 it will be the one in the middle on the left. 95 00:09:05,010 --> 00:09:12,120 So to do that we'll scroll down here and the services dot J.S. file and we'll find the grid item containing 96 00:09:12,150 --> 00:09:19,020 our IAW an android block and let's go ahead and we'll take that entire grid item. 97 00:09:19,020 --> 00:09:25,080 Make sure you have all the way down to the right grid item tag and we will cut that and then come up 98 00:09:25,140 --> 00:09:29,720 above the item for the custom software block. 99 00:09:29,760 --> 00:09:36,960 So right underneath our grid container direction column and let's paste that item in so we'll save that 100 00:09:37,170 --> 00:09:41,790 the page will refresh and now you can see that those items have switched places. 101 00:09:43,220 --> 00:09:47,870 Since we switched places with ones that were already actually on the sides that we needed. 102 00:09:47,870 --> 00:09:50,180 So the right side is now here on the right. 103 00:09:50,180 --> 00:09:52,140 This middle section is on the left. 104 00:09:52,190 --> 00:09:59,600 So now we just need to get the website section here over on the right which we can do very easily if 105 00:09:59,600 --> 00:10:01,820 we come down and on the web. 106 00:10:01,850 --> 00:10:07,910 BLOCK here where we're setting the justify property because remember we're wanting to move this over 107 00:10:07,910 --> 00:10:14,960 to the right in the horizontal direction and since we're in the direction of row that's our main access 108 00:10:14,990 --> 00:10:18,060 which we can specify with the justify property. 109 00:10:18,230 --> 00:10:24,860 And here instead of setting undefined if we're above the small breakpoint which the default is this 110 00:10:24,860 --> 00:10:33,050 left alignment let's go ahead and it will set a flex and property to this which will align our item 111 00:10:33,320 --> 00:10:38,700 to the right end of the main axis are horizontal right direction. 112 00:10:38,780 --> 00:10:42,290 So we go ahead and save the file we'll see the page refresh. 113 00:10:42,380 --> 00:10:47,920 And now our item has jumped over there was a couple things to keep in mind here. 114 00:10:47,940 --> 00:10:53,340 The first being that we did have the website development section over on this left side. 115 00:10:53,340 --> 00:10:58,890 And so we had been creating a left border over here like with the custom software development section 116 00:10:59,220 --> 00:11:03,570 which you can see here with our margin left of 5 m. 117 00:11:03,660 --> 00:11:09,240 And now that we're on the right side we don't want this invisible margin over here. 118 00:11:09,240 --> 00:11:15,750 So what's actually cut this property will cut that whole property off of here and we'll scroll down 119 00:11:15,780 --> 00:11:24,930 to the item wrapping our Web site icon image and we'll give it a style equal to the property that we 120 00:11:24,930 --> 00:11:31,210 had just copied and let's change the margin left to a margin of right. 121 00:11:31,230 --> 00:11:36,840 And so that will give us these same five m margin above over here on the right side. 122 00:11:36,870 --> 00:11:43,710 So we'll save that and now you see that we do have that spacing which is consistent with the spacing 123 00:11:43,800 --> 00:11:44,400 up above. 13552

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