All language subtitles for 6. Using Grids - Navigation

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
cs Czech
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
fa Persian Download
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:00,590 --> 00:00:07,100 If you remember from the documentation, we actually have a spacing property, which we can add to each 2 00:00:07,160 --> 00:00:07,980 container. 3 00:00:08,450 --> 00:00:15,110 So if we add right after the direction equals column a spacing property of two. 4 00:00:15,410 --> 00:00:22,160 That's going to create a 16 pixel margin around each grid item in this container. 5 00:00:22,490 --> 00:00:27,980 So let's go ahead and add that to each of these, a spacing equal to two. 6 00:00:29,220 --> 00:00:34,110 Spacing equals two, spacing equals two. 7 00:00:34,140 --> 00:00:38,430 And lastly, spacing equals two weeks. 8 00:00:38,760 --> 00:00:39,540 Got all those? 9 00:00:39,840 --> 00:00:40,800 We'll save that. 10 00:00:40,950 --> 00:00:45,630 We'll see the page refresh and now all of our links are spaced out between one another. 11 00:00:46,740 --> 00:00:53,340 Now, though, I want to add some space between our columns as well as get us off of the very top right 12 00:00:53,340 --> 00:00:56,850 there where it's pushed all the way against the edge of the footer. 13 00:00:57,210 --> 00:01:01,370 So let's now come up to our first grid item. 14 00:01:01,410 --> 00:01:12,420 So the main grid item within the container and we'll add a class name here of classes, dot grid item 15 00:01:12,770 --> 00:01:17,820 K and we're going to copy that class and on each of these grid items. 16 00:01:17,880 --> 00:01:22,770 Make sure you don't delete that little bracket there on each of these grid items. 17 00:01:22,800 --> 00:01:24,600 We're going to paste that class name. 18 00:01:24,820 --> 00:01:26,200 Space, the class name. 19 00:01:26,560 --> 00:01:28,200 It's the class name. 20 00:01:28,230 --> 00:01:29,610 Paste the costs name. 21 00:01:30,030 --> 00:01:37,570 And we're going to come up and we'll add our grid item style with just a margin of three M. 22 00:01:37,770 --> 00:01:44,160 And so that will put a responsive margin all the way around our footer links, which should look appropriate 23 00:01:44,160 --> 00:01:46,080 for all screen sizes. 24 00:01:46,110 --> 00:01:49,620 So if we go ahead and we save that, we'll see the page refresh. 25 00:01:49,830 --> 00:01:55,810 And now our footer is looking much better with a very nice spread out feel to it. 26 00:01:56,860 --> 00:02:00,350 I think that this actually works exactly how I had designed it. 27 00:02:00,610 --> 00:02:04,210 And the only thing that we have now is to actually make these links work. 28 00:02:04,330 --> 00:02:06,760 You see, right now, we can't click on any of these. 29 00:02:07,030 --> 00:02:10,150 And that's because we haven't set up any of the navigation. 30 00:02:10,540 --> 00:02:20,580 So let's go up to the top of our foot or dot G.S. file and let's import the link from react router Dom. 31 00:02:21,040 --> 00:02:25,720 And I'm just going to move this up underneath the react statement. 32 00:02:26,350 --> 00:02:27,580 Just clean that up a little bit. 33 00:02:28,330 --> 00:02:36,240 And on each of our most innermost grid items, we're going to add the component prop. 34 00:02:36,520 --> 00:02:40,870 And just like on the buttons and on every other material UI component. 35 00:02:41,200 --> 00:02:49,570 This is going to allow us to pass in the link functionality to our inside home grid item while maintaining 36 00:02:49,570 --> 00:02:50,950 the correct styles. 37 00:02:51,520 --> 00:02:57,610 So this means we also need a two property to be passed down which route we actually want to navigate 38 00:02:57,610 --> 00:02:57,970 to. 39 00:02:59,060 --> 00:03:06,920 Let's go ahead and copy both of those props and we'll go ahead and add that onto each of our grid items 40 00:03:06,950 --> 00:03:08,000 for each link. 41 00:03:08,270 --> 00:03:12,040 But make sure to change the route to the correct route. 42 00:03:12,320 --> 00:03:18,920 So for each of these services tabs, we're going to set custom software. 43 00:03:19,430 --> 00:03:28,340 And then for this one and set the mobile apps and the Web science pages. 44 00:03:28,700 --> 00:03:34,670 Make sure you get that inside the quotes and then we'll keep coming down and do the same for all of 45 00:03:34,670 --> 00:03:35,570 these links. 46 00:03:38,760 --> 00:03:39,770 Revolution. 47 00:03:39,810 --> 00:03:43,980 And these ones for the revolution will all just go to the revolution page. 48 00:03:45,650 --> 00:03:46,750 Revolution. 49 00:03:49,200 --> 00:03:51,000 And same thing for here. 50 00:03:51,030 --> 00:03:55,800 We'll just do the about page for all of these about. 51 00:04:01,950 --> 00:04:06,180 And finally, for our slash contact. 52 00:04:06,270 --> 00:04:08,530 So if we go ahead, we save this. 53 00:04:08,550 --> 00:04:10,040 We'll see the page refresh. 54 00:04:10,440 --> 00:04:17,160 And now we've actually got an underline under all of these links because they're being styled as links. 55 00:04:17,550 --> 00:04:22,370 So to get rid of that, let's go back up and where we already have our link style. 56 00:04:22,770 --> 00:04:27,960 Let's go and add a text decoration of none. 57 00:04:28,050 --> 00:04:34,620 And if we save that, that should go ahead and remove those stylings while still creating links to all 58 00:04:34,620 --> 00:04:35,490 of our pages. 59 00:04:35,850 --> 00:04:39,040 So if we go ahead and select these services button there, we'll see. 60 00:04:39,060 --> 00:04:40,950 We're now on the services tab. 61 00:04:41,910 --> 00:04:46,770 So with that, you can see that our footer is working and that this looks great. 62 00:04:46,860 --> 00:04:49,050 This looks exactly how I designed it. 63 00:04:49,320 --> 00:04:55,170 And you can really see how the grid component creates a very consistent alignment and feel. 64 00:04:56,120 --> 00:05:02,180 One thing to notice, however, is that while we are at these services, root rendering our services 65 00:05:02,180 --> 00:05:07,850 content to the page, we're actually still sent to the home active tab. 66 00:05:08,150 --> 00:05:14,570 And that's because these, although they are routing, are not connected to the system we have managing 67 00:05:14,600 --> 00:05:15,800 our active tab. 68 00:05:16,190 --> 00:05:22,340 So to take a look at how we're going to address this, we're gonna have to do a little bit of a refactor 69 00:05:22,550 --> 00:05:23,900 in the next video. 6712

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