All language subtitles for [English-Spanish] Build and Deploy a Fully Responsive Website with Modern UI_UX in React JS with Tailwind [DownSub.com]
Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,640 --> 00:00:04,160
hi there and welcome to a project video where you'll build and deploy a fully responsive website with modern ux and ui in react.js and tailwind with a stunning opening section high quality images and gradients business stats reusable feature sections with call to action buttons testimonials and much more who bank is the best modern business landing page that you can currently find on youtube by building this single web application with me you'll get the knowledge needed to build any website you can imagine there are many tutorials out there teaching you how to create a website consisting of a navigation bar a few divs and a footer boring right today you'll learn how to develop a professional website using the most in demand technologies today react.js and tailwind no extra dependencies you'll build everything from scratch and deploy to the internet so that you can share it with your friends and potential clients and put it on your portfolio this video is perfect for you if you want to learn how to transform a figma design into a fully functioning website if you want to improve your css skills and if you want to learn how to create modern and responsive websites you might be wondering what are the prerequisites for building such an amazing website this course is entirely beginner friendly we're going to start simple and then move to more complex topics as we go i'll explain every step of the way alongside building this application you'll also learn react functional components and their reusability react file and folder structure you'll achieve mastery using tailwind css fundamental css properties to master flex from soft and pleasant animations to complex gradients perfectly placed media queries for satisfactory responsiveness on all devices and at the end you'll learn how to deploy your websites to incredibly fast servers and give them a custom domain name using hostinger if this video reaches 20 000 likes i'm recording a second modern ui and ux video before we dive into the project i have an incredibly important announcement for you we've recently added the free resources section to the js mastery.pro website the link is in the description so from now on alongside the professional project-based courses such as fimpire and nfd marketplace you can get entirely free guides and ebooks about react web3 and frontend backend and full stack development if you decide to get the courses by using the link in the description a special discount code will automatically be applied for you during checkout with that said let's dive right into today's video [Music] before we start building out our website let's first get the hosting and the domain name for our new project your portfolio or any site you'll create in the future you can click the link in the description to scroll through the website with me hostinger is my personal recommendation and right now they're offering crazy deals so i simply needed to show this to you they offer a grace price to quality ratio high speed servers and most importantly 24 7 chat support let's see what's offered with some of the most popular hosting plans hostingers plans are incredibly cheap i mean 2.99 a month for hosting for 100 websites and you also get a free ssl certificate that means that you'll have https security in this case we're going to go with the premium shared hosting because it also offers a few great things that you need when building any website it gives you a free email account free ssl but most importantly it gives you a free domain name we need our modern and professional website to be fast reliable and credible for that reason having a custom domain name custom email name and fast website load times will make you stand out from the crowd since i've partnered with hostinger they decided to give you an even bigger discount you can find the link and the discount code in the description enjoy once you select the plan here we have to choose the period of our hosting with a crazy discount going on right now i'll definitely choose 48 months to save the most money and down below you can choose your payment method and then you can enter your coupon code as you can see javascript mastery is already entered here for me but if it hasn't been for you just type javascript mastery that's going to give you an even bigger discount on your hosting package after you make a purchase you'll be redirected to the hostingers dashboard i'll see you there and we're back inside of the hostingers dashboard in this case it opened up automatic guidance for the hosting we have just purchased so let's go ahead and click start now it's asking us whether we want to migrate a website or build a website in this case we are building it of course now it's asking us whether we want to code on wordpress or on some other cms in this case you can click skip i'll start from scratch and finally right here you can claim your free domain so let's go ahead and click select and in here you can choose a name for your new website you don't have to do this step right now if you're not yet certain on what domain name you want to choose it doesn't have to be for this video it can be for your own portfolio or for your future clients in this case i'm going to switch to com and go for something like modern dash business dash website again we just need something simple in this case and i can click search this domain is available and we can click continue with that said we are done with our setup we can click finish and we are ready to start building out our application and there we go our setup is being initialized as we speak now we'll be able to dive straight into the development and then at the end of this video we're going to come back in here and then we're going to deploy our website to hostinger's fast servers great so we can click manage site and then at the end we're going to come straight back here and finalize the deployment with that said let's dive straight into the code if you've been watching javascript mastery for some time now then you know that we always start from scratch and i teach you every step of the way so we're starting by creating an empty folder on our desktop let's name it bank underscore modern underscore app and then we can drag and drop that folder into an empty visual studio code window you can expand that window and we are ready to start coding out our great application let's go under view and then terminal and we are ready to initialize our react application create react app has been leading the industry in initializing react applications for years now but veed is a new tool that recently came in and it is much faster to create a react application using veet so let's head to vtjs.dev get started and the only thing we need to do to initialize our react application is run npm create vit at latest right inside of our visual studio code we can run that command and click enter of course make sure that you have node.js downloaded and installed if you don't already just google node.js download and install it and then rerun this command our project name is going to be bank underscore modern underscore app you can of course call it however you want to and in this case i'm going to choose react we can also choose just plain react without typescript this time and that's it we can cd into bank underscore modern underscore app and we can run npm install to install all of the needed dependencies as you can see this was much quicker than using create react app on my machine it took only 8 seconds now let's try to run it by running npm run dev in just one second we get our url hold ctrl and then click this link right here and just like that our starter is ready but even more importantly if you check it out a bit you're going to notice that it has a much more minimal config than our usual create react app we only have main app some styles assets and that's about it now that the app is initialized we can start by installing all of the necessary dependencies that we'll be using throughout this video believe it or not we're not going to clutter our package.json a lot there is going to be only one single dependency to build our entire modern bank application and it's not even going to go right here under dependencies it's going to be a dev dependency that's going to help us style our application by quickly going to tailwind documentation we can see that we only need to run a couple of commands to install and set up tailwind we're going to take our first command from here we can go to view and then terminal and then we can stop it from running by pressing control c and then y now you can type npm install dash capital d tailwind css post css and auto prefixer and press enter after that we'll also have to copy the following command and that's going to be mpx tailwind css init dash b and press enter there we go that created our config files so let's set them up let's first go to veet.config.js as you can see this file only specifies that we're using react now when it comes to tailwind.config.cjs it is currently quite empty so down below in the description you'll find a link to a github gist that's going to contain the updated tailwind.config.cjs5 and you can simply copy it and paste it right here i already created for you some predefined styles and these are incredibly simple we just added some colors so we can easily reference them some font families and some screen sizes that's it no logic is happening here you're gonna do everything else on your own and with that said believe it or not we have all of the dependencies that we need so let's set up our main files and assets if we go to main.jsx inside of here we're importing react react dom and also app from app we're also importing the index css and just rendering the app this is good to go now when it comes to the index.css this is where we want to make use of tailwind so again next to that tailwind.config.cjs you'll be able to find another file that's going to be index.css in this file i prepared for us some gradients as you can see right here some basic styles and keyframes but more so we only imported tailwind right here and also imported some fonts everything else is just setting some text gradients great so now we have tailwind setup as well and we have some basic styles we can use now we can focus on app.jsx we can completely delete everything that's in here and we can run rafce that's going to automatically generate a react arrow function for us if this didn't work for you you can go to extensions and then type es7 plus react redux react native snippets you can install that and then you can run rafce and it should work now we have a plane file and as you can see we're no longer importing app.css so we can delete that and we can also delete the assets folder the reason why we're deleting the assets folder is because we're going to have our own so in the description you're going to find a link to a zipped assets folder you can simply unzip it and then paste it right here inside of the source folder as you can see these are mainly some logos icons and assets that we're going to use throughout our grade application it would take a lot of time to find them and we'll be able to reference them from our react application great with that said we can continue by setting up our basic file and folder structure next to main index.css and app.jsx we're going to also have two different folders the first one is going to be called constants and then inside of that constants folder we're also going to have a new index dot js file inside of that file we want to put all of the static text that's going to be shown on the website and when i say static text i simply mean things like these the titles descriptions number of active users as well as some lists like this one or maybe even in the footer we want to have pre-done lists of links so we can simply map through them and not spend time by writing each one by hand this is going to help us to develop our app more quickly and it's also going to ensure that if you give this website to a non-technical user they can simply go into that constants file and change things themselves if they want to so you can find this constants index.js file in that github gist down below and you can paste it i think you can see what i was telling you in here we just have some arrays with lists of ids logos or even some social media icons and lists of links that we want to include in the footer it's just basic plain data but now a user can come to this file and they can change things however they want to they don't have to know how to code they simply need to come here and change something of course this is also useful if you want to transfer this application to use a cms later down the road the design we'll be using today is just one out of countless phenomenal designs created by one week wonders they gave me permission to use this design to teach you how to develop a website based off of that design one week wonders offers many impressive designs so definitely check out their site and dribble pages the link will be in the description but with that said we have everything we need and we are ready to start coding out our great application first we're going to start by creating the structure and the layout inside of this app we're going to import all of the other components and then we'll be able to implement them one by one so let's get started to start creating our layout we can start by creating a div that's going to wrap our entire application that div is going to have a class name equal to bg-primary w dash full and overflow dash hidden of course we need to have something inside of that div to be able to see it so for now let's simply create an h1 and let's say hello world great now if your react functional component simply returns jsx then you can completely remove that return statement remove the curly braces and just have the parentheses right here and then you can do it like this and get rid of one more level of indentation this just looks cleaner great so now let's run our application and see if we can see the hello world in the browser we can open up our terminal and we can run npm run dev let's control click the link and click navigate and there we go we can see just this black rectangle but if we hover over it you can see hello world which means that everything is working properly we just have to add more elements to this layout so let's continue now inside of this div we can remove the h1 and i'm going to create one more div this div is going to wrap our nav bar and it's going to have some special styles i created a file that has a lot of styles that we'll be using throughout our entire application and trust me when i tell you this is the last file that i'm going to give you access to everything else from now on you're going to code on your own i just want to provide you with a few files to get us up and running so you can learn as much as possible in as little time as possible so in that same github gist you'll be able to find a style style.js file which is going to go right inside of our source you can copy it from there and paste it right here as you can see we have some styles which are going to help with the layout and some basic headings paragraphs flex centers flex starts and so on these are just collections of couple of different class names that are tied to one single string so it's a lot easier to use them so now let's go back into our app and right here let's import those styles so we can say import styles from dot slash styles and now inside of this div we can say class name is equal to that's going to be a back tick and then dollar sign and curly braces styles dot padding x and now if you're wondering what this does is you first have to fix this mistake i've done and that is going to be just coming from style right here now you can control click it and you can see the padding x essentially it's going to say padding x is 6 it's going to give it some padding and on smaller devices it's going to give it some more padding that's essentially it now we can add an additional class name such as styles.flex center inside of there we want to have one more div and this div is going to have a class name and then again it's going to be backtick dollar sign curly braces and then styles dot box width again if you're interested in what this class does simply click it and you can see that it gives it a full width now inside of there we want to render a navbar later on this is going to be a navbar component but for now we can leave it as a basic text so this part right here forms our navbar let's add an empty line right here and let's continue with our next step which is going to be our hero section the main part of our application we want to have a div and we want to give it a class name that's going to be again dynamic first we want to say bg-primary for background color and then we want to say styles dot flex start one more time we're going to have an inner div and this div is going to have a class name equal to again a dynamic styles dot box width and inside of there we want to render our future hero component and a hero is just the main star of the show in our application a hero is this part that you can see right here everything that is visible as soon as you load the page with that said we can move to everything that is below the hero and just to simplify the process we can duplicate what we have here so that's going to be almost the same that's going to be bg primary styles flex start and we're just missing one that's going to be styles dot padding x there we go and now in there we have box with but this time instead of hero we want to render all of our different components so that's going to be stats as in statistics for our bank we want to have the business section we want to have the billing section as well we need to have a card deal section a testimonials section clients section click to action section and finally a footer section all of these elements which are right now basic text elements we're going to transform into real components so we can dive into them and we can actually code them out so let's do just that we can right click inside of our source folder and create a new folder called components react is all about components reusing them and making sure that everything is as readable as possible every component needs to do its own thing so let's create the basic structure for all of the components that we're going to use throughout this entire application that is going to take some time up front but trust me it's going to save us a lot of time in the future so let's create our first component which is going to be called billing dot jsx as soon as it opens we can run rafce there to create a basic structure and we can move to our next component that's going to be business.jsx again rafce and move to our next component we have a button component dot jsx rafc e and move forward you get the point i'm gonna keep doing that and keep repeating that for all of the components that we're gonna be using the next component on our list is the card deal dot jsx component and again you can run rafce the next one on our list is going to be the client section jsx you can run rafce the next one on our list is going to be a cta.jsx and you can run rafce again the next one on our list is going to be the feedback card dot jsx and again we can run rafce then we have the footer so we can run footer.jsx and then run rafce next we have the get started section so we can say get started.jsx and run rafce after that we have our hero section our main section jsx and we can again run rafce then we're going to have our navbar a really important component of course and we can run rafce we finally have our stats dot jsx to see what our bank has done throughout the last period and finally we have the testimonials dot jsx again run rafce great so now if we go back into our app we can import all of these components for example we can say import navbar from that's going to be dot slash components and then navbar like this and now we can repeat this for the hero section as well so we can say import hero from hero but as you can notice right here we have quite a lot of components so our imports would take more lines than the actual code itself and that's not something you want to do it would look something like this that's not good so there's a little trick that i want to show you if you create a new index.js file inside of the components that file is going to export all of the components in one line but of course to be able to export them we first have to import them right here so we can say import navbar from navbar and just to speed this process up i'm going to provide this index.js file to you in that github just below so you can simply copy it and paste it right here as you can see we are importing all these components and then we are then exporting them from the index file now what this is going to allow us to do is to go back and instead of importing every single component in its own line we can now say import navbar but inside of the curly braces and that's going to be coming from components only components and now you can add to this line every other component import as well so in our case that's going to be navbar hero and i'm going to copy all of these and paste them here because we want to import all of those as well but i'm going to put them in one line so it's easier to read there we go as you can see i have line wrapping turned on in my settings so now it's going to show up nicely right here and this is a neat little trick that you can use to make the code of your react and nexjs applications more readable if this is something that you found interesting i would suggest checking out the filmpark course on the js mastery pro platform it teaches you how to code using react from a beginner to a professional level so just click the link in the description and a special youtube discount will be automatically applied to you i'm looking forward to seeing you in the course but with that said let's proceed with the development now that we have all these components imported let's transform these text elements into actual components let's double click the first word and then let's hold the alt key and then keep double clicking on each new word to select it now we're gonna do some visual studio code shortcut magic okay you have everything selected now press your ctrl key and arrow left to move to the left side of the word then open up the opening tag hold ctrl and then press arrow right and now close the tag with this simple trick we instantly turned all these text elements into components if for whatever reason this didn't work for you just manually add the opening and closing tags to every single one of these components this is also something that we teach in the film park course but with that said we now have the basic structure and let's check out our app in the browser as you can see right here it is just an empty black screen but if we select it you can see that we have our components right here now we created the entire structure i know it took some time but now we are ready to start developing this beautiful modern bank application so let's go back into the code and let's get started by control clicking to move into our navbar component navbar is the first on the list now that we're finally starting to code we can close all of our files by holding ctrl and then pressing w a couple of times and let's go back to our navbar there we go so now we can open up our browser side by side with our editor so that we can see the changes that we make live and there we go on the right side of our display we have our browser and then on the left side we have our visual studio code now of course before we start creating our nav bar right here we can compare it with the finalized app i have open but it might be even better to start comparing it to our design because that's the primary thing we're learning here how to transform a design into your react application there we go i've opened the design in my browser and i'm gonna also share the link with you so that you have it open as well while we're developing this application together so we can first zoom in on the nav bar we can see the photo right here and then on the left side we can see some links so let's go ahead and code out the navbar first what we can also notice is there's quite a lot of different assets so if we click right here we can select that you can see that is the robot hand we also have this asset right here which is a little card and all of these images right here if you're working for some companies that have more money or better clients you're going to collaborate with some great designers and if you're lucky they're going to provide this design with you and then you'll be able to just focus on coding but in some cases unfortunately you'll have to be both the designer and the coder as well but thankfully in this case we have prepared for you a phenomenal design so you can use it and you can code along just as we are as you know i've already given you access to all the assets so when it comes to design we'll be just referencing the styles and the overall look and feel of the website so now let's go back to our site and let's start with the navbar we can first import the use state hook from react and we can also import a couple of assets that's going to be close logo and menu coming from dot slash assets alongside the assets we're going to also import nav links coming from dot slash constants now if you want to see what these are simply ctrl-click them and you can see that it is an array containing a list of objects that have the id and the title these are our nav links great so let's start coding it out we first are going to have the html5 semantic nav tag let's also give it some class names such as w dash full flex padding y dash 6 justify dash between items center and a special navbar style now let's go back to our website and let's save it now as you can see we immediately got a lot more height to our navbar and if you're wondering what do those styles do such as w dash full flex py6 justify between and so on these are all tailwind utility classes and tailwind is used to create elements such as this card right here really quickly just by adding those class names that's the whole point and that's why we're using it if you're interested in what a specific class does go to tailwind click docs and then simply use this search at the top right we can search for w-full and we can see that it sets the full width that's it really simple don't over complicate things saying oh what is this full width what is this py6 simply go to tailwind docs and search for it that's all that you have to do and that's what i always teach on my js mastery.pro courses you need to be able to read docs on your own that is the only way on how you're going to become a proficient and independent developer i can only teach you so much i can show you how to build beautiful websites like these but at the end of the day you need to be able to read through the docs on your own and to be able to come up with something new with that said let's continue now inside of this nav we want to render an image a self-closing img tag that's going to have a source equal to logo and here we go who bank let's also give it an alt tag equal to who bank and let's give it a class name equal to that's going to be w dash in square brackets 124 pixels like this and we can also give it a height so that's going to be h dash and then inside of square brackets 32 pixels there we go so now we have a specific smaller size who bank logo now we want to have a ul an unordered list and that ul is going to have a class name equal to list dash none on small devices we're going to make it flex usually it's going to be hidden because this is only our mobile map bar below later on we're going to create our desktop nav bar now let's also add the justify dash end item stash center and flex-1 inside of there we want to map over our nav links so we can open a dynamic block of code by using the curly braces and then say navlinks.map we're going to get one nav link and an index and we want to instantly return something remember when you're instantly returning you want to have just a parenthesis here and not a curly brace we want to return a list item and every list item has to have a key because we are inside of a map so let's set the key to be equal to nav dot id let's also give it a class name and that class name is going to be dynamic so we can do it like this and say font dash poppins and before we add any new class names let's simply render what should be in there and that is going to be an a tag that's going to have an ahref equal to dynamic string off that's going to be hash or pound nav dot id so we want to go to that specific point when we click on that link we want to close it and in there we want to render the nav dot and that's going to be nav dot title now if we save this we cannot see anything because the text right now is dark we have to make it light so let's add a couple more class names let's add a font dash normal let's add a cursor dash pointer now we might be able to see them there we go you can see that the cursor turns to a pointer let's give it a text dash and then inside of square brackets 16 pixels and now we're going to do something different we need to know which tag is currently active and now we can simply give it a text dash white color there we go this works perfectly of course we'll have to give it some margin so let's say margin right is going to be 10 there we go but now the client is going to have the margin right as well and we don't want to have the margin on the last element so we can open a new dynamic block and say if index is equal to navlinks.length minus 1 this means that it is the last element then we want to give it a margin right 0. otherwise we want to give it a margin right of 10 as we've done before and now we can properly close this if i use the right sign right there there we go and we can remove the margin right from there perfect so now we kind of lost it for a second there let's see margin right 10 and we have to add a space right here to separate it from the text 16 pixel and there we go this is now looking like a modern nav bar this is great now what happens if we go to a mobile view of course we're making our applications mobile friendly you can see that it completely disappears so now we're going to create a new list of items only for mobile devices below our ul so right here we want to create a new div element this div is going to have a class name on small devices hidden usually flex flex dash one justify dash end and items dash center now inside of there we want to render an image this image is going to be a menu image where we can click it to expand the menu so that's going to be a self-closing image tag with a source equal to now it's going to depend do we want to open or close the menu and for that we can create a new use state so right here at the top we can start typing use state and then use the arrow down to select the use state snippet we can start typing immediately and we're going to call it toggle set toggle move by using the tab key and then at the start that's going to be set to false so the start it's toggled to false now if the toggle is turned on then we want to show a close icon otherwise we want to show a menu icon let's save it and there we go we can see a beautiful menu icon right here now let's also apply a couple of other properties to our image tag for example let's add an alt tag equal to menu let's give it a class name equal to w dash and then 28 pixels like so height is going to be 28 pixels as well and then object dash contain if we save this there we go that's going to look better and this just sets the object fit to contain there we go this is looking good now once we click that we want to change the toggle so we can say on click we want to have a callback function and we want to set the toggle to be equal to now this is not the right way to do it in react you should never update the state using the previous version of that same old state if you want to change the state using the previous version of that same state then you need to create a callback function that looks like this so set toggle and then you call it prev and then you say not prep this way react makes sure that it keeps the state up to date and now if you click right here you can see that it actually changes the only thing we have to do right now is actually open the mobile menu so still inside of this div but below this image let's create a div that's going to serve as our menu this div is going to have a class name it's going to be dynamic so we want to check right here if toggle is turned on if it is then it's going to be a flex container if it is not turned on then it is going to be hidden there we go now we can add a couple more classes so we're going to have a padding of 6. bg black dash gradient position absolute top dash 20 right 0 margin x 4 margin y 2 minimum dash width is going to be 140 pixels make sure to just do it like this min dash w dash and then 140 rounded dash xl and then sidebar now if we save this and if you click on this icon right here you can see a menu nicely animate there we go of course now we want to create a new ul inside of that and that ul is going to be quite similar to this ul right here so we can simply copy this entire ul and paste it below there we go and we can indent it there we go let's expand this a bit and now let's see what do we have to change this time it's going to be list dash none but it's going to be flex usually and we don't have to say on small devices no flex or hidden or something like that and then everything else will almost remain the same you can see now we have our list but it looks like it is on desktop we want to make it show in a column so we can say flex dash call and there we go we are almost there remember we were messing with the margins before so let's go down to the li we're going to stick with the font pop-ins font normal cursor pointer text 16 but now instead of margin right we're gonna do margin bottom so let's do mb dash four and let's save that and there we go we have a beautiful menu that pops up and we have all of the links right here that is great and now if we close this we have a beautiful desktop and tablet and laptop menu as well as always we strive to create websites that are responsive on all devices that is what web nowadays is most people nowadays visit all the websites through mobile so we want to make sure that they are as responsive as possible again i'll just have to mention the film power application from the film park course there we tried really hard to make it as responsive as possible on a lot of different devices and i really mean a lot as you can see on mobile it feels like a native mobile application but now as you expand it to something like a tablet we have two movies per row now if you expand it even more to a laptop that's gonna be three and as larger you go the more movies you can see and it is responsive on all devices it's just something i wanted to show to you again by watching this video you get a special discount by clicking the link below with that said we can now get back to developing our application the navbar is now completely done we can close that file go back to our app and we are coming to the main star of the show that is developing the hero section so let's control click it and we are ready to start coding to start coding our hero section we can first collapse our browser to the right side of the window and there we go now we can see what we're doing right inside of here we don't even need a return statement because we're going to return our jsx instantly so simply use parentheses inside of curly braces right here on line three now instead of rendering a div we're going to render a section element inside of that section we're going to give it an id equal to home so we can scroll to it we can also give it a class name equal to and now this is going to be a dynamic class name so it's going to look like this first let's import some styles we can say import styles from dot slash styles we can also import the discount as well as the robot and these are coming from dot slash assets instead of styles it looks like it's supposed to be style there we go so that's going to be all that we need for now now let's make this section a flex container on medium devices it's going to be flex dash row and usually it's going to be flex dash column let's also give it a styles dot padding y that's going to instantly add a bit more space now inside of there we want to have a div and just to show you what we're creating it's going to be this section right here on the left side we're going to have some text and on the right side we're going to have this image right here so let's start this div is going to have a class name equal to it's going to be a dynamic class name of flex-1 styles dot flex start flex dash call on extra large devices padding x 0 on small devices padding x 16 and usually padding x x6 this is to make sure that it looks good on all devices now inside of there we're going to have just one more div and this div is going to have a class name equal to flex flex dash row items dash center padding y so p y and then that's going to be inside of square brackets 6 pixels padding x 4 b g discount dash gradient and rounded dash that's going to be 10 pixels and finally mb-2 for margin bottom now inside of there we're going to render this component right here 20 discount for one month account so let's start with that immediately we first need this little icon right here so let's do just that let's render an img tag and that's going to be source is equal to discount we can also give it an alt tag equal to discount and let's give it a class name equal to now we can open it up right here and inspect it you can see it is 32 pixels wide and 32 pixels high so let's do just that we can say w dash 32 pixels and h dash 32 pixels as well now if we save this there we go you should be able to see it it's quite dark but it is there now let's add two different spans span right here and that span is going to have a class name equal to text white inside of there we can say twenty percent as it is on this design right here twenty percent then we have discount four so after the span let's do it right here discount four we can then add one empty space like this then below that one month is also going to be in a span so we can duplicate that and say one month and then one more time outside of the span we want to say account there we go so now if we save this we can barely see the text in between but that's because all of these pans and text elements should have been in a paragraph so let's create a p tag and now let's drag and drop all of these elements inside of that p tag of course we need to give it some class names such as class name is equal to that's going to be a dynamic class name styles dot paragraph and also ml-2 for margin left and there we go this is already looking just a bit better but it seems that there are no spaces right here after 20 so if we put this discount 4 on the same line then it's going to apply the space same thing for the account there we go so this is now looking great we're starting to create our great design now after that now we're coming to the main part which is the next generation payment method so let's go outside of this div right there and just below it there we want to create a new div and this div is going to have a class name equal to flex flex dash row justify dash between items center and w dash full now inside of there we want to render that big h1 the heading that heading is going to say exactly as it says right here so we can even copy that and paste it in there the next payment method and we also need to get that generation which is in a different span element so let's do step by step first the next then we want to add a break tag because we want to show something on a new line there we go break tag and we can give that break tag a class name we can say only show on small devices so on small devices exist and then usually it's going to be hidden now after that we want to add a space as we did before and in there we want to have a span to render that generation into that span we can give a class name of text dash gradient and let's say generation we also need to provide a space after that there we go so now if we go back you can see generation but we can't really see anything else let's indent this properly and as you can see we didn't really add any styles to our h1 so let's do that right away we can say class name is equal to flex dash one font dash pop-ins font-semi-bold ss that's going to be for stroke and there we can say text dash and we can do 72 pixels text dash and then that's going to be 52 pixels that's going to make it really big and then we can give it a text dash white there we go the next generation payment method this is looking beautiful i've got to say recently i've been using font poppins and it is just great and we can also give it the ss colon leading dash and then we can do something like 100 pixels like this there we go so this is just going to change the height between the words and we can also do leading dash and then that's going to be 75 pixels now below that we are gonna need the get started component that gets started is essentially this button right here and that button can be created as a separate component as it does have quite a few styles to create this nice circle with the icon and the text so below this h1 we can create a div and that div is going to have a class name equal to ss and then flex it's going to be hidden and on medium devices margin write 4 and usually margin write 0. now inside of there we can render that get started component as a self-closing tag and now we can import it so to import that get started we can say import get started from dot slash get started and now if we go back we should be able to there we go it is here it's hiding we of course have to implement these styles for that so let's do it properly let's control click into the get started and let's start implementing that cool circular button component so to get started we can of course import these styles from dot slash style like this and we can also import the arrow up coming from dot slash assets now inside of there we can again instantly return something so it's going to look like this and that something is just going to be a div but now that div is going to have a class name equal to and we can go back to see what we're doing so right now it is hidden class name is going to be a dynamic class name so it's going to be styles dot flex center and then we're going to also give it a width of 140 pixels and also a height of 140 pixels now after that we can make it rounded dash full and give it a bg blue dash gradient now if we save that we're going to have a beautiful gradient circle now what we can do is also give it a padding dash and then let's do something like 2 pixels that's going to just add some space inside of that circle for the text and let's also make it a cursor dash pointer so now it seems clickable now inside of there we're going to have a couple more divs the first inner div is going to also have a few class names such as also dynamic styles dot flex center flex dash call bg dash primary w dash and then that's going to be 100 and also h dash 100 we can also make it rounded dash full now if we save that you can notice that everything disappears but we just have this padding that we left before which is 2 pixels and that serves as our border now inside of this div we're going to have one more div and that div is going to have a class name equal to again it's going to be dynamic so styles dot flex start and also flex dash row finally inside of that div we're going to have a p tag and that p tag is going to have a span tag inside of it and inside of that span tag we can say get so we are trying to achieve this get started so we first have the span let's style it a bit we can give this p a class name equal to font dash poppins font dash medium text dash 18 pixels leading dash 23 pixels it's still going to be hidden because we have to give the span a class name of text dash gradient there we go so now we can see get right there but we're not going to stop there below this span element we can render a self-closing image tag with a source equal to arrow up there we go we can also give it a class name equal to w dash 23 pixels and also h dash that's going to be the same 23 pixels we can also give it object contain there we go so now we also want to give it an alt tag of something like arrow and we're missing this last started word so let's add that right below we can copy this entire p tag and just paste it below this div right here so that's going to be here we won't need the image though so we can remove the image and now we can say start it right there now you might be able to notice that our arrow is not going in the right side of the get as it should be so let's check it out we have this div right there that says styles dot flex start and then we are adding the flex row in there now inside of this p tag we have a span but the image should go outside of that p tag so that it actually appears nicely in a row and there we go this is already looking so much better it's actually looking exactly as it does on the design we can maybe give this b just a bit of margin right something like 2 and there we go i think we hit the design perfectly great so now we have this get started as well we can close the get started component and we can go back to our hero because we're not yet done with the hero section now we have to do this text right there then we have to do all of these numbers right there and then finally the school robotic arm with the card payments so let's do that right away we're going to go down two divs so this is one two below to get started and there we can create another h1 this h1 is going to be quite similar to the first one so let's copy all of the class names from the first one and let's give them to this h1 now we won't be needing the flex one font poppets is going to stay font semi-bold is going to stay the text is going to be a bit smaller something like 68 here and then 52 there it's going to be text wide and then leading is going to be the same we just want to add the w dash full because we need this to go full width now inside of there we can say payment method there we go and that is appearing right here and it seems that i didn't need this payment method right here because we did it below the get started yep that's my bad so if we were to do this payment right there then we couldn't fit the get started button in the middle so what we have to do is remove this payment right here above the get started so let's do that right now there we go so now we have nicely the next generation payment method exactly as it is on the design great so now below this h1 we want to have a p tag so let's create a p tag that p tag is going to copy the text that we have on the design so you can double click it and paste it okay that's good and finally let's give it some class names to actually make it visible our class name is going to be dynamic styles that paragraph of course we have to put it inside of the dollar sign and curly braces and then max dash w dash and then 470 pixels and also margin top dash five there we go so now we're getting a lot closer now let's do the right side which is going to be this robotic arm but we also have to implement these gradients i hope you can see those circles right there and splashes of light that are coming behind the image so let's do them first now we have this h1 and we have this p tag and all of them should be in this div right there now we can go one div below and create a new div that's going to be the div for the right side of our screen now inside of there we're going to render our image so immediately we can render a self-closing image tag that's going to have the source equal to robot let's save it it automatically appears right there let's give it an alt tag equal to billing and let's add a class name equal to w dash 100 percent and also h dash 100 percent inside of square brackets let's also give it a relative position and z index of 5 to make it appear above our gradients once we add them there we go looking good but you can see that we are missing something it's if we expand this window right here it's going to show on the right side but still we're missing those gradients which really make it pop so let's do just that let's add the gradients we can do that by adding a series of self-closing divs every one of those divs is going to have a class name and it's going to be positioned absolutely we can set the z index of the first one to zero and we can give it a width of 40 percent we can also give it a height of 35 percent and then we can say top zero so this is going to appear from the start of the page and then finally we can give it a class of pink underscore underscore gradient now if we save this you can see this cool pink gradient coming from the top and if we go to our design you can essentially select this gradient and you can copy its styles which are listed right there in this case i already provided them for you in the styles so if we search for the ping gradient there we go you can see it inside of the index.css it is a linear gradient that is simply copied from here great so now let's add other gradients as well to fill this image up we can go back and we can copy this two times now for the second one we're going to set the z index to one we're going to give it an eighty percent of width and we're going to also give it an eighty percent of height let's make it rounded because this is going to be circular so round the dash full and then we won't be needing top zero but rather bottom is going to be 40 and then finally instead of ping gradient it's going to be white underscore underscore gradient there we go so this is a really strong one and then finally we can complete it with the last gradient which is going to have a z index of zero w dash 50 h-50 and then right dash 20 to position it also bottom dash 20 and then blue underscore underscore gradient we don't need the pink right there there we go we're combining a couple of different gradients and before we expand it to fully see it let's just do one thing that's going to make a difference on mobile devices right now you can notice that the get started is coming on the right side right here but if we switch it to iphone 12 the get started disappears because we want to show it below that makes more sense from a design standpoint so let's add that last div and that's going to be below these divs with gradients so we want to create a new div that div is going to have a class name it's going to be dynamic of ss hidden so usually we want it hidden but then it's going to be visible on mobile devices so flex center and there we want to render the same component we created before that is the get started component now on mobile devices we have this beautiful get started button below the robot arm and then if we switch to desktop let's expand it to see it in its full glory and there we go now it looks like we definitely messed something up with the gradients they are way too powerful looking at the design they should be more subtle like this and on our finished side you can see that they're much more subtle so what we can do is look into the changes and make sure that our gradients are as they should be so we can scroll up we have this div right there and it seems to me we just missed adding the styles to this div so let's add a class name let's make it dynamic and let's say flex-1 let's add a flex so they appear in a row let's add the styles dot flex center and also we can give it on medium devices margin y 0 usually margin y 10 and it's going to have a position of relative now these gradients are going to appear only behind the robot arm and this is looking much better great this hero section is looking like it belongs to a really modern and clean web application we have this nice get started button and if you want an extra challenge you can kind of animate this button a bit and do something once the user hovers over it but even without that this is a beautiful hero section the next section on our list is going to be this line right here where we have different aspects of our website or should they say our company we have 3 800 active users 2300 plus trusted by company and 230 million in transactions let's do that first and then we're moving to these kind of repetitive sections that i'm going to show you how to make incredibly reusable great so let's move to this line first we can do that by collapsing our browser we can close our hero and go back to the app and then just by following the structure we're moving to the stats the stats are that line that covers all the important stats to start creating our stats we can first import the stats array coming from dot slash constants and we can also import these styles coming from dot slash style now if you're wondering what the stats are we can simply control click them and you'll be able to see that it is an array with three different objects and each object has a title and a value if we compare this with a design you can see that every object represents one key and value pair the number alongside a description explaining what that number does so i simply took those values and explanations put them inside of an array and now we're going to map through them so we can first remove this return statement as we'll be returning our jsx immediately so this is going to provide us with a cleaner look and now inside of the stats we're going to turn this div into a section and we're going to give it a class name that class name is going to be dynamic so styles dot flex center we can also give it a flex dash row flex dash wrap on small devices margin bottom 20 usually margin bottom six there we go so now you're not going to see any change just yet but now let's actually map over those stats so that's going to be stats.map we get each individual stat and then we want to instantly return something for each stat that something is going to be a div and that div is going to have a key equal to stat dot id and it's going to have a class name the class name we can do later because the most important thing is that we can actually see the data so first we're going to have an h4 element right there and that h4 is going to render the stat dot value that is going to be the number right here and then we of course need the stat that title as well so below the h4 we can render the p tag that's going to render the stat dot title and again these are just coming from this stats array now that we have those they are indeed here but we cannot really see them so let's apply some styles most of the styles are going to be quite similar but they'll be different in sizes first we can add the styles for the h4 so let's say class name is equal to font-poppins font-semi-bold on extra small devices text dash 40 pixels usually text 30 pixels on extra small we can set the leading to be 53 pixels like this and then usually the leading can be set to something like 43 pixels and text dash white so now you can see these numbers right there but of course we have to style the p tags as well so let's copy all of the class names from the h4 and let's add them to the p tag but we're going to modify just a couple of things instead of font semi-bold it's going to be font normal instead of 40 pixels it's going to be 20 for the extra small text usually it's going to be 15. when it comes to leading it's going to be 26 right here for the extra small and then usually it's going to be 21 and instead of text white we're going to say text dash gradient it's going to be uppercase and it's going to have a margin left of 3. now if we save that you can see this is already looking much better almost as it does on the design but of course we have to style the div so we can go back to our div and now that we can actually see our elements we can give it a class name off that's going to be dynamic let's do flex dash one that's immediately going to show them one by one we can also give it a flex property justify dash start items dash center flex dash row and then margin dash 3 or m-3 and as you can see this really made our homepage pop now we have the entire first view once the user comes on the screen they can see this beautiful image alongside the get started button and they can see all the stats immediately above the fold once they first join so this is looking great and believe it or not with that we're completely done with our stats we can go back to the app and focus on the business part next if you look at the design the business part is going to be this subsection right here it's going to have some text on the left side and then it's going to have some cards on the right side so let's focus on developing that right away to start coding out our business section we are going to import a couple of things so let's start by importing the features coming from that's going to be dot slash constants we can also import these styles but also comma layout and that's going to be coming from dot slash style and we can also import the button component which is coming from that's going to be simply dot slash button now let's explore what we're importing here we can control click into features and you can see the features are similar to our stats it's going to be an array of different cards so we have feature 1 which is going to be rewards and in there we have an icon we have a title and content you always need to visualize how something on the screen is going to look like what properties is it going to have we can clearly see that in here we have a title we have content and we have an icon and then everything else is the same in react you have to think in terms of reusability how you can reuse specific components now let's go back to business no pun intended there and we can explore what this layout is so if we control click the layout you can see the layout is simply containing some other styles for the section section reverse section info and so on and if we look at the layout right here you can notice that it's simply some additional class names instead of writing flex md flex row flex column style spatting y we can simply say section and save us a lot of time so let's go back and let's start implementing our business first we can turn this into a section and we're going to give an id to that section that's going to be features let's also give it a class name equal to layout dot section there we go now inside of that section we're going to have a div and that div is going to have a class name equal to layout dot section info you can see how much simpler this is we don't have to write a lot of class since we prepared all of our class names right here and then we can also do an h2 keep in mind right now we're creating this part right here and that h2 is going to say exactly as it does right here so we can copy the entire text and we can add a break tag before wheel as you can see right here so let's say break tag and to that break tag we can apply a class name equal to on small devices block which means show it usually hide it because we only want to do this on smaller devices now what we can do is save this and go back and you can notice that we cannot see anything that's because we haven't provided the h2 classes so right here let's say classname is equal to styles.heading2 and there we go we immediately provide those styles now let's do the p tag as well so just below we can have a p tag and from the design we can copy what this text right here says it looks like it is written in a different font which i don't have right here so it's not allowing me to copy so i'm simply going to change it to some that potentially all of us have so if i replace it right here this should be good and now we can copy it there we go and we can change the class name to classname is equal to it's going to be dynamic styles.paragraph and let's save that if we go back you can notice that this text expands quite a bit right here usually for something to be readable it needs to show in blocks like these the text must not have a lot of width so what we can do is we can apply a new class name max dash w dash 470 pixels if we save this this is going to be much more readable now and let's also divide it from the text by giving it a margin top of 5. there we go you do the business we'll handle the money as they say yes this website is really nicely done it has some nice text elements some nice stats nice images this is how you should be creating your websites for clients and while we're on the topic of lending clients and lending job opportunities our next cohort of the jsm master class experience is starting really soon so if you go to js mastery that pro click on the master class experience you can read more about it but essentially we're going to help you to land your next job in three to six months time so if that's something you're interested in definitely check it out but with that said let's go back to this beautiful bank application now we have to add a button right here and then after the button we're going to show these cards on the right side and i'm going to show you how to make them completely reusable but let's take it step by step below the sp tag we can render a self-closing button tag that button for now is going to be just an empty button component let's provide a prop to it called styles and let's give it a style of mt 10 margin top 10 because we want to divide it a bit from this element right there now we can control click into it and we can create a new generic button component so again we're making this as reusable as possible to this button we've passed a prop called styles so we can get that immediately and the right here we can simply render a button component that button is going to have a type is equal to button as buttons usually do we can give it a class name which is going to be dynamic padding y4 padding x6 and we can also immediately give it a bg dash blue dash gradient now if we save this there we go we have an empty button we can add a text in between get started there we go already looking more like a button let's also give it a font dash bobbins let's give it a font dash medium let's also give it a text 18 pixels to really make it pop let's give it a text dash primary outline dash none and we can also render all the styles coming from our props there we go so now we have our button done as well let's get back to business and we can create the next part of our business section which is going to be the feature cards so first of all let's create a new div and that div is going to have a class name equal to that's going to be a dynamic string of layout dot section img and also flex dash column because we want to show these in a column inside of here we can map through our features so we can say features dot map we get one individual feature and we can also get the index of each card there we go so now what do we want to render for each card well let's make our life easier and let's create a reusable feature card component since this feature card will only be used inside of this file let's simply create it above right here above our business component so we can say const feature card is equal to a regular arrow function component with an instant return inside of there we can render a div and for now let's simply try to pass all the props so which props will we need well let's simply provide a key first of all since we're mapping over it which is going to be equal to feature.id and then let's spread all of the feature properties like this that way it's going to contain all the features that are inside of our feature object and we can also give it an index is equal to index great now if we look into our feature we can know that we have an icon title content and the id so let's destructure those from props that's going to be icon title content and the index there we go let's immediately try showing the icon just so we know that something works so we're going to have a div inside of this div and there we can render a self-closing image tag that's going to have the source equal to icon alt can say something like icon as well and if we save this you can see three different icons which means that we created a reusable component that we're now mapping over and for now it's showing just different icons but soon enough we're going to add a text as well let's also give a class name to these icons so that's going to be w dash let's do 50 percent h dash also fifty percent and let's also give it object dash contain there we go now let's style everything else as well first of all we have to add class names to our card div remember we're creating this part right there now what we can do is we can give it a class name it's going to be dynamic so like this flex flex dash row padding dash 6 rounded dash 20 pixels you can see it is just a bit rounded around the corners now we also want to give it some margin bottom to divide this card from this one and this one from this one but if it is the last card then we don't want to provide it a margin bottom so what we can do is say index is not equal to features dot length -1 so if it is not the last one then give it a margin bottom of six usually give it a margin bottom off that's going to be zero margin bottom zero there we go and we of course have to close it right there let's see yep i should have closed it there i should have closed it right here there we go let's just properly close this and we should be good to go that's good and let's provided one last class name which is going to be feature dash card now if you go back you can see that if we hover over it it seems like a card it is like a box that has an icon in there but let's style it just a bit more this div containing the icon is going to have the class name equal to and let's make it dynamic that's going to be w-64 pixels like this it's also going to have an h dash 64 pixels if we save this okay now we can see those icons also rounded dash full let's also give it a styles not flex center and bg dash dim blue there we go so now we have a circle around the icon and we have something that looks more like different cards but of course once we add a title on the text it's going to look more like this so let's add that immediately below this div that contains the image we're going to create another div this div is going to have a class name equal to flex-1 flex flex dash call and margin left 3. inside of there we want to render an h4 and inside of there we want to render the title we want to repeat this process for the p tag as well and there we want to render the content and as always it's not going to be visible immediately but if we hover we can see that something is there so let's apply class names to rh4 that's going to be font dash poppins font dash semi-bold text dash white text dash 18 pixels leading dash 23 and let me save it before adding leading so you can see what that does there so now leading dash let's do 23 pixels it just adds a bit more space and then finally margin bottom one there we go and now let's copy that same class name let's add it to our b tag and let's change just a few things that's going to be changing the font from semi-bold to normal we can also change the text color to dim white like this and change the text size to 16 pixels leading can be something like 24 and there we go now we have these cards looking exactly as they do on the design and believe it or not with that we're done with the business section so now if we expand this take a look at this we have a beautiful hero section and then we have a phenomenal feature section so we have a list of features and benefits that this platform provides every single website should have this great and another call to action right there the next section on our list is going to be this one which is quite similar we have the text and then the text below two different buttons and then the images this time are on the left side opposed to having the cards on the right side just to break that same structure you can see we have left right right left and then left right one more time perfect so let's dive into our next section let's go back right here expand our visual studio code and if we go back to our app you can see that the billing is going to be the next section and that is exactly this part right here billing there we go so let's implement the billing next of course we're going to start with the images since they are on the left side to start with the billing we're of course going to import a couple of assets and those are going to be apple bill and google and these are coming from dot slash assets we're also going to get our styles as well as the layout coming from dot slash style now immediately in there we can instantly return our jsx so let's simply structure this properly and now we can turn this div into a section this section is going to have an id because we can scroll to it and let's call it product and let's give it a class name is equal to that's going to be layout dot section reverse so this is the part where i told you we're making something dynamic we have a section reverse if we look into it it's the same thing but we reverse the column so that means that we're showing things from left to right or on mobile that means that we're showing the text first that is the key part right there i'm going to show you what i mean really quickly once we develop this section and let's go back now and let's add something inside of that section that's going to be a div and that div is going to have a class name of equal to layout dot section image reverse inside of there we want to render our image so this image is going to be a self-closing image tag with a source of bill alt is going to be billing and we can give it a class name equal to let's do something like w dash 100 h dash that's going to be 100 and let's do relative as well as a z index of 5. now if we close this and save it if we scroll down you can see we have our beautiful image right here but there is something you might have not noticed if we look at the design again there is this slight little grayish gradient happening right here so let's add that gradient as well it really makes the image pop and it makes it appear like these 3d elements are flowing on top of the screen right now it is just an image on the black background so to add those gradients we can add two self closing this just like this let's give the first one a class name equal to absolute z dash three minus left and then dash one half like this also top zero to appear on the top w dash fifty percent h dash fifty percent like this and then rounded dash full and also white underscore underscore gradient now if we save this we already can see it appear just slightly but it is there now we can copy this entire div paste it below and change just a couple of things we can add a z index of zero right here we can keep this left instead of top let's add a bottom of zero w and height can remain the same rounded full but instead of white gradient it's going to be pink gradient so let's change this white into pink there we go so now they really nicely kind of show together and this is looking great now let's expand it to take a look and of course the image is way too big so we're going to solve this really soon let's collapse it and let's add our actual text which would appear on the right side it's going to be fairly easy we've already created headings like these and content elements like this one so let's create a new div below this one that div is going to have a class name equal to layout dot section info and we're going to have an h2 that h2 is going to say this easily control your billing you can copy that and we of course have to add that break tag before billing so let's say br class name is equal to on small block usually hidden like this and of course we have to give it a class name to be able to see it so let's say classname is equal to styles.heading2 and there we go here it is and below that we can add a p tag that b tag is going to render this text right there and what we can do is go back we can also give it a class name so that's going to be a class name off template string styles that paragraph also max dash w dash 470 pixels and also margin top five and there we go now when using these layouts as i mentioned before on the column structure when we are on tablet or mobile devices as you can see the text is still showing on top of this image exactly as we wanted that and that's because we use the section reverse if we go into it and check it out you can see that we have this flex column reverse so what that does is usually have it in a row like this show this on the left side show this on the right side but on mobile devices when we go into a column you can see right here the text shows on top and then the image that explains it that's exactly how it should be great so that's just another small tip on mobile devices you're gonna often find yourself using a column reverse great with that said we're just missing those two buttons so let's add them right away going back to our billing we can go below this b tag but still inside of this div we can create another div that div is going to have a class name equal to flex flex dash row flex dash wrap on small devices margin top 10 usually margin top 6 and there we can render a image for now of course you can make that image clickable let's give it a source equal to apple alt is going to be google underscore play and a class name can be something like w dash 128 pixels and again this is simply being copied from right here if you click inspect you should be able to see the exact width and height perfect now going back we can also give it a height of 42 pixels there we go and we can also give it an object dash contain margin right 5 and then cursor dash pointer if we save this you can see our button right here this is the apple button so instead of google play let's say apple store great and now we can duplicate this image change this to google remove this margin right because this is the second element and we can show the google and with that believe it or not we created our billing section and it is looking great now this actually seems like a real website so we can scroll through it we have the features section and we have the billing section as well essentially this is a call to action section where people can download their app on google play or app store perfect this is looking great the next section on our list is going to be this one which again is as you can see quite similar to the first one we have some text on the left we have a button and we have these cards right here so let's get started with that right away by collapsing our browser view and then going back to the app and going into the card deal to start coding our card deal section which is this one right here we can again import a few things we can import the card coming from dot slash assets we can also import these styles that's going to be a default import as well as the layout coming from dot slash style and we can import the button component coming from dot slash button now we have everything we need let's turn this into an immediate return statement and let's turn this div into a section now this section is going to have a class name equal to layout.section it's also going to have a div that's going to have a class name equal to layout dot section info and it's also going to have an h2 there that h2 is going to render this piece of text which we can copy don't forget we have to add that break tag so that's going to be after deal let's add a break tag it's going to have a class name equal to on small devices block and then usually hidden like this now what we can do is also render the p tag below it that p tag is going to render this text and we can give some styles to the h2 that's going to be class name is equal to styles dot heading 2. if we go back we can already see it and we can also give some class names to our p tag so that's going to be equal to a dynamic template string of styles dot paragraph we can also give it a max dash w dash 480 pixels as we have done already so far and we can give it also a margin top five there we go and now we already have a button component created remember from before so we can simply call it and provide a styles is equal to margin top 10. but in this case it seems huge and that's because it should have been just below the p tag still inside of this div element so now if we save this it's looking better now it seems to me that this button right here has just a slight border radius which we can simply check by looking at the inspect tab right here and it does have a border radius of 10 pixels so if we go to this button we can check do we have that border radius right there nope it's not there so let's do you can either do a border radius or tailwind has a built-in rounded property so we can say rounded dash 10 pixels if we now go back and save it there we go this is more like it perfect and now we have to add that image on the right side which is going to be for the card what we can do is go back to the card deal and we can create a new div just below this one this div is going to have a class name is equal to layout dot section img there we can render an img tag with a source is equal to card and alt is going to be something like card and class name is going to be something like w dash 100 percent as well as h dash 100 i think you can start noticing the pattern now if we go back we have our beautiful image right there and if we wanna look at this in its full glory let's expand it this is a beautiful website in this case we don't need to have a gradient because we have this circular image behind our elements so that makes them pop just to provide some diversity but this is looking phenomenal if i may say so myself now we're going to move to the next section which is going to be a bit different it's going to be a testimonial section so in this case we're going to have a heading here content element here and then some cards as you can see we're going to reuse some similar things as we have with these cards right there so in react always try to reuse different elements and notice that there aren't a lot of different colors and fonts and text sizes it's always the same same headings same content elements and then similar colors for the buttons and other accents you always have to stay consistent with your design so with that said let's go back let's close our card deal and let's open our testimonial section because that is going to be our next job to start implementing the testimonials we can of course start with a few imports we can import the feedback coming from dot slash constants we can also import the styles coming from dot dot slash styles and we can also import a feedback card component coming from that slash feedback card this is going to be a component that we are yet to create and again i misspelled the styles it's going to be coming from dot slash style right here now before we start creating the layout let's look what this feedback is again it is a simple array with a couple of objects in this case just three that have name title and then the image that is it so let's use it right here in our jsx we can turn this into an instant return that way we have one less level of indentation so it's easier to look at it and we can turn this into a section we can give that section an id equal to clients and we can give it a class name equal to styles.padding y styles dot flex center flex dash call and relative now inside of there we want to have one div which is going to be a gradient but for now we can leave that empty as we'll be able to add that gradient later on now going further we can kind of add a comment and say to do for for this thing right here below this div that is a gradient we can render another div this div is going to be used to contain this title in this context right here so what we can do is we can give it a class name equal to w dash full flex justify between items dash center on medium devices flex dash row usually flex dash column on small devices margin bottom 16 usually margin bottom six relative and z index of one that way it goes over the gradient now let's add something in there we'll have to take this title so let's add an h1 we can paste the text we can add a break tag again after the r word so we can right here add a break tag with a class name equal to on small devices that's going to be block usually it's going to be hidden and we can also apply a class name to this h1 that's going to be class name is equal to styles dot heading 2. perfect now if we go back we can already see that and below that h1 we can create a div that div is going to have a class name equal to w dash full on medium devices margin top 0 and usually margin top 6. inside of there we can render our p tag that p tag is going to say this text right here which we can copy and paste and now we can give it some class names so class name is equal to that's going to be a dynamic string of styles dot paragraph text dash left max dash w dash 450 pixels and there we go we can see it right here now of course below that we want to map over all of our feedback cards so let's create this card next we can do that below this div and also below this div so let's create one div that's going to contain all the cards it's going to have a class name equal to that's going to be flex flex dash wrap on small devices justify dash start usually justify dash center w dash full feedback dash container relative and also z index of one there we go now inside of there we can actually map over our cards so we can say feedback.map we get each individual feedback item or in this case we can call it a card now we want to instantly return something and we're going to return that feedback card component it is a self-closing component that's going to have a key equal to card.id and there we can spread the properties of a card and we already know what those are so if we check the feedback that's going to be content name title and then the image so now we can control click to go into that card and we can immediately accept those props so right here we can get the content the name the title and the image we can instantly return something there we go and now let's create the look and feel of that card that's going to be a div that's going to have a class name equal to flex justify dash between flex dash column padding x is 10 padding y is 12 rounded dash 20 pixels max dash width of 370 pixels on medium devices margin write 10 on small devices margin write 5 usually margin write 0 margin y 5 and then feedback card and i know there's a lot of styles but if you go to the design and click on this card you can see that we're going to get most of those properties right here such as the border radius colors and so on great so now going back let's add the content inside of there first of all we need to add the image that image is going to have a source and we have to import that source so we can say import quotes from dot slash assets and now we can render the quotes image there we go we have three quotes we can also give it an alt tag equal to double underscore quotes and we can give it a class name equal to w dash 42 pixels h dash that's going to be something like 27 pixels and object dash contain again all of that is coming from figma now below that we want to render a p tag that's going to render the content that we're passing through props right now it's hard to see it so let's add a class name equal to font-poppins font dash normal text dash 18 pixels leading dash 32 pixels text dash white and margin y of 10 and there we go we have those three beautiful cards right there now we also have to add something else and that is going to be this image as well as the name and the title of that person so below our p tag we can add a div for that container that div is going to have a class name equal to flex and flex dash row because the image and the text is going to appear in a row we first want to render the image so we can say img source img coming from props alt is going to be the name of that person and then the class name can be w-48 pixels h dash 48 pixels and rounded dash full to make it into a circle now if we go back we have those beautiful images right there now let's create a div to contain the name and the title right below the image that div is going to have a class name equal to flex flex dash column and margin left 4. the column is for these text elements to appear one below another and margin left is to divide it from this image now we can have an h4 in there and h4 is going to render the name and right below we can render the title but this is going to be in a p tag when it comes to the class names we can copy the class names from the initial p tag paste them onto the h4 and it's going to be font poppins it's going to be semi-bold this time text is going to be 20 pixels leading is going to be 32 text dash white and we don't need the margin y so if we go back you can see that's looking good now we just have to copy the same class names to the p tag it will be font poppins font normal text is going to be 16 though leading is going to be 24 text is going to be dim white and that is going to be it we don't need the margin and there we go now if we go back from the feedback card we're properly mapping over it and finally we're just missing this gradient inside of our testimonials so before we check it out in its full glory let's implement that gradient that's going to be class name is equal to absolute so we can position it properly z index of zero so it appears behind the content w dash sixty percent for width h dash sixty percent for height minus right dash fifty percent and then rounded dash full to make it a circle and then blue underscore underscore gradient and there we go you can see that circle right here on the right side now if we expand this you can see how it wraps so now we can see two here and then one there and we can expand it and we have exactly what we wanted to achieve look at this compare with this and we can kind of hover to highlight one of the testimonials this is looking great also notice how these gradients nicely transition from the top then they move right here you can see them on the left side and they keep moving now to the right side there everything is looking perfect now the next section on our list are going to be these companies right here airbnb binance coinbase and dropbox these are the companies that this company has worked with so let's collapse this let's scroll down and let's close our testimonials and let's move to our clients these clients are going to be incredibly simple we simply have to map over the images so let's do it right away we can import the clients coming from dot slash constants and we can also import these styles coming from dot slash style this is going to be a section of its own and we also can instantly return this right here now this section is going to have a class name it's going to be dynamic of styles dot flex center and also margin y 4 to divide it from the top part and bottom part as well then we want to have a div this div is going to have a class name equal to that's going to be styles dot flex center as well and flex dash wrap and w-4 inside of there we want to map over our clients and just to show you what clients are it's going to be just a list of four different logos so we can say clients.map we get one individual client and we instantly want to return a div that div is going to have a key equal to client.id let's fix that and inside of there we want to render an image so an image is going to have a source equal to client.logo it's going to have an alt tag equal to client and it's going to have a class name equal to on small devices width is 192 pixels usually the width is 100 pixels and it's going to be object contain now if we save this and scroll down you can see all of the images right here but they're kind of on top of each other so let's add some class names to this div as well that's going to be class name dynamic of flex-1 there we go we can also give it a styles dot flex center let's give it on small devices min dash w dash 192 pixels and usually min dash w dash 120 pixels there we go so now they nicely show they wrap and if we expand this this is looking beautiful again an extra task for you if you want to play with it a bit make it so that the color of the logo kind of glows up or goes to pure white once you hover over it that would be a little task for you to play with great so now we are done with the client section and we are ready to move to final stages of our website we have a final call to action if people haven't clicked on get started now a couple of times now maybe they will once we are done with the page so let's implement this part and then we're going to move to the footer so to do that we can collapse this browser right here and we can close our clients and open up our cta let's start with our call to action section by first importing the styles coming from dot slash style and we can also import the button coming from that's going to be dot slash button that is the same button we have created before now let's turn this into an immediate return like this there we go and we can turn this div into a section now inside of that section we're going to have one more div and then inside of that div we're going to have an h2 that h2 is going to say let's try our service now and then below that h2 we're going to have a p tag and that p tag is going to say whatever it says right here on the design let's copy that as well and finally below the div containing the h2 and the p tag we can have one more div and then that div is going to contain the self-closing button component so now if we go back you might think that we're going to have something and we just have the button so we cannot see the text elements yet and that is because we haven't provided the class names so let's add a class name to our section that's going to be equal to a dynamic template string of styles dot flex center another one of styles dot margin y and another one that's going to be styles dot padding i felt like dj khaled by saying another one so let's go further we have three of these classes and now we can proceed with on small devices flex row usually flex column b g dash black dash gradient dash 2 and then rounded dash 20 pixels and finally box shadow so now if we save this we're going to get this beautiful rectangle which has this nice grayish color with the button and the text but now let's apply some styling to this div inside of it we can give it a class name equal to flex-1 also flex and flex dash hole now we can style this h2 by giving it a class name equal to styles dot heading 2 there we go that's much better and we can style the p tag by giving it a class name equal to styles dot paragraph and also max dash w dash 470 pixels and margin top 5 there we go we can also style the button just a bit so let's give it a class name equal to styles.flex center on small devices margin left is going to be 10 usually margin left is going to be zero on small devices margin top is going to be zero and usually margin top is going to be 10. now if we save this you can see that we have some margin left there and if we expand this you can notice it nicely scales and we get to our full desktop view let's try our service now so this is looking great the last thing on our list is to implement this great looking footer so to start with that we can collapse this we can go back to our app jump into our footer and let's dive right in let's start by importing the styles coming from dot slash style let's import the logo coming from dot slash assets and let's import the footer links as well as the social media coming from dot slash constants let me quickly show you what the footer links look like so if we go here you can notice that it is actually an array that has this big object that has the useful links and then useful links contain multiple links such as content how it works create and so on and then we also have the community links so if we look into the design you'll see that we actually have a series of couple of different links useful links community partner and that's going to be it so based on that we created this nice structure where we have the title and then the actual array of links so with that said we can go back and now we can start creating that footer let's turn this into an immediate return arrow function there we go and now let's turn this into a section inside of this footer we're going to have a div but before we add anything to that div let's form the styles of our section so let's go back here and let's give it a class name equal to that's going to be styles dot flex center and styles dot padding y we can also give it a flex dash call this div is also going to have a class name equal to that's going to be styles dot flex start on medium devices flex dash row usually flex dash colon margin bottom eight so that's going to be mb8 and then w dash full great with that now let's check it out we can only see some dark space there but now let's add an inner div that is going to contain our image so let's create a div that div is going to have the image inside of it so let's create a self-closing image tag it's going to have a source equal to logo if we save this we can see a huge logo right here let's add an alt tag equal to who bank and let's add a class name equal to w dash 266 pixels and h dash that's going to be 72 pixels let's also add the object contain there we go so this is already looking much better but of course we have to add the class names to this div as well so let's say class name is equal to flex dash one flex flex dash column justify dash start and margin right 10. there we go and now below this image we can add a p tag that p tag is going to say something like a new way to make the payments easy reliable and secure we can give that p tag our usual class name that's going to be equal to styles.paragraph and margin top 4 and let's also do max dash w dash 310 pixels there we go so this is already looking much better now below this div so we can exit this div right there we can create a new div for the links so let's give it a class name that's going to be a class name equal to flex dash 1.5 w dash full flex flex dash row justify between flex dash wrap on medium devices margin top 0 and then usually margin top 10. now of course we have to map over those footer links so let's say footer links dot map we get one individual footer link so let's say footer link and we want to instantly return something and that something is going to be yet another div that div has to have a key because we're mapping over it so it's going to be footer links or rather footer link dot key it's going to have a class name equal to flex flex dash call ss my 0 usually my 4 minimum dash width dash 150 pixels like so now we still cannot see anything but now we're going to finally map over our list items so first we're going to have an h4 and this h4 is going to render the footer link dot title remember each series of links is going to have its own title so let's start with the first one and then while we're doing that we can immediately render the ul an unordered list inside of that unordered list we're going to loop over once again footer link dot links dot map and there we're going to get that individual link we can also pull the index from here now for each link we want to render an li tag that li is going to have a key is equal to link dot name and we can also give it a class name right here that's going to be let's do font dash poppins font dash normal text dash 16 pixels let's also add a leading of 24 pixels text dash dim white and on hover we want to give it a text dash secondary finally cursor dash pointer now if we save this we cannot see anything yet because we're not rendering any text but now if we add a link dot name here you can see all the links let's also add a class name for the h4 so we can see the titles as well so that's going to be class name is equal to font dash poppins font dash medium text dash 18 pixels leading is going to be set to 27 pixels and text white and there we go this is looking beautiful you can see for our secondary color we use the colors from the logo so that is matching as well and currently the logo seems just a bit too big but it seems that it is that way on the design we're gonna see later on once we expand it and we also have to add some margin between the links so what we have to do is we only want to add the margin on all the links that are not the last in the column so what we can do is say if index is not equal to footer.links minus one so that's going to give us the last one so if they're not the last one in that case we want to render the margin bottom of four and then usually we can render the margin bottom of zero because we don't want to add a margin bottom to the last link and it looks like i misspelled something this here was supposed to be footer link dot links so now if we scroll down you can see that now they have some margin and it seems to me we're also missing some margin on this h4 rather on the ul so let's give this a class name equal to list dash none as well as margin top of 4 to divide it just a bit now the spacing feels natural and this is looking much better the last part of our footer is the bottom part we have this line right here we have the copyright and then we have the social media icons so let's implement that part for that we'll have to exit one div and then the second div as well and then we'll have to create one final div this div is going to have a p tag inside of there so let's first add that p tag that's going to be this copyright text that we can see right there so we can copy from the design and while we're here we can also copy the class names for that we can copy them from the h4 because they're more or less the same so let's copy this and then paste it here now if we go back we can see that all rights reserved but it's going to be just a bit different so we have font poppins font is going to be set to normal here and we want to add the text dash center everything else is going to be the same finally we can add a div below the p tag that's going to serve as a container for social media icons so we can give it a class name equal to flex flex dash row on medium devices margin top 0 and then usually margin top 6. inside of there we can map over our social media icons by saying socialmedia.map we're going to get one social and then we're going to get the index as well now we want to close this properly and then for each social media we want to return an image we can give a key to each one of these images which is going to be social.id we want to give it a source which is going to be social.icon we can also give it an alt tag which is going to be social dot id as well and finally let's give it a class name but before we do that let's save it like this to see them there we go and now we can style them so let's add a dynamic string they're going to have a w of 21 pixels that's the width the height is also going to be set to 21 pixels like this object is going to be set to contain rather object contain cursor is going to be set to pointer and then the same thing that we've done with margins before we want to check if the index is not equal to social media dot length -1 if it is not then we want to apply a margin right of 6 and then usually we want to apply a margin right of 0. so let's add it right there there we go the only thing left to do is to put these in a row the text right here and the icons so let's do that by styling this outer div right there we can give it a class name equal to w dash full we can also give it a flex justify dash between items dash center on medium devices flex dash row usually flex dash call padding top is going to be set to 6. border dash t for top is going to be 1 pixel border dash t dash and then we want to apply a color so let's do something like 3 f 3 e 5 again this can be copied from the design that is that grayish color right there and now we have our footer let's expand it to see it in its full glory there we go who bank footer right here if we compare it with the finished site and scroll down you can see that it is exactly the same but this color right here seems to be just a bit different so let's see if the color has been applied in the right way let's collapse this just a bit so that's going to be border dash d and then dash let's check it properly 3f3e45 that should be it there we go so now it's a bit more subtle and with that said we can close the footer believe it or not we have come to the end of the process of building this phenomenal application together let's collapse it and let's see it in its full glory there we go let's scroll through it quickly imagine you're building this company for a client it's a banking client big corporation who bank the next generation payment method 3 800 active users a lot of trusted companies they have rewards they're secured they have balance transfer they have some kind of billing and invoicing we can see the descriptions right there we can download it on app store and google play we can get started by using their methods immediately they have some great testimonials right here by herman steve and ken they have been used by companies like airbnb and binance and we immediately can try their business out or check more information using this footer right here everything is looking great and of course really important thing to mention is that the mobile version is looking great as well if we quickly scroll through it you can notice that everything is fully mobile responsive so as i keep scrolling it just feels so natural great with that said amazing job when building this application now i'm going to teach you how to deploy it to deploy our website we'll have to create an optimized production build so let's close all of our files collapse all of our folders and let's go to view and then terminal we can clear it and then you can cd into the bank modern app or however you called your folder and you can run mpm run build this is going to create an optimized production build and in just a couple of seconds you can see that all of our assets are right here alongside the index.html and all of those files have been put inside of a dist folder so let's right-click this and then click reveal in file explorer or open in finder if you're on mac once you do that you'll be able to see all of your files right there but of course now we have to actually deploy them so with that in mind we are back on our hostingers dashboard now in here you'll be able to find your premium shared hosting and you'll also find a button to set up a domain if you haven't already so let's go ahead and click manage that's going to open up our hosting account and then you can search for files we can click on the file manager if we now go into the public underscore html folder you'll see that there is just one default.php file there which we can delete so let's just press the remove button and remove it this is where our dist folder will go so we can bring back our bank modern app and go inside of the this folder the only thing you have to do is select all the files and then drag and drop them right here this is going to upload all the files and they're going to be up and running in a second and that's about it now we can go back to our hosting panel and we can click our main domain and in just a couple of seconds our website is now live on the domain name we chose and i'm not sure if you've noticed but it loaded incredibly quick now we can admire it in its full glory and you can share it with everybody else you can put it in your portfolio show it to your friends or send it to your potential clients and as you can see by this lock right there ssl certificate has been automatically included so we didn't even have to do anything there again the process is incredibly simple and i would recommend hosting her to everybody for your portfolio website for the websites for your clients or just the projects you're playing with as you just saw the process of deploying your website with hostinger is seamless so i would recommend it to you not only for websites like these for your potential clients but also for your portfolio website with that said that's going to be it for this video phenomenal job on coming this far and building this great application out once again if we want to check another website that is in hosting or servers that's going to be js mastery.pro this is another beautiful website i've created but again that's not the main point the main point are these project-based courses that you can use to level up your development skills right away you can go ahead and choose the film part 1 if you want to polish your react skills and then if you want to dive into the new and uncharted territory of web 3 the nft marketplace project is for you and if you didn't see it at the beginning there is also the free guides section so you can get a lot of free guides entirely for free you can use this as reference books ebooks or entire roadmaps with that said amazing job on coming to the end of this video thank you so much for watching and i'll see you in the next one have a wonderful day [Music] you
hola y bienvenido a un video de proyecto
2
00:00:04,160 --> 00:00:07,200
en el que creará e implementará un
3
00:00:07,200 --> 00:00:11,280
sitio web totalmente receptivo con ux e ui modernos
4
00:00:11,280 --> 00:00:14,000
en react.js y viento de cola
5
00:00:14,000 --> 00:00:16,720
con una impresionante sección de apertura
6
00:00:16,720 --> 00:00:19,279
imágenes y gradientes de alta calidad
7
00:00:19,279 --> 00:00:22,960
estadísticas comerciales secciones de funciones reutilizables
8
00:00:22,960 --> 00:00:26,480
con botones de llamada a la acción testimonios
9
00:00:26,480 --> 00:00:28,240
y mucho más
10
00:00:28,240 --> 00:00:31,039
who bank es la mejor
11
00:00:31,039 --> 00:00:33,120
página de destino empresarial moderna que puede encontrar actualmente
12
00:00:33,120 --> 00:00:36,239
en youtube al crear esta única
13
00:00:36,239 --> 00:00:38,160
aplicación web conmigo obtendrá el
14
00:00:38,160 --> 00:00:40,399
conocimiento necesario para crear cualquier sitio web
15
00:00:40,399 --> 00:00:41,840
que pueda imaginar hay
16
00:00:41,840 --> 00:00:44,079
muchos tutoriales que
17
00:00:44,079 --> 00:00:46,160
le enseñan cómo crear un sitio web que
18
00:00:46,160 --> 00:00:48,800
consta de una barra de navegación algunos
19
00:00:48,800 --> 00:00:51,920
divs y un pie de página aburrido
20
00:00:51,920 --> 00:00:54,239
hoy mismo aprenderá cómo desarrollar un sitio
21
00:00:54,239 --> 00:00:56,960
web profesional utilizando las
22
00:00:56,960 --> 00:01:00,399
tecnologías más demandadas hoy en día react.js y
23
00:01:00,399 --> 00:01:03,280
viento de cola sin dependencias adicionales
24
00:01:03,280 --> 00:01:06,640
construirá todo desde rasque e implemente
25
00:01:06,640 --> 00:01:08,400
en Internet para que pueda compartirlo
26
00:01:08,400 --> 00:01:10,960
con sus amigos y clientes potenciales
27
00:01:10,960 --> 00:01:13,920
y ponerlo en su cartera. Este video
28
00:01:13,920 --> 00:01:16,080
es perfecto para usted si desea aprender
29
00:01:16,080 --> 00:01:18,880
cómo transformar un diseño de figma en un
30
00:01:18,880 --> 00:01:21,280
sitio web completamente funcional si lo desea.
31
00:01:21,280 --> 00:01:24,080
mejore sus habilidades de css y si desea
32
00:01:24,080 --> 00:01:26,320
aprender a crear
33
00:01:26,320 --> 00:01:28,320
sitios web modernos y receptivos,
34
00:01:28,320 --> 00:01:30,240
es posible que se pregunte cuáles son los
35
00:01:30,240 --> 00:01:32,159
requisitos previos para crear un
36
00:01:32,159 --> 00:01:33,920
sitio web tan increíble.
37
00:01:33,920 --> 00:01:36,479
38
00:01:36,479 --> 00:01:38,720
39
00:01:38,720 --> 00:01:41,040
temas a medida que
40
00:01:41,040 --> 00:01:45,040
avanzamos, explicaré cada paso del camino
41
00:01:45,040 --> 00:01:47,200
junto con la creación de esta aplicación,
42
00:01:47,200 --> 00:01:49,759
también aprenderá los componentes funcionales de reacción
43
00:01:49,759 --> 00:01:52,720
y su reutilización, la
44
00:01:52,720 --> 00:01:55,600
estructura de archivos y carpetas de reacción,
45
00:01:55,600 --> 00:01:58,000
logrará el dominio usando las
46
00:01:58,000 --> 00:01:59,439
47
00:01:59,439 --> 00:02:02,159
propiedades fundamentales de css de tailwind css para dominar la
48
00:02:02,159 --> 00:02:03,280
flexión
49
00:02:03,280 --> 00:02:05,680
de suave y animaciones agradables a
50
00:02:05,680 --> 00:02:07,520
gradientes complejos
51
00:02:07,520 --> 00:02:09,679
consultas de medios perfectamente ubicadas para una
52
00:02:09,679 --> 00:02:12,080
capacidad de respuesta satisfactoria en todos los
53
00:02:12,080 --> 00:02:13,280
dispositivos
54
00:02:13,280 --> 00:02:15,440
y al final aprenderá cómo
55
00:02:15,440 --> 00:02:17,840
implementar sus sitios web en servidores increíblemente rápidos
56
00:02:17,840 --> 00:02:20,160
y darles un nombre de dominio personalizado
57
00:02:20,160 --> 00:02:22,959
usando hostinger si este video
58
00:02:22,959 --> 00:02:25,680
alcanza los 20 000 me gusta i' Estoy grabando un
59
00:02:25,680 --> 00:02:29,599
segundo video moderno de ui y ux antes de
60
00:02:29,599 --> 00:02:31,680
sumergirnos en el proyecto. Tengo un
61
00:02:31,680 --> 00:02:33,680
anuncio increíblemente importante para
62
00:02:33,680 --> 00:02:34,480
ti.
63
00:02:34,480 --> 00:02:36,959
Recientemente agregamos la sección de recursos gratuitos
64
00:02:36,959 --> 00:02:40,000
al sitio web js mastery.pro.
65
00:02:40,000 --> 00:02:41,920
El enlace está en la descripción,
66
00:02:41,920 --> 00:02:44,319
así que de ahora en adelante. los
67
00:02:44,319 --> 00:02:46,640
cursos profesionales basados en proyectos,
68
00:02:46,640 --> 00:02:49,680
como fimpire y nfd market, puede
69
00:02:49,680 --> 00:02:52,560
obtener guías y libros electrónicos completamente gratuitos
70
00:02:52,560 --> 00:02:56,560
sobre react web3 y frontend backend
71
00:02:56,560 --> 00:02:58,879
y desarrollo de pila completa si decide
72
00:02:58,879 --> 00:03:01,040
obtener los cursos utilizando el enlace en
73
00:03:01,040 --> 00:03:03,599
la descripción, un código de descuento especial
74
00:03:03,599 --> 00:03:05,760
aparecerá automáticamente se aplicará para usted
75
00:03:05,760 --> 00:03:07,200
durante el pago
76
00:03:07,200 --> 00:03:09,519
dicho esto, profundicemos en el
77
00:03:09,519 --> 00:03:11,740
video de hoy
78
00:03:11,740 --> 00:03:18,659
[Música]
79
00:03:20,319 --> 00:03:22,800
antes de comenzar a construir nuestro sitio web,
80
00:03:22,800 --> 00:03:24,720
primero obtengamos el alojamiento y el
81
00:03:24,720 --> 00:03:27,120
nombre de dominio para nuestro nuevo proyecto, su
82
00:03:27,120 --> 00:03:29,360
cartera o cualquier sitio que creará en
83
00:03:29,360 --> 00:03:30,400
el futuro
84
00:03:30,400 --> 00:03:31,519
puede hacer clic en el enlace en la
85
00:03:31,519 --> 00:03:32,879
descripción para desplazarse por el
86
00:03:32,879 --> 00:03:34,480
sitio web conmigo
87
00:03:34,480 --> 00:03:37,519
hostinger es mi recomendación personal
88
00:03:37,519 --> 00:03:39,599
y en este momento están ofreciendo
89
00:03:39,599 --> 00:03:41,840
ofertas locas, así que simplemente necesitaba mostrarle esto,
90
00:03:41,840 --> 00:03:44,799
ofrecen una excelente relación precio-calidad
91
00:03:44,799 --> 00:03:47,360
servidores de alta velocidad y Lo más
92
00:03:47,360 --> 00:03:51,120
importante es soporte de chat las 24 horas, los 7 días de la semana, veamos
93
00:03:51,120 --> 00:03:52,640
qué se ofrece con algunos de los
94
00:03:52,640 --> 00:03:54,799
planes de hospedaje más populares.
95
00:03:54,799 --> 00:03:57,760
96
00:03:57,760 --> 00:04:02,080
97
00:04:02,080 --> 00:04:05,280
98
00:04:05,280 --> 00:04:06,560
99
00:04:06,560 --> 00:04:08,959
100
00:04:08,959 --> 00:04:11,760
en este caso, vamos a optar
101
00:04:11,760 --> 00:04:14,000
por el alojamiento compartido premium porque
102
00:04:14,000 --> 00:04:16,320
también ofrece algunas cosas excelentes que
103
00:04:16,320 --> 00:04:18,959
necesita al crear cualquier sitio web, le
104
00:04:18,959 --> 00:04:21,759
brinda una cuenta de correo electrónico gratuita,
105
00:04:21,759 --> 00:04:25,040
ssl gratuito, pero lo más importante, le brinda
106
00:04:25,040 --> 00:04:27,440
un nombre de dominio gratuito que
107
00:04:27,440 --> 00:04:30,000
necesitamos. nuestro sitio web moderno y profesional
108
00:04:30,000 --> 00:04:33,840
para que sea rápido, confiable y creíble,
109
00:04:33,840 --> 00:04:36,160
por esa razón, tener un nombre de dominio personalizado, un
110
00:04:36,160 --> 00:04:39,680
nombre de correo electrónico personalizado y tiempos de carga rápidos del sitio web lo
111
00:04:39,680 --> 00:04:42,000
harán destacar entre
112
00:04:42,000 --> 00:04:43,199
la multitud,
113
00:04:43,199 --> 00:04:45,440
ya que me asocié con hostinger,
114
00:04:45,440 --> 00:04:47,440
decidieron darle una aún más grande
115
00:04:47,440 --> 00:04:50,000
descuento puede encontrar el enlace y el
116
00:04:50,000 --> 00:04:52,960
código de descuento en la descripción disfrute
117
00:04:52,960 --> 00:04:55,360
una vez que seleccione el plan aquí tenemos que
118
00:04:55,360 --> 00:04:58,000
elegir el período de nuestro alojamiento con un
119
00:04:58,000 --> 00:05:00,320
descuento loco en este momento
120
00:05:00,320 --> 00:05:02,800
definitivamente elegiré 48 meses para ahorrar la
121
00:05:02,800 --> 00:05:04,000
mayor cantidad de dinero
122
00:05:04,000 --> 00:05:06,000
y a continuación, puede elegir su
123
00:05:06,000 --> 00:05:08,400
método de pago y luego puede ingresar
124
00:05:08,400 --> 00:05:10,720
su código de cupón, como puede ver, el
125
00:05:10,720 --> 00:05:12,560
dominio de javascript ya está ingresado
126
00:05:12,560 --> 00:05:14,800
aquí para mí, pero si no lo ha sido para
127
00:05:14,800 --> 00:05:17,759
usted, simplemente escriba el dominio de javascript que
128
00:05:17,759 --> 00:05:19,440
le dará un descuento aún mayor
129
00:05:19,440 --> 00:05:22,080
en su paquete de alojamiento después de
130
00:05:22,080 --> 00:05:24,320
realizar una compra, será redirigido
131
00:05:24,320 --> 00:05:26,639
al panel de control de los alojamientos, lo veré
132
00:05:26,639 --> 00:05:29,280
allí y estamos de vuelta dentro del
133
00:05:29,280 --> 00:05:31,840
panel de control de los alojamientos; en este caso,
134
00:05:31,840 --> 00:05:34,400
abrió una guía automática para el
135
00:05:34,400 --> 00:05:36,800
alojamiento que acabamos de comprar, así que
136
00:05:36,800 --> 00:05:40,479
avancemos y hagamos clic en comenzar ahora nos
137
00:05:40,560 --> 00:05:42,240
pregunta si queremos
138
00:05:42,240 --> 00:05:45,039
migrar un sitio web o construir un sitio web en
139
00:05:45,039 --> 00:05:48,320
este caso lo estamos construyendo por supuesto
140
00:05:48,320 --> 00:05:50,240
ahora nos pregunta si queremos
141
00:05:50,240 --> 00:05:53,520
codificar en wordpress o en algún otro cms
142
00:05:53,520 --> 00:05:55,600
en este caso usted puede hacer clic en omitir,
143
00:05:55,600 --> 00:05:58,560
comenzaré desde cero
144
00:05:59,120 --> 00:06:02,000
y, finalmente, aquí puede reclamar
145
00:06:02,000 --> 00:06:04,800
su dominio gratuito, así que sigamos y haga
146
00:06:04,800 --> 00:06:07,520
clic en seleccionar
147
00:06:07,520 --> 00:06:09,600
y aquí puede elegir un nombre para
148
00:06:09,600 --> 00:06:11,120
su nuevo sitio web,
149
00:06:11,120 --> 00:06:12,960
no tiene que hacer este paso ahora
150
00:06:12,960 --> 00:06:14,960
si aún no está seguro del
151
00:06:14,960 --> 00:06:16,720
nombre de dominio que desea elegir, no tiene que
152
00:06:16,720 --> 00:06:18,560
ser para este video, puede ser para su
153
00:06:18,560 --> 00:06:21,360
propia cartera o para sus futuros clientes,
154
00:06:21,360 --> 00:06:24,000
en este caso voy a cambiar a com
155
00:06:24,000 --> 00:06:26,960
e ir a por algo así como el
156
00:06:26,960 --> 00:06:30,319
sitio web moderno de dash business dash nuevamente, solo necesitamos
157
00:06:30,319 --> 00:06:32,560
algo simple en este caso y puedo hacer clic en
158
00:06:32,560 --> 00:06:35,440
buscar, este dominio está disponible
159
00:06:35,440 --> 00:06:38,720
y podemos hacer clic en continuar
160
00:06:39,039 --> 00:06:41,360
con eso, dicho que hemos terminado con nuestra
161
00:06:41,360 --> 00:06:44,160
configuración, podemos hacer clic en finalizar y estamos
162
00:06:44,160 --> 00:06:45,840
listos para comenzar a construir nuestra
163
00:06:45,840 --> 00:06:47,280
aplicación
164
00:06:47,280 --> 00:06:49,759
y ahí vamos nuestra configuración se está
165
00:06:49,759 --> 00:06:52,400
inicializando mientras hablamos ahora
166
00:06:52,400 --> 00:06:53,840
podremos sumergirnos directamente en el
167
00:06:53,840 --> 00:06:56,000
desarrollo y luego al final de este
168
00:06:56,000 --> 00:06:58,400
video vamos a volver aquí
169
00:06:58,400 --> 00:07:00,000
y luego vamos para implementar nuestro
170
00:07:00,000 --> 00:07:03,360
sitio web en los servidores rápidos de hostinger,
171
00:07:03,360 --> 00:07:06,319
excelente para que podamos hacer clic en administrar el sitio
172
00:07:06,319 --> 00:07:08,400
y luego, al final,
173
00:07:08,400 --> 00:07:10,720
volveremos aquí y finalizaremos la
174
00:07:10,720 --> 00:07:12,319
implementación
175
00:07:12,319 --> 00:07:14,800
con eso dicho, profundicemos directamente en
176
00:07:14,800 --> 00:07:16,960
el código si ha estado observando el
177
00:07:16,960 --> 00:07:19,280
dominio de javascript desde hace algún tiempo,
178
00:07:19,280 --> 00:07:21,840
entonces sabe que siempre comenzamos desde
179
00:07:21,840 --> 00:07:24,400
cero y le enseño cada paso
180
00:07:24,400 --> 00:07:25,360
del camino,
181
00:07:25,360 --> 00:07:28,479
por lo que comenzamos creando una
182
00:07:28,479 --> 00:07:30,479
carpeta vacía en nuestro escritorio,
183
00:07:30,479 --> 00:07:33,680
llamémosla aplicación de subrayado de banco subrayado moderno
184
00:07:33,680 --> 00:07:35,520
185
00:07:35,520 --> 00:07:37,440
y luego podemos arrastrar y soltar esa
186
00:07:37,440 --> 00:07:40,400
carpeta en una ventana de código de Visual Studio vacía,
187
00:07:40,400 --> 00:07:41,520
188
00:07:41,520 --> 00:07:43,680
puede expandir esa ventana y estamos
189
00:07:43,680 --> 00:07:45,840
listos para comenzar a codificar nuestra excelente
190
00:07:45,840 --> 00:07:47,120
aplicación,
191
00:07:47,120 --> 00:07:48,879
vayamos a la vista
192
00:07:48,879 --> 00:07:50,400
y luego a la terminal,
193
00:07:50,400 --> 00:07:53,280
y estamos listos para inicializar nuestra aplicación de reacción,
194
00:07:53,280 --> 00:07:54,479
195
00:07:54,479 --> 00:07:56,639
crear la aplicación de reacción ha estado liderando la
196
00:07:56,639 --> 00:07:58,400
industria en inicializando
197
00:07:58,400 --> 00:08:01,599
aplicaciones de reacción desde hace años, pero veed es una
198
00:08:01,599 --> 00:08:04,240
nueva herramienta que apareció recientemente y es
199
00:08:04,240 --> 00:08:06,080
mucho más rápido crear una
200
00:08:06,080 --> 00:08:09,280
aplicación de reacción usando veet, así que vayamos a
201
00:08:09,280 --> 00:08:11,280
vtjs.dev para
202
00:08:11,280 --> 00:08:12,400
comenzar
203
00:08:12,400 --> 00:08:14,240
y lo único que debemos hacer para
204
00:08:14,240 --> 00:08:17,199
inicializar nuestra aplicación de reacción se ejecuta
205
00:08:17,199 --> 00:08:20,879
npm create vit a más tardar
206
00:08:20,879 --> 00:08:22,800
dentro de nuestro código de Visual Studio,
207
00:08:22,800 --> 00:08:25,919
podemos ejecutar ese comando y hacer clic en Intro,
208
00:08:25,919 --> 00:08:27,520
por supuesto, asegúrese de haber
209
00:08:27,520 --> 00:08:30,240
descargado e instalado node.js si
210
00:08:30,240 --> 00:08:32,320
aún no lo ha hecho, simplemente
211
00:08:32,320 --> 00:08:35,039
descárguelo e instálelo en Google Node.js y luego vuelva a ejecutar
212
00:08:35,039 --> 00:08:37,360
este comando, el nombre de nuestro proyecto
213
00:08:37,360 --> 00:08:40,399
será el subrayado del banco, la aplicación moderna de subrayado,
214
00:08:40,399 --> 00:08:41,440
215
00:08:41,440 --> 00:08:42,958
por supuesto, puede llamarlo como
216
00:08:42,958 --> 00:08:45,600
quiera y, en este caso, voy a
217
00:08:45,600 --> 00:08:47,279
elegir reaccionar,
218
00:08:47,279 --> 00:08:49,279
también podemos elegir simplemente reaccionar
219
00:08:49,279 --> 00:08:51,680
sin texto mecanografiado esta vez y eso es todo,
220
00:08:51,680 --> 00:08:54,800
podemos hacer un cd en la aplicación de subrayado moderno de guión bajo del banco
221
00:08:54,800 --> 00:08:57,360
y podemos ejecutar npm
222
00:08:57,360 --> 00:08:59,519
install para instalar todas las
223
00:08:59,519 --> 00:09:01,839
dependencias necesarias, como puede ver, esto fue
224
00:09:01,839 --> 00:09:04,160
mucho más rápido que usar la aplicación crear reacción
225
00:09:04,160 --> 00:09:08,000
en mi máquina, tomó solo 8 segundos ahora
226
00:09:08,000 --> 00:09:11,120
intentemos ejecutar al ejecutar npm run
227
00:09:11,120 --> 00:09:12,000
dev
228
00:09:12,000 --> 00:09:15,040
en solo un segundo, obtenemos nuestra url hold
229
00:09:15,040 --> 00:09:18,080
ctrl y luego hacemos clic en este enlace aquí mismo
230
00:09:18,080 --> 00:09:21,600
y así nuestro iniciador está listo,
231
00:09:21,600 --> 00:09:23,760
pero aún más importante si
232
00:09:23,760 --> 00:09:25,440
lo revisa un poco, notará que
233
00:09:25,440 --> 00:09:28,320
tiene una configuración mucho más mínima que
234
00:09:28,320 --> 00:09:31,120
nuestra aplicación habitual de creación de reacciones, solo tenemos la
235
00:09:31,120 --> 00:09:34,720
aplicación principal, algunos activos de estilos y eso es todo,
236
00:09:34,720 --> 00:09:37,519
ahora que la aplicación está inicializada,
237
00:09:37,519 --> 00:09:39,519
podemos comenzar instalando todas las
238
00:09:39,519 --> 00:09:41,360
dependencias necesarias que
239
00:09:41,360 --> 00:09:43,920
usaremos a lo largo de este video creo sea
240
00:09:43,920 --> 00:09:46,640
o no, no vamos a abarrotar nuestro
241
00:09:46,640 --> 00:09:48,720
paquete.
242
00:09:48,720 --> 00:09:51,279
243
00:09:51,279 --> 00:09:54,320
244
00:09:54,320 --> 00:09:58,080
245
00:09:58,080 --> 00:09:59,600
246
00:09:59,600 --> 00:10:01,760
247
00:10:01,760 --> 00:10:04,240
eso nos ayudará a diseñar
248
00:10:04,240 --> 00:10:06,560
nuestra aplicación yendo rápidamente a la
249
00:10:06,560 --> 00:10:08,720
documentación de tailwind podemos ver que
250
00:10:08,720 --> 00:10:10,959
solo necesitamos ejecutar un par de comandos
251
00:10:10,959 --> 00:10:13,200
para instalar y configurar tailwind
252
00:10:13,200 --> 00:10:14,800
vamos a tomar nuestro primer comando desde
253
00:10:14,800 --> 00:10:18,560
aquí podemos ir a ver y luego terminal
254
00:10:18,560 --> 00:10:20,240
y luego podemos evitar que se ejecute
255
00:10:20,240 --> 00:10:23,920
presionando control c y luego y
256
00:10:23,920 --> 00:10:26,880
ahora puede escribir npm install dash
257
00:10:26,880 --> 00:10:31,600
capital d tailwind css post css y auto
258
00:10:31,600 --> 00:10:34,880
prefixer y presione enter después de eso,
259
00:10:34,880 --> 00:10:36,720
también tendremos que copiar el siguiente
260
00:10:36,720 --> 00:10:40,079
comando y eso es va a ser mpx
261
00:10:40,079 --> 00:10:43,600
tailwind css init dash b
262
00:10:43,600 --> 00:10:47,120
y presione enter allí vamos que creó
263
00:10:47,120 --> 00:10:48,880
nuestros archivos de configuración,
264
00:10:48,880 --> 00:10:52,760
así que vamos a configurarlos, primero vayamos a
265
00:10:52,760 --> 00:10:55,839
veet.config.js, como puede ver, este archivo
266
00:10:55,839 --> 00:10:58,800
solo especifica que estamos usando reaccionar
267
00:10:58,800 --> 00:11:02,399
ahora cuando se trata de tailwind.config.cjs,
268
00:11:02,399 --> 00:11:04,959
actualmente está bastante vacío, por lo que a
269
00:11:04,959 --> 00:11:07,200
continuación, en la descripción, encontrará un
270
00:11:07,200 --> 00:11:09,440
enlace a una esencia de github que
271
00:11:09,440 --> 00:11:14,200
contendrá el tailwind.config.cjs5 actualizado
272
00:11:14,560 --> 00:11:16,959
y simplemente puede copiarlo y pegarlo
273
00:11:16,959 --> 00:11:19,600
correctamente. Aquí ya creé para ti
274
00:11:19,600 --> 00:11:22,560
algunos estilos predefinidos y estos son
275
00:11:22,560 --> 00:11:24,880
increíblemente simples. Acabamos de agregar algunos
276
00:11:24,880 --> 00:11:26,959
colores para que podamos hacer referencia a ellos fácilmente.
277
00:11:26,959 --> 00:11:30,079
Algunas familias de fuentes y algunos tamaños de pantalla. dicho esto,
278
00:11:30,079 --> 00:11:32,640
279
00:11:32,640 --> 00:11:35,120
280
00:11:35,120 --> 00:11:37,680
créalo o no,
281
00:11:37,680 --> 00:11:39,839
tenemos todas las dependencias que
282
00:11:39,839 --> 00:11:42,959
necesitamos, así que configuremos nuestros archivos y activos principales
283
00:11:42,959 --> 00:11:44,160
284
00:11:44,160 --> 00:11:47,040
si vamos a main.jsx dentro de aquí
285
00:11:47,040 --> 00:11:50,800
estamos importando react react dom y también
286
00:11:50,800 --> 00:11:53,360
aplicación desde aplicación estamos también importando el
287
00:11:53,360 --> 00:11:56,240
índice css y simplemente renderizando la aplicación,
288
00:11:56,240 --> 00:11:57,680
esto es bueno
289
00:11:57,680 --> 00:12:00,560
ahora cuando se trata de index.css,
290
00:12:00,560 --> 00:12:02,560
aquí es donde queremos hacer uso de
291
00:12:02,560 --> 00:12:05,440
tailwind, así que nuevamente junto a
292
00:12:05,440 --> 00:12:07,680
tailwind.config.cjs
293
00:12:07,680 --> 00:12:09,839
podrás Encuentre otro archivo
294
00:12:09,839 --> 00:12:11,480
que será
295
00:12:11,480 --> 00:12:13,200
index.css
296
00:12:13,200 --> 00:12:15,760
en este archivo. Preparé para nosotros algunos
297
00:12:15,760 --> 00:12:18,320
gradientes, como puede ver aquí, algunos
298
00:12:18,320 --> 00:12:22,079
estilos básicos y fotogramas clave, pero más,
299
00:12:22,079 --> 00:12:25,120
solo importamos el viento de cola aquí y
300
00:12:25,120 --> 00:12:27,120
también importamos algunas fuentes,
301
00:12:27,120 --> 00:12:29,279
todo lo demás es solo configurar algunos. los
302
00:12:29,279 --> 00:12:30,720
gradientes de texto son
303
00:12:30,720 --> 00:12:33,200
excelentes, así que ahora también tenemos la configuración de viento de cola
304
00:12:33,200 --> 00:12:35,680
y tenemos algunos estilos básicos que
305
00:12:35,680 --> 00:12:36,639
podemos usar
306
00:12:36,639 --> 00:12:39,600
ahora podemos centrarnos en app.jsx
307
00:12:39,600 --> 00:12:41,360
podemos eliminar por completo todo lo
308
00:12:41,360 --> 00:12:42,639
que está aquí
309
00:12:42,639 --> 00:12:45,680
y podemos ejecutar rafce
310
00:12:45,680 --> 00:12:47,680
que generará automáticamente una
311
00:12:47,680 --> 00:12:49,920
función de flecha de reacción para nosotros,
312
00:12:49,920 --> 00:12:51,920
si esto no funcionó para usted, puede ir
313
00:12:51,920 --> 00:12:55,839
a extensiones y luego escribir es7 más
314
00:12:55,839 --> 00:12:58,800
reaccionar redux reaccionar fragmentos nativos
315
00:12:58,800 --> 00:13:01,120
puede instalar eso y luego puede ejecutar
316
00:13:01,120 --> 00:13:04,000
rafce y debería funcionar
317
00:13:04,000 --> 00:13:06,959
ahora tenemos un archivo plano y como puede
318
00:13:06,959 --> 00:13:09,920
ver ya no estamos importando app.css, así que
319
00:13:09,920 --> 00:13:11,600
podemos eliminar eso
320
00:13:11,600 --> 00:13:15,040
y también podemos eliminar la carpeta de activos,
321
00:13:15,040 --> 00:13:16,720
la razón por la que estamos eliminando la
322
00:13:16,720 --> 00:13:18,720
carpeta de activos es porque vamos a tener la
323
00:13:18,720 --> 00:13:21,360
nuestra propia, así que en la descripción que vas
324
00:13:21,360 --> 00:13:24,320
para encontrar un enlace a una carpeta de activos comprimidos,
325
00:13:24,320 --> 00:13:26,959
simplemente puede descomprimirlo y luego
326
00:13:26,959 --> 00:13:29,120
pegarlo aquí mismo dentro de la carpeta de origen,
327
00:13:29,120 --> 00:13:30,240
328
00:13:30,240 --> 00:13:32,240
como puede ver, estos son principalmente algunos
329
00:13:32,240 --> 00:13:35,519
íconos de logotipos y activos que vamos a
330
00:13:35,519 --> 00:13:38,639
usar en nuestra aplicación de grado.
331
00:13:38,639 --> 00:13:40,720
tomar mucho tiempo para encontrarlos
332
00:13:40,720 --> 00:13:43,040
y podremos hacer referencia a ellos desde
333
00:13:43,040 --> 00:13:45,040
nuestra aplicación de reacción.
334
00:13:45,040 --> 00:13:46,079
335
00:13:46,079 --> 00:13:47,920
Dicho esto, podemos continuar
336
00:13:47,920 --> 00:13:50,160
configurando nuestra estructura básica de archivos y carpetas
337
00:13:50,160 --> 00:13:51,360
338
00:13:51,360 --> 00:13:55,199
junto a index.css principal y app.jsx.
339
00:13:55,199 --> 00:13:58,240
también tendrá dos carpetas diferentes,
340
00:13:58,240 --> 00:14:00,839
la primera se llamará
341
00:14:00,839 --> 00:14:02,560
constantes
342
00:14:02,560 --> 00:14:04,720
y luego dentro de esa carpeta de constantes
343
00:14:04,720 --> 00:14:07,600
también tendremos un nuevo archivo index dot
344
00:14:07,600 --> 00:14:10,560
js dentro de ese archivo, queremos
345
00:14:10,560 --> 00:14:12,720
poner todo el texto estático que es se
346
00:14:12,720 --> 00:14:15,040
mostrará en el sitio web y cuando
347
00:14:15,040 --> 00:14:17,360
digo texto estático simplemente me refiero a cosas
348
00:14:17,360 --> 00:14:20,639
como estas, los títulos, las descripciones, la
349
00:14:20,639 --> 00:14:23,600
cantidad de usuarios activos, así como algunas
350
00:14:23,600 --> 00:14:26,800
listas como esta o tal vez incluso en el
351
00:14:26,800 --> 00:14:29,920
pie de página, queremos tener listas de
352
00:14:29,920 --> 00:14:32,240
enlaces prefabricadas. para que podamos simplemente mapearlos
353
00:14:32,240 --> 00:14:34,399
y no perder tiempo escribiendo cada uno
354
00:14:34,399 --> 00:14:36,560
a mano, esto nos ayudará a
355
00:14:36,560 --> 00:14:39,199
desarrollar nuestra aplicación más rápidamente y
356
00:14:39,199 --> 00:14:41,600
también garantizará que si le da
357
00:14:41,600 --> 00:14:44,240
este sitio web a un usuario no técnico,
358
00:14:44,240 --> 00:14:46,240
simplemente puede ingrese a ese
359
00:14:46,240 --> 00:14:48,560
archivo de constantes y cambie las cosas si lo
360
00:14:48,560 --> 00:14:50,720
desean para que pueda encontrar este
361
00:14:50,720 --> 00:14:53,120
archivo de constantes index.js en ese github
362
00:14:53,120 --> 00:14:55,600
gist a continuación y puede pegarlo,
363
00:14:55,600 --> 00:14:57,680
creo que puede ver lo que le estaba diciendo
364
00:14:57,680 --> 00:15:00,399
aquí, solo tenemos algunos matrices con
365
00:15:00,399 --> 00:15:04,160
listas de logotipos de ID o incluso algunos
366
00:15:04,160 --> 00:15:07,519
íconos de redes sociales y listas de enlaces que
367
00:15:07,519 --> 00:15:10,000
queremos incluir en el pie de página, son solo
368
00:15:10,000 --> 00:15:13,600
datos básicos, pero ahora un usuario puede acceder
369
00:15:13,600 --> 00:15:15,760
a este archivo y puede cambiar las cosas
370
00:15:15,760 --> 00:15:17,760
como quiera. No tienen que
371
00:15:17,760 --> 00:15:19,600
saber codificar, simplemente necesitan
372
00:15:19,600 --> 00:15:22,160
venir aquí y cambiar algo, por supuesto,
373
00:15:22,160 --> 00:15:23,920
esto también es útil si desea
374
00:15:23,920 --> 00:15:26,959
transferir esta aplicación para usar un CMS
375
00:15:26,959 --> 00:15:28,480
más adelante.
376
00:15:28,480 --> 00:15:30,959
El diseño que usaremos hoy es solo
377
00:15:30,959 --> 00:15:33,600
uno de innumerables diseños fenomenales
378
00:15:33,600 --> 00:15:36,560
creados por one week wonders
379
00:15:36,560 --> 00:15:38,399
me dieron permiso para usar este
380
00:15:38,399 --> 00:15:40,639
diseño para enseñarle cómo desarrollar un
381
00:15:40,639 --> 00:15:43,360
sitio web basado en ese diseño
382
00:15:43,360 --> 00:15:45,920
one week wonders ofrece muchos
383
00:15:45,920 --> 00:15:48,399
diseños impresionantes, así que definitivamente visite su
384
00:15:48,399 --> 00:15:50,959
sitio y las páginas de dribble en las que estará el enlace
385
00:15:50,959 --> 00:15:52,720
la descripción,
386
00:15:52,720 --> 00:15:56,000
pero dicho esto, tenemos todo lo que
387
00:15:56,000 --> 00:15:58,240
necesitamos y estamos listos para comenzar a codificar
388
00:15:58,240 --> 00:16:00,240
nuestra excelente aplicación.
389
00:16:00,240 --> 00:16:01,920
Primero, comenzaremos creando
390
00:16:01,920 --> 00:16:04,720
la estructura y el diseño dentro de
391
00:16:04,720 --> 00:16:06,959
esta aplicación. Importaremos todos
392
00:16:06,959 --> 00:16:09,199
los demás. componentes y luego
393
00:16:09,199 --> 00:16:12,560
podremos implementarlos uno por uno, así que
394
00:16:12,560 --> 00:16:15,040
comencemos a crear nuestro
395
00:16:15,040 --> 00:16:18,000
diseño, podemos comenzar creando un div
396
00:16:18,000 --> 00:16:19,839
que envolverá toda nuestra
397
00:16:19,839 --> 00:16:21,199
aplicación,
398
00:16:21,199 --> 00:16:24,079
ese div tendrá un nombre de clase
399
00:16:24,079 --> 00:16:27,199
igual a bg- primario
400
00:16:27,199 --> 00:16:29,040
w guión lleno
401
00:16:29,040 --> 00:16:32,079
y desbordamiento guión oculto
402
00:16:32,079 --> 00:16:33,920
por supuesto necesitamos tener algo
403
00:16:33,920 --> 00:16:36,320
dentro de ese div para poder verlo
404
00:16:36,320 --> 00:16:39,360
así que por ahora simplemente creemos un h1
405
00:16:39,360 --> 00:16:43,519
y digamos hola mundo
406
00:16:43,519 --> 00:16:44,480
genial
407
00:16:44,480 --> 00:16:46,959
ahora si su componente funcional de reacción
408
00:16:46,959 --> 00:16:49,759
simplemente devuelve jsx entonces usted puede
409
00:16:49,759 --> 00:16:52,320
eliminar por completo esa declaración de devolución
410
00:16:52,320 --> 00:16:54,480
eliminar las llaves y solo tener
411
00:16:54,480 --> 00:16:56,320
los paréntesis aquí
412
00:16:56,320 --> 00:16:59,199
y luego puede hacerlo así y
413
00:16:59,199 --> 00:17:02,320
deshacerse de un nivel más de sangría
414
00:17:02,320 --> 00:17:05,199
esto simplemente se ve más limpio, así que ahora
415
00:17:05,199 --> 00:17:07,439
ejecutemos nuestra aplicación y veamos si
416
00:17:07,439 --> 00:17:10,079
podemos mira el hola mundo en el navegador
417
00:17:10,079 --> 00:17:12,559
podemos abrir nuestra terminal y podemos
418
00:17:12,559 --> 00:17:15,679
ejecutar npm run dev
419
00:17:15,679 --> 00:17:18,559
controlemos haga clic en el enlace y haga clic en
420
00:17:18,559 --> 00:17:21,520
navegar y ahí vamos podemos ver solo
421
00:17:21,520 --> 00:17:23,919
este rectángulo negro pero si pasamos el mouse
422
00:17:23,919 --> 00:17:26,240
sobre él puede ver hola mundo lo que
423
00:17:26,240 --> 00:17:27,839
significa que todo funciona
424
00:17:27,839 --> 00:17:30,080
correctamente, solo tenemos que agregar más
425
00:17:30,080 --> 00:17:31,760
elementos a este diseño,
426
00:17:31,760 --> 00:17:33,600
así que continuemos
427
00:17:33,600 --> 00:17:36,160
ahora dentro de este div, podemos eliminar el
428
00:17:36,160 --> 00:17:39,840
h1 y voy a crear un div más,
429
00:17:39,840 --> 00:17:43,039
este div envolverá nuestra barra de navegación
430
00:17:43,039 --> 00:17:44,720
y va a tener algunos
431
00:17:44,720 --> 00:17:48,880
estilos especiales Creé un archivo que tiene muchos
432
00:17:48,880 --> 00:17:50,799
estilos que usaremos a lo largo de
433
00:17:50,799 --> 00:17:53,120
toda nuestra aplicación y confía en mí cuando
434
00:17:53,120 --> 00:17:55,760
te digo que este es el último archivo al que
435
00:17:55,760 --> 00:17:57,679
te daré acceso a
436
00:17:57,679 --> 00:17:59,280
todo. De lo contrario, de ahora en adelante,
437
00:17:59,280 --> 00:18:01,360
codificarás por tu cuenta. Solo quiero
438
00:18:01,360 --> 00:18:03,600
proporcionarte algunos archivos para que podamos
439
00:18:03,600 --> 00:18:05,760
comenzar a trabajar, de modo que puedas aprender tanto como sea
440
00:18:05,760 --> 00:18:08,160
441
00:18:08,160 --> 00:18:11,039
posible en el menor tiempo posible. podrá
442
00:18:11,039 --> 00:18:14,480
encontrar un archivo de estilo style.js
443
00:18:14,480 --> 00:18:15,360
444
00:18:15,360 --> 00:18:17,840
que irá directamente dentro de nuestra
445
00:18:17,840 --> 00:18:20,320
fuente, puede copiarlo desde allí y
446
00:18:20,320 --> 00:18:21,919
pegarlo aquí,
447
00:18:21,919 --> 00:18:24,720
como puede ver, tenemos algunos estilos que
448
00:18:24,720 --> 00:18:26,640
ayudarán con el diseño
449
00:18:26,640 --> 00:18:29,919
y algunos encabezados básicos, párrafos,
450
00:18:29,919 --> 00:18:32,960
centros flexibles, comienzos flexibles, etc., estos son
451
00:18:32,960 --> 00:18:34,880
solo colecciones de un par de
452
00:18:34,880 --> 00:18:38,240
nombres de clases diferentes que están vinculados a una sola
453
00:18:38,240 --> 00:18:41,200
cadena, por lo que es mucho más fácil usarlos, así que
454
00:18:41,200 --> 00:18:43,840
ahora regresemos a nuestra aplicación y
455
00:18:43,840 --> 00:18:46,960
aquí vamos a importarlos estilos para que
456
00:18:46,960 --> 00:18:49,120
podamos decir importar estilos
457
00:18:49,120 --> 00:18:52,240
de estilos de barra de puntos
458
00:18:52,240 --> 00:18:54,480
y ahora dentro de este div podemos decir que el
459
00:18:54,480 --> 00:18:57,840
nombre de la clase es igual a
460
00:18:57,840 --> 00:19:00,880
eso será una marca de retroceso
461
00:19:00,880 --> 00:19:03,440
y luego un signo de dólar y llaves
462
00:19:03,440 --> 00:19:06,720
estilos relleno de puntos x
463
00:19:06,720 --> 00:19:08,320
y ahora si te estás preguntando lo que esto
464
00:19:08,320 --> 00:19:09,280
hace
465
00:19:09,280 --> 00:19:11,679
es que primero tiene que corregir este error que
466
00:19:11,679 --> 00:19:13,520
cometí y eso solo
467
00:19:13,520 --> 00:19:16,400
vendrá del estilo aquí
468
00:19:16,400 --> 00:19:18,799
ahora, puede controlar, hacer clic en él y puede
469
00:19:18,799 --> 00:19:21,440
ver el relleno x
470
00:19:21,440 --> 00:19:23,280
esencialmente va a decir relleno x
471
00:19:23,280 --> 00:19:25,600
es 6 es va a darle algo de relleno
472
00:19:25,600 --> 00:19:27,360
y en dispositivos más pequeños le va a
473
00:19:27,360 --> 00:19:29,039
dar algo más de relleno, eso es
474
00:19:29,039 --> 00:19:30,480
esencialmente
475
00:19:30,480 --> 00:19:32,640
ahora podemos agregar un nombre de clase adicional
476
00:19:32,640 --> 00:19:33,720
como
477
00:19:33,720 --> 00:19:36,320
styles.flex center
478
00:19:36,320 --> 00:19:39,360
dentro de allí queremos tener un div más
479
00:19:39,360 --> 00:19:40,160
480
00:19:40,160 --> 00:19:42,559
y este div va para tener un nombre de clase
481
00:19:42,559 --> 00:19:43,520
482
00:19:43,520 --> 00:19:46,160
y, de nuevo, será un
483
00:19:46,160 --> 00:19:48,960
signo de dólar de comilla invertida, llaves y luego estilos de
484
00:19:48,960 --> 00:19:52,240
ancho de cuadro de puntos nuevamente si está interesado
485
00:19:52,240 --> 00:19:54,640
en lo que hace esta clase, simplemente haga clic en él
486
00:19:54,640 --> 00:19:57,039
y puede ver que le da un ancho completo
487
00:19:57,039 --> 00:19:58,160
488
00:19:58,160 --> 00:20:00,880
ahora adentro de allí, queremos representar una
489
00:20:00,880 --> 00:20:02,080
barra de navegación
490
00:20:02,080 --> 00:20:04,240
más adelante, este será un componente de la barra de navegación,
491
00:20:04,240 --> 00:20:06,640
pero por ahora podemos dejarlo como
492
00:20:06,640 --> 00:20:08,000
un texto básico,
493
00:20:08,000 --> 00:20:11,440
por lo que esta parte aquí forma nuestra barra de navegación,
494
00:20:11,440 --> 00:20:13,760
agreguemos una línea vacía aquí y
495
00:20:13,760 --> 00:20:16,480
continuemos con el siguiente paso que va
496
00:20:16,480 --> 00:20:19,039
a ser nuestra sección principal la
497
00:20:19,039 --> 00:20:20,640
parte principal de nuestra aplicación
498
00:20:20,640 --> 00:20:22,640
queremos tener un div
499
00:20:22,640 --> 00:20:25,679
y queremos darle un nombre de clase
500
00:20:25,679 --> 00:20:27,679
que volverá a ser
501
00:20:27,679 --> 00:20:29,520
dinámico
502
00:20:29,520 --> 00:20:32,240
primero queremos decir bg-primary para el
503
00:20:32,240 --> 00:20:33,600
color de fondo
504
00:20:33,600 --> 00:20:36,480
y luego quiero decir que los estilos dot flex
505
00:20:36,480 --> 00:20:37,679
comienzan
506
00:20:37,679 --> 00:20:39,840
una vez más, vamos a tener un
507
00:20:39,840 --> 00:20:41,440
div interno
508
00:20:41,440 --> 00:20:44,640
y este div tendrá un nombre de clase
509
00:20:44,640 --> 00:20:45,679
510
00:20:45,679 --> 00:20:49,520
igual a un ancho de cuadro de puntos de estilos dinámicos
511
00:20:49,520 --> 00:20:51,039
512
00:20:51,039 --> 00:20:52,400
513
00:20:52,400 --> 00:20:54,559
y dentro de allí queremos representar
514
00:20:54,559 --> 00:20:57,600
nuestro futuro componente héroe y un héroe es
515
00:20:57,600 --> 00:20:59,760
solo la estrella principal del programa en nuestra
516
00:20:59,760 --> 00:21:02,559
aplicación un héroe es esta parte que
517
00:21:02,559 --> 00:21:04,480
puede ver aquí mismo todo lo que es
518
00:21:04,480 --> 00:21:07,039
visible tan pronto como carga la página
519
00:21:07,039 --> 00:21:09,679
con eso dicho podemos movernos a todo lo
520
00:21:09,679 --> 00:21:12,640
que está debajo del héroe y solo para
521
00:21:12,640 --> 00:21:14,559
simplificar el proceso, podemos duplicar
522
00:21:14,559 --> 00:21:17,520
lo que tenemos aquí, por lo que será
523
00:21:17,520 --> 00:21:20,240
casi lo mismo que será bg
524
00:21:20,240 --> 00:21:21,440
primario
525
00:21:21,440 --> 00:21:24,000
estilos flex start y solo nos falta
526
00:21:24,000 --> 00:21:26,400
uno que será
527
00:21:26,400 --> 00:21:27,600
estilos
528
00:21:27,600 --> 00:21:28,720
dot
529
00:21:28,720 --> 00:21:30,640
padding x
530
00:21:30,640 --> 00:21:32,000
ahí vamos
531
00:21:32,000 --> 00:21:34,559
y ahora en ahí tenemos un cuadro con pero
532
00:21:34,559 --> 00:21:36,799
esta vez en lugar de héroe queremos
533
00:21:36,799 --> 00:21:39,760
representar todos nuestros diferentes componentes,
534
00:21:39,760 --> 00:21:41,440
por lo que serán
535
00:21:41,440 --> 00:21:45,440
estadísticas como en las estadísticas de nuestro banco
536
00:21:45,440 --> 00:21:47,600
queremos tener la sección de negocios
537
00:21:47,600 --> 00:21:50,080
queremos tener la sección de facturación también
538
00:21:50,080 --> 00:21:53,200
necesitamos tener una sección de ofertas de tarjetas,
539
00:21:53,200 --> 00:21:55,600
una sección de testimonios, una sección de
540
00:21:55,600 --> 00:21:56,720
541
00:21:56,720 --> 00:21:59,200
clientes,
542
00:21:59,200 --> 00:22:02,480
hacer clic en la sección de acción y, finalmente, una
543
00:22:02,480 --> 00:22:04,799
sección de pie de página, todos estos elementos
544
00:22:04,799 --> 00:22:07,120
que ahora son elementos de texto básicos que vamos a
545
00:22:07,120 --> 00:22:09,760
transformar en
546
00:22:09,760 --> 00:22:12,240
componentes reales para que podamos sumergirnos en ellos y
547
00:22:12,240 --> 00:22:15,039
realmente podamos codifíquelos, así que hagamos eso,
548
00:22:15,039 --> 00:22:18,000
podemos hacer clic con el botón derecho dentro
549
00:22:18,000 --> 00:22:19,520
de nuestra carpeta de origen
550
00:22:19,520 --> 00:22:22,000
y crear una nueva carpeta llamada
551
00:22:22,000 --> 00:22:23,360
components
552
00:22:23,360 --> 00:22:26,400
react se trata de que los componentes los reutilicen
553
00:22:26,400 --> 00:22:27,200
554
00:22:27,200 --> 00:22:29,200
y se aseguren de que todo sea lo más
555
00:22:29,200 --> 00:22:31,919
legible posible, cada componente
556
00:22:31,919 --> 00:22:34,159
debe hacer lo suyo,
557
00:22:34,159 --> 00:22:36,720
así que vamos a crear la estructura básica para
558
00:22:36,720 --> 00:22:38,159
todos los componentes que vamos a
559
00:22:38,159 --> 00:22:40,000
usar a lo largo de toda esta
560
00:22:40,000 --> 00:22:42,320
aplicación que va a llevar algo de
561
00:22:42,320 --> 00:22:44,640
tiempo por adelantado, pero créanme,
562
00:22:44,640 --> 00:22:47,520
nos ahorrará mucho tiempo en el futuro, así que
563
00:22:47,520 --> 00:22:49,679
vamos a crear nuestra primera componente que se
564
00:22:49,679 --> 00:22:51,919
llamará billing
565
00:22:51,919 --> 00:22:55,400
dot jsx tan pronto como se abra, podemos ejecutar
566
00:22:55,400 --> 00:22:58,720
rafce allí para crear una estructura básica
567
00:22:58,720 --> 00:23:00,880
y podemos pasar a nuestro próximo componente
568
00:23:00,880 --> 00:23:02,679
que será
569
00:23:02,679 --> 00:23:04,320
business.jsx
570
00:23:04,320 --> 00:23:06,400
nuevamente rafce
571
00:23:06,400 --> 00:23:08,880
y pasar a nuestro próximo componente que
572
00:23:08,880 --> 00:23:11,120
tenemos un componente de botón
573
00:23:11,120 --> 00:23:12,640
dot jsx
574
00:23:12,640 --> 00:23:14,159
rafc e
575
00:23:14,159 --> 00:23:16,960
y sigue adelante entiendes que voy
576
00:23:16,960 --> 00:23:18,880
a seguir haciendo eso y seguiré repitiendo
577
00:23:18,880 --> 00:23:20,400
eso para todos los componentes que
578
00:23:20,400 --> 00:23:22,880
vamos a usar el siguiente componente
579
00:23:22,880 --> 00:23:26,159
en nuestra lista es el componente card deal dot jsx
580
00:23:26,159 --> 00:23:30,080
y nuevamente puede ejecutar rafce,
581
00:23:30,080 --> 00:23:32,480
el siguiente en nuestra lista será
582
00:23:32,480 --> 00:23:34,240
la sección del cliente
583
00:23:34,240 --> 00:23:37,679
jsx, puede ejecutar rafce,
584
00:23:37,679 --> 00:23:40,000
el siguiente en nuestra lista será
585
00:23:40,000 --> 00:23:42,559
un cta.jsx
586
00:23:42,559 --> 00:23:45,679
y puede ejecutar rafce nuevamente,
587
00:23:45,679 --> 00:23:47,840
el siguiente en nuestra lista va a ser
588
00:23:47,840 --> 00:23:49,440
la
589
00:23:49,440 --> 00:23:54,720
tarjeta de comentarios dot jsx y nuevamente podemos ejecutar rafce,
590
00:23:54,720 --> 00:23:57,720
luego tenemos el pie de página para poder ejecutar
591
00:23:57,720 --> 00:24:00,440
footer.jsx y luego ejecutar
592
00:24:00,440 --> 00:24:02,240
rafce,
593
00:24:02,240 --> 00:24:04,720
luego tenemos la sección de inicio para que
594
00:24:04,720 --> 00:24:06,039
podamos decir
595
00:24:06,039 --> 00:24:09,760
comenzar.jsx y ejecutar rafce
596
00:24:09,760 --> 00:24:12,720
después que tenemos nuestra sección de héroe, nuestra
597
00:24:12,720 --> 00:24:14,080
sección principal
598
00:24:14,080 --> 00:24:18,000
jsx y podemos ejecutar rafce nuevamente,
599
00:24:18,000 --> 00:24:20,240
luego vamos a tener nuestra barra de navegación, un
600
00:24:20,240 --> 00:24:22,640
componente realmente importante, por supuesto, y
601
00:24:22,640 --> 00:24:25,200
podemos ejecutar rafce,
602
00:24:25,200 --> 00:24:27,679
finalmente tenemos nuestro
603
00:24:27,679 --> 00:24:30,480
punto de estadísticas jsx para ver qué ha hecho nuestro banco
604
00:24:30,480 --> 00:24:33,039
durante el último período y finalmente
605
00:24:33,039 --> 00:24:36,000
tenemos los testimonios
606
00:24:36,000 --> 00:24:39,679
dot jsx nuevamente ejecuta rafce
607
00:24:39,679 --> 00:24:43,520
great, así que ahora, si volvemos a nuestra aplicación,
608
00:24:43,520 --> 00:24:46,159
podemos importar todos estos componentes,
609
00:24:46,159 --> 00:24:49,279
por ejemplo, podemos decir import navbar
610
00:24:49,279 --> 00:24:53,120
from that's will be dot slash components and
611
00:24:53,120 --> 00:24:56,159
navbar
612
00:24:56,159 --> 00:24:57,679
como este
613
00:24:57,679 --> 00:25:00,400
y ahora también podemos repetir esto para la
614
00:25:00,400 --> 00:25:02,880
sección de héroe, así que podemos decir importar
615
00:25:02,880 --> 00:25:05,600
héroe de héroe,
616
00:25:05,600 --> 00:25:07,919
pero como puede notar aquí, tenemos
617
00:25:07,919 --> 00:25:10,720
bastantes componentes, por lo que nuestras importaciones
618
00:25:10,720 --> 00:25:12,799
tomarían más líneas que el
619
00:25:12,799 --> 00:25:15,120
código real en sí y eso es no es algo que
620
00:25:15,120 --> 00:25:17,200
quieras hacer, se vería algo como
621
00:25:17,200 --> 00:25:18,240
esto
622
00:25:18,240 --> 00:25:20,799
que no es bueno, así que hay un pequeño
623
00:25:20,799 --> 00:25:22,880
truco que quiero mostrarte
624
00:25:22,880 --> 00:25:25,000
si creas un nuevo
625
00:25:25,000 --> 00:25:28,640
archivo index.js dentro de los componentes,
626
00:25:28,640 --> 00:25:31,120
ese archivo exportará todos los
627
00:25:31,120 --> 00:25:33,760
componentes en una línea pero, por supuesto, para
628
00:25:33,760 --> 00:25:35,760
poder exportarlos, primero tenemos que
629
00:25:35,760 --> 00:25:38,240
importarlos aquí mismo para que podamos decir
630
00:25:38,240 --> 00:25:41,200
importar la barra de navegación desde la barra de navegación y solo para
631
00:25:41,200 --> 00:25:42,880
acelerar este proceso, le
632
00:25:42,880 --> 00:25:45,520
proporcionaré este archivo index.js en
633
00:25:45,520 --> 00:25:47,760
ese github justo debajo para que simplemente pueda
634
00:25:47,760 --> 00:25:50,159
copiarlo y pegarlo aquí,
635
00:25:50,159 --> 00:25:51,840
como puede ver, estamos importando todos
636
00:25:51,840 --> 00:25:54,159
estos componentes y luego
637
00:25:54,159 --> 00:25:57,039
los estamos exportando desde el archivo de índice. Ahora,
638
00:25:57,039 --> 00:25:59,279
lo que esto nos permitirá hacer es
639
00:25:59,279 --> 00:26:00,559
regresar
640
00:26:00,559 --> 00:26:02,559
y en su lugar de importar cada
641
00:26:02,559 --> 00:26:05,200
componente individual en su propia línea, ahora podemos decir
642
00:26:05,200 --> 00:26:08,240
importar barra de navegación pero dentro de las llaves
643
00:26:08,240 --> 00:26:09,360
644
00:26:09,360 --> 00:26:11,279
y eso provendrá de
645
00:26:11,279 --> 00:26:12,559
componentes
646
00:26:12,559 --> 00:26:14,000
solo componentes
647
00:26:14,000 --> 00:26:16,480
y ahora puede agregar a esta línea cualquier
648
00:26:16,480 --> 00:26:19,600
otra importación de componente también, así que en nuestro
649
00:26:19,600 --> 00:26:22,640
caso eso es Voy a ser el héroe de la barra de navegación
650
00:26:22,640 --> 00:26:25,440
y voy a copiar todo esto
651
00:26:25,440 --> 00:26:27,360
y pegarlo aquí porque
652
00:26:27,360 --> 00:26:29,919
también queremos importarlo todo,
653
00:26:29,919 --> 00:26:32,559
pero lo pondré en una línea para que
654
00:26:32,559 --> 00:26:34,400
sea más fácil de leer.
655
00:26:34,400 --> 00:26:36,960
puedo ver que tengo el
656
00:26:36,960 --> 00:26:39,679
ajuste de línea activado en mi configuración, así que ahora se
657
00:26:39,679 --> 00:26:42,559
mostrará muy bien aquí
658
00:26:42,559 --> 00:26:44,480
y este es un pequeño truco que
659
00:26:44,480 --> 00:26:46,799
puede usar para hacer que el código de sus
660
00:26:46,799 --> 00:26:50,000
aplicaciones react y nexjs sea más legible
661
00:26:50,000 --> 00:26:51,440
si esto es algo que usted me pareció
662
00:26:51,440 --> 00:26:52,480
interesante,
663
00:26:52,480 --> 00:26:54,320
sugeriría consultar el
664
00:26:54,320 --> 00:26:56,640
curso de filmpark en la plataforma js mastery pro,
665
00:26:56,640 --> 00:26:58,799
le enseña cómo codificar usando
666
00:26:58,799 --> 00:27:01,120
reaccionar desde un nivel principiante hasta un
667
00:27:01,120 --> 00:27:02,720
nivel profesional,
668
00:27:02,720 --> 00:27:04,080
así que simplemente haga clic en el enlace en la
669
00:27:04,080 --> 00:27:06,400
descripción y se le aplicará automáticamente un descuento especial de youtube Espero
670
00:27:06,400 --> 00:27:08,720
671
00:27:08,720 --> 00:27:11,039
verlo
672
00:27:11,039 --> 00:27:12,240
en el curso,
673
00:27:12,240 --> 00:27:14,559
pero dicho esto, procedamos con
674
00:27:14,559 --> 00:27:16,159
el desarrollo
675
00:27:16,159 --> 00:27:18,080
ahora que tenemos todos estos componentes
676
00:27:18,080 --> 00:27:20,240
importados, transformemos estos
677
00:27:20,240 --> 00:27:23,200
elementos de texto en componentes reales,
678
00:27:23,200 --> 00:27:25,520
hagamos doble clic en la primera palabra y
679
00:27:25,520 --> 00:27:28,240
luego mantengamos presionada la tecla Alt y luego siga haciendo
680
00:27:28,240 --> 00:27:31,520
doble clic en cada palabra nueva para
681
00:27:31,520 --> 00:27:32,720
seleccionarla
682
00:27:32,720 --> 00:27:34,960
ahora vamos a hacer un poco de
683
00:27:34,960 --> 00:27:37,279
magia de atajo de código de estudio visual está bien, tiene
684
00:27:37,279 --> 00:27:40,000
todo seleccionado ahora presione la
685
00:27:40,000 --> 00:27:42,720
tecla ctrl y la flecha hacia la izquierda para moverse al
686
00:27:42,720 --> 00:27:44,480
lado izquierdo de la palabra y
687
00:27:44,480 --> 00:27:47,200
luego abra la apertura mantenga presionada la etiqueta
688
00:27:47,200 --> 00:27:49,919
ctrl y luego presione la flecha hacia la derecha
689
00:27:49,919 --> 00:27:52,640
y ahora cierre la etiqueta
690
00:27:52,640 --> 00:27:55,440
con este simple truco, instantáneamente
691
00:27:55,440 --> 00:27:57,919
convertimos todos estos elementos de texto en
692
00:27:57,919 --> 00:27:59,039
componentes
693
00:27:59,039 --> 00:28:00,960
si por alguna razón esto no funcionó
694
00:28:00,960 --> 00:28:03,760
para usted, simplemente agregue manualmente las
695
00:28:03,760 --> 00:28:06,399
etiquetas de apertura y cierre a cada uno de
696
00:28:06,399 --> 00:28:08,799
estos componentes esto también es algo
697
00:28:08,799 --> 00:28:11,039
que enseñamos en el curso del parque de películas,
698
00:28:11,039 --> 00:28:13,840
pero dicho esto, ahora tenemos la
699
00:28:13,840 --> 00:28:16,399
estructura básica y veamos nuestra aplicación en
700
00:28:16,399 --> 00:28:18,640
el navegador, como puede ver aquí,
701
00:28:18,640 --> 00:28:22,000
es solo una pantalla negra vacía, pero si
702
00:28:22,000 --> 00:28:24,559
seleccionamos Puede ver que tenemos nuestros
703
00:28:24,559 --> 00:28:26,480
componentes aquí
704
00:28:26,480 --> 00:28:28,880
ahora, creamos toda la estructura.
705
00:28:28,880 --> 00:28:30,880
Sé que tomó algo de tiempo, pero ahora estamos
706
00:28:30,880 --> 00:28:33,919
listos para comenzar a desarrollar esta hermosa y
707
00:28:33,919 --> 00:28:37,679
moderna aplicación bancaria, así que regresemos
708
00:28:37,679 --> 00:28:40,399
al código y comencemos haciendo
709
00:28:40,399 --> 00:28:43,440
clic en el control. para movernos a nuestro componente de la barra de navegación, la
710
00:28:43,440 --> 00:28:44,559
711
00:28:44,559 --> 00:28:46,880
barra de navegación es la primera en la lista,
712
00:28:46,880 --> 00:28:49,200
ahora que finalmente comenzamos a codificar,
713
00:28:49,200 --> 00:28:51,520
podemos cerrar todos nuestros archivos manteniendo presionada la tecla
714
00:28:51,520 --> 00:28:54,159
ctrl y luego presionando w un par de
715
00:28:54,159 --> 00:28:55,440
veces
716
00:28:55,440 --> 00:28:58,480
y volvamos a nuestra barra de navegación,
717
00:28:58,480 --> 00:29:01,120
allí vamos, así que ahora podemos abrir nuestro
718
00:29:01,120 --> 00:29:03,600
navegador junto con nuestro editor para
719
00:29:03,600 --> 00:29:05,440
que podamos ver los cambios que hacemos en
720
00:29:05,440 --> 00:29:06,720
vivo
721
00:29:06,720 --> 00:29:09,039
y allí vamos en el lado derecho de nuestra
722
00:29:09,039 --> 00:29:11,919
pantalla tenemos nuestro navegador y luego en
723
00:29:11,919 --> 00:29:14,240
el lado izquierdo tenemos nuestro estudio visual
724
00:29:14,240 --> 00:29:16,720
código ahora, por supuesto, antes de comenzar a
725
00:29:16,720 --> 00:29:18,799
crear nuestra barra de navegación aquí, podemos
726
00:29:18,799 --> 00:29:21,039
compararla con la aplicación finalizada que tengo
727
00:29:21,039 --> 00:29:22,000
abierta,
728
00:29:22,000 --> 00:29:24,240
pero podría ser aún mejor comenzar a
729
00:29:24,240 --> 00:29:26,960
compararla con nuestro diseño porque
730
00:29:26,960 --> 00:29:28,559
eso es lo principal que estamos aprendiendo
731
00:29:28,559 --> 00:29:32,640
aquí cómo transformar un diseño en su
732
00:29:32,640 --> 00:29:35,440
aplicación de reacción ahí vamos
733
00:29:35,440 --> 00:29:38,080
Abrí el diseño en mi navegador y
734
00:29:38,080 --> 00:29:40,559
también voy a compartir el enlace con usted para
735
00:29:40,559 --> 00:29:42,640
que lo tenga abierto también mientras
736
00:29:42,640 --> 00:29:44,159
desarrollamos esta aplicación
737
00:29:44,159 --> 00:29:47,120
juntos para que podamos hacer zoom primero en la
738
00:29:47,120 --> 00:29:49,679
barra de navegación podemos ver la foto aquí
739
00:29:49,679 --> 00:29:52,080
y luego en el lado izquierdo podemos ver
740
00:29:52,080 --> 00:29:54,559
algunos enlaces, así que avancemos y
741
00:29:54,559 --> 00:29:56,880
codifiquemos la barra de navegación primero, lo que también podemos
742
00:29:56,880 --> 00:29:58,559
notar es que hay muchos
743
00:29:58,559 --> 00:30:00,640
activos diferentes, así que si hacemos clic
744
00:30:00,640 --> 00:30:02,799
aquí podemos seleccionar que puede ver que
745
00:30:02,799 --> 00:30:05,840
es la mano del robot. También tenemos este
746
00:30:05,840 --> 00:30:08,480
activo aquí que es una pequeña tarjeta
747
00:30:08,480 --> 00:30:11,039
y todas estas imágenes aquí
748
00:30:11,039 --> 00:30:12,559
si está trabajando para algunas empresas
749
00:30:12,559 --> 00:30:15,200
que tienen más dinero o mejores clientes.
750
00:30:15,200 --> 00:30:16,559
voy a colaborar con algunos
751
00:30:16,559 --> 00:30:18,720
grandes diseñadores y, si tiene suerte,
752
00:30:18,720 --> 00:30:20,480
753
00:30:20,480 --> 00:30:22,480
le proporcionarán este diseño y luego podrá
754
00:30:22,480 --> 00:30:24,960
concentrarse solo en la codificación, pero en algunos casos,
755
00:30:24,960 --> 00:30:27,120
desafortunadamente, tendrá que ser el
756
00:30:27,120 --> 00:30:30,399
diseñador y el codificador también, pero
757
00:30:30,399 --> 00:30:32,799
afortunadamente, en este caso, hemos preparado
758
00:30:32,799 --> 00:30:35,360
para usted un diseño fenomenal para que pueda
759
00:30:35,360 --> 00:30:38,399
usarlo y pueda codificar tal como
760
00:30:38,399 --> 00:30:39,120
somos, como sabe, ya
761
00:30:39,120 --> 00:30:40,640
le he dado
762
00:30:40,640 --> 00:30:42,960
acceso a todos los activos, así que cuando
763
00:30:42,960 --> 00:30:44,480
llegue para el diseño, solo haremos
764
00:30:44,480 --> 00:30:47,360
referencia a los estilos y la
765
00:30:47,360 --> 00:30:49,679
apariencia general del sitio web, así que ahora
766
00:30:49,679 --> 00:30:51,600
regresemos a nuestro sitio y
767
00:30:51,600 --> 00:30:53,279
comencemos con la barra de navegación.
768
00:30:53,279 --> 00:30:57,279
Primero podemos importar el gancho de estado de uso
769
00:30:57,279 --> 00:30:59,039
de reaccionar
770
00:30:59,039 --> 00:31:00,880
y también podemos importar un par de los
771
00:31:00,880 --> 00:31:05,279
activos que van a estar cerca del logotipo y el
772
00:31:05,279 --> 00:31:07,279
menú provenientes de los
773
00:31:07,279 --> 00:31:08,559
774
00:31:08,559 --> 00:31:11,200
activos de barra diagonal junto con los activos,
775
00:31:11,200 --> 00:31:14,320
también vamos a importar enlaces de navegación que
776
00:31:14,320 --> 00:31:15,519
provienen de las
777
00:31:15,519 --> 00:31:16,840
778
00:31:16,840 --> 00:31:19,200
constantes de barra diagonal ahora si desea ver cuáles
779
00:31:19,200 --> 00:31:21,760
son, simplemente presione ctrl y haga clic en ellos y
780
00:31:21,760 --> 00:31:24,399
podrá ver que es una matriz que contiene una
781
00:31:24,399 --> 00:31:27,039
lista de objetos que tienen la identificación y el
782
00:31:27,039 --> 00:31:31,440
título, estos son nuestros enlaces de navegación, así que
783
00:31:31,440 --> 00:31:33,360
comencemos a codificarlo,
784
00:31:33,360 --> 00:31:36,320
primero vamos a tener la
785
00:31:36,320 --> 00:31:39,360
etiqueta de navegación semántica html5, también le daremos algunos
786
00:31:39,360 --> 00:31:40,720
nombres de clase
787
00:31:40,720 --> 00:31:43,440
como w dash full
788
00:31:43,440 --> 00:31:44,559
flex
789
00:31:44,559 --> 00:31:46,720
padding y dash 6
790
00:31:46,720 --> 00:31:48,880
justifica el guión entre el
791
00:31:48,880 --> 00:31:53,279
centro de elementos y un estilo de barra de navegación especial
792
00:31:53,279 --> 00:31:55,440
ahora volvamos a nuestro sitio web y
793
00:31:55,440 --> 00:31:57,440
guardémoslo ahora, como puede ver,
794
00:31:57,440 --> 00:31:59,600
inmediatamente obtuvimos mucha más altura en nuestra
795
00:31:59,600 --> 00:32:00,799
barra de navegación
796
00:32:00,799 --> 00:32:02,880
y si se pregunta qué esos
797
00:32:02,880 --> 00:32:08,159
estilos hacen como w dash full flex py6
798
00:32:08,159 --> 00:32:11,600
justifican entre y así sucesivamente estas son todas las
799
00:32:11,600 --> 00:32:15,360
clases de utilidad de viento de cola y el viento de cola se
800
00:32:15,360 --> 00:32:18,000
usa para crear elementos como esta
801
00:32:18,000 --> 00:32:20,720
tarjeta aquí muy rápido simplemente
802
00:32:20,720 --> 00:32:22,960
agregando esos nombres de clase ese es el
803
00:32:22,960 --> 00:32:24,880
punto y por eso lo estamos usando
804
00:32:24,880 --> 00:32:27,440
si está interesado en lo que
805
00:32:27,440 --> 00:32:29,120
hace una clase específica,
806
00:32:29,120 --> 00:32:30,559
vaya a Tailwind,
807
00:32:30,559 --> 00:32:32,080
haga clic en documentos
808
00:32:32,080 --> 00:32:34,480
y luego simplemente use esta búsqueda en la parte
809
00:32:34,480 --> 00:32:37,840
superior derecha, podemos buscar w-full y
810
00:32:37,840 --> 00:32:41,120
podemos ver que establece el ancho completo,
811
00:32:41,120 --> 00:32:43,840
eso es todo. realmente simple, no
812
00:32:43,840 --> 00:32:46,080
compliques demasiado las cosas diciendo oh, ¿qué es este
813
00:32:46,080 --> 00:32:49,039
ancho completo? ¿Qué es este py6?
814
00:32:49,039 --> 00:32:51,519
Simplemente ve a Tailwind docs y búscalo. Eso es
815
00:32:51,519 --> 00:32:53,840
todo lo que tienes que hacer
816
00:32:53,840 --> 00:32:56,279
y eso es lo que siempre enseño en mis
817
00:32:56,279 --> 00:32:58,399
cursos js mastery.pro que
818
00:32:58,399 --> 00:33:01,440
necesitas. ser capaz de leer documentos por su
819
00:33:01,440 --> 00:33:04,399
cuenta es la única forma de
820
00:33:04,399 --> 00:33:06,799
convertirse en un desarrollador competente e
821
00:33:06,799 --> 00:33:09,519
independiente, solo puedo enseñarle
822
00:33:09,519 --> 00:33:11,840
tanto que puedo mostrarle cómo crear
823
00:33:11,840 --> 00:33:14,159
hermosos sitios web como estos, pero al
824
00:33:14,159 --> 00:33:16,320
final de el día que necesite poder
825
00:33:16,320 --> 00:33:18,960
leer los documentos por su cuenta y poder
826
00:33:18,960 --> 00:33:21,200
pensar en algo nuevo
827
00:33:21,200 --> 00:33:24,080
con lo dicho, continuemos ahora dentro
828
00:33:24,080 --> 00:33:27,120
de esta navegación, queremos convertir una imagen en una
829
00:33:27,120 --> 00:33:29,679
etiqueta img de cierre automático que va a
830
00:33:29,679 --> 00:33:32,720
tenga una fuente igual a logo y aquí
831
00:33:32,720 --> 00:33:34,559
vamos quién banco
832
00:33:34,559 --> 00:33:37,039
también démosle una etiqueta alt igual a
833
00:33:37,039 --> 00:33:40,320
quién banco y démosle un nombre de clase
834
00:33:40,320 --> 00:33:41,679
igual a
835
00:33:41,679 --> 00:33:44,000
eso será w guión
836
00:33:44,000 --> 00:33:48,640
entre corchetes 124 píxeles como este
837
00:33:48,640 --> 00:33:50,720
y también podemos dar es una altura, por lo
838
00:33:50,720 --> 00:33:53,120
que será un guión h
839
00:33:53,120 --> 00:33:55,760
y luego dentro de los corchetes 32
840
00:33:55,760 --> 00:33:58,480
píxeles, ahí vamos, ahora tenemos un
841
00:33:58,480 --> 00:34:02,000
tamaño más pequeño específico que el logotipo del banco ahora
842
00:34:02,000 --> 00:34:03,840
queremos tener una
843
00:34:03,840 --> 00:34:06,720
lista desordenada de ul y que ul
844
00:34:06,720 --> 00:34:09,599
tendrá un nombre de clase igual a list dash
845
00:34:09,599 --> 00:34:11,918
none en dispositivos pequeños
846
00:34:11,918 --> 00:34:14,320
vamos a hacer que se flexione, por lo general se
847
00:34:14,320 --> 00:34:16,639
ocultará porque esta es solo
848
00:34:16,639 --> 00:34:19,119
nuestra barra de mapa móvil a continuación más adelante
849
00:34:19,119 --> 00:34:21,520
vamos a crear nuestra barra de navegación de escritorio ahora
850
00:34:21,520 --> 00:34:25,040
agreguemos también el justifique el
851
00:34:25,040 --> 00:34:28,719
centro de almacenamiento del elemento final del tablero y flex-1
852
00:34:28,719 --> 00:34:31,119
dentro de allí queremos mapear sobre nuestros
853
00:34:31,119 --> 00:34:33,760
enlaces de navegación para que podamos abrir un bloque dinámico
854
00:34:33,760 --> 00:34:36,560
de código usando las llaves y
855
00:34:36,560 --> 00:34:39,280
luego decir navlinks.map
856
00:34:39,280 --> 00:34:41,839
vamos a obtener un enlace de navegación y un
857
00:34:41,839 --> 00:34:42,960
índice
858
00:34:42,960 --> 00:34:44,800
y queremos devolver
859
00:34:44,800 --> 00:34:47,119
algo instantáneamente recuerda que cuando
860
00:34:47,119 --> 00:34:49,359
regresas instantáneamente quieres tener solo un
861
00:34:49,359 --> 00:34:52,480
paréntesis aquí y no una llave
862
00:34:52,480 --> 00:34:55,839
queremos devolver un elemento de la lista y cada
863
00:34:55,839 --> 00:34:58,720
elemento de la lista debe tener una clave porque
864
00:34:58,720 --> 00:35:02,400
estamos dentro de un mapa, así que configuremos la clave
865
00:35:02,400 --> 00:35:05,280
para que sea igual a la identificación del punto de navegación,
866
00:35:05,280 --> 00:35:07,359
también le daremos un nombre de clase
867
00:35:07,359 --> 00:35:09,119
y ese nombre de clase será
868
00:35:09,119 --> 00:35:11,359
dinámico, así que podemos hacerlo así
869
00:35:11,359 --> 00:35:12,800
y decir font
870
00:35:12,800 --> 00:35:14,400
dash poppins
871
00:35:14,400 --> 00:35:16,880
y antes de agregar cualquier clase nueva nombres,
872
00:35:16,880 --> 00:35:18,400
simplemente representemos lo que debería estar
873
00:35:18,400 --> 00:35:21,119
allí y eso será una etiqueta
874
00:35:21,119 --> 00:35:23,440
que tendrá una ahref igual a la
875
00:35:23,440 --> 00:35:27,040
cadena dinámica desactivada que será
876
00:35:27,040 --> 00:35:28,800
hash o pound
877
00:35:28,800 --> 00:35:30,400
nav dot id,
878
00:35:30,400 --> 00:35:32,800
así que queremos ir a ese punto específico
879
00:35:32,800 --> 00:35:34,800
cuando haga clic en ese enlace,
880
00:35:34,800 --> 00:35:37,359
queremos cerrarlo y allí queremos
881
00:35:37,359 --> 00:35:40,480
representar el punto de navegación y ese
882
00:35:40,480 --> 00:35:43,520
será el título del punto de navegación ahora, si guardamos esto, no
883
00:35:43,520 --> 00:35:45,280
podemos ver nada
884
00:35:45,280 --> 00:35:47,839
porque el texto en este momento está
885
00:35:47,839 --> 00:35:50,000
oscuro, tenemos que aclararlo así que
886
00:35:50,000 --> 00:35:52,240
agreguemos un par de nombres de clase más
887
00:35:52,240 --> 00:35:55,200
agreguemos un guión de fuente normal
888
00:35:55,200 --> 00:35:58,560
agreguemos un puntero de guión de cursor ahora
889
00:35:58,560 --> 00:36:00,560
podríamos verlos allí vamos
890
00:36:00,560 --> 00:36:02,320
puedes ver que el cursor se convierte en un
891
00:36:02,320 --> 00:36:05,200
puntero démosle un guión de texto y
892
00:36:05,200 --> 00:36:08,720
luego dentro de corchetes 16 píxeles
893
00:36:08,720 --> 00:36:09,920
y ahora vamos a hacer algo
894
00:36:09,920 --> 00:36:12,400
diferente, necesitamos saber qué
895
00:36:12,400 --> 00:36:16,320
etiqueta está actualmente activa y ahora podemos
896
00:36:16,320 --> 00:36:19,760
simplemente darle un guión de texto de color blanco,
897
00:36:19,760 --> 00:36:22,640
ahí vamos, esto funciona perfectamente, por
898
00:36:22,640 --> 00:36:24,160
supuesto, tendremos que darle algo de margen,
899
00:36:24,160 --> 00:36:26,560
digamos que el margen derecho será
900
00:36:26,560 --> 00:36:27,440
10,
901
00:36:27,440 --> 00:36:30,400
ahí vamos, pero ahora el cliente
902
00:36:30,400 --> 00:36:32,320
también tendrá el margen derecho y
903
00:36:32,320 --> 00:36:34,320
no queremos tener el margen en el
904
00:36:34,320 --> 00:36:37,040
último elemento para que podamos abrir un nuevo
905
00:36:37,040 --> 00:36:40,720
bloque dinámico. y digamos que si el índice es igual
906
00:36:40,720 --> 00:36:41,440
a
907
00:36:41,440 --> 00:36:43,359
navlinks.length
908
00:36:43,359 --> 00:36:46,000
menos 1, esto significa que es el último
909
00:36:46,000 --> 00:36:47,040
elemento,
910
00:36:47,040 --> 00:36:49,599
entonces queremos darle un margen derecho
911
00:36:49,599 --> 00:36:50,800
912
00:36:50,800 --> 00:36:53,119
913
00:36:53,119 --> 00:36:56,480
de 0. De lo contrario, queremos darle un margen derecho de 10 como lo hemos hecho antes
914
00:36:56,480 --> 00:36:58,800
y ahora. podemos cerrar esto correctamente
915
00:36:58,800 --> 00:37:01,280
si uso el signo correcto allí,
916
00:37:01,280 --> 00:37:03,520
vamos y podemos eliminar el margen
917
00:37:03,520 --> 00:37:04,880
derecho desde allí
918
00:37:04,880 --> 00:37:08,000
perfecto, así que ahora lo perdimos por un
919
00:37:08,000 --> 00:37:11,839
segundo, veamos el margen derecho 10
920
00:37:11,839 --> 00:37:14,320
y tenemos que agregar un espacio derecho aquí para
921
00:37:14,320 --> 00:37:17,440
separarlo del texto 16 píxeles y
922
00:37:17,440 --> 00:37:19,599
ahí vamos esto ahora se ve como una
923
00:37:19,599 --> 00:37:23,040
barra de navegación moderna esto es genial
924
00:37:23,040 --> 00:37:25,680
ahora qué sucede si vamos a una
925
00:37:25,680 --> 00:37:27,280
vista móvil por supuesto estamos haciendo que nuestras
926
00:37:27,280 --> 00:37:29,599
aplicaciones sean compatibles con dispositivos móviles puedes ver
927
00:37:29,599 --> 00:37:32,320
que es desaparece por completo,
928
00:37:32,320 --> 00:37:34,720
así que ahora vamos a crear una nueva lista
929
00:37:34,720 --> 00:37:38,400
de elementos solo para dispositivos móviles debajo de
930
00:37:38,400 --> 00:37:41,920
nuestra ul, así que aquí queremos crear un
931
00:37:41,920 --> 00:37:44,000
nuevo elemento div,
932
00:37:44,000 --> 00:37:47,359
este div tendrá un nombre de clase
933
00:37:47,359 --> 00:37:51,520
oculto en dispositivos pequeños, generalmente flex
934
00:37:51,520 --> 00:37:53,200
flex dash uno
935
00:37:53,200 --> 00:37:57,920
justifica el final del guión y los elementos del centro del guión
936
00:37:57,920 --> 00:38:00,640
ahora dentro de allí queremos representar una
937
00:38:00,640 --> 00:38:01,520
imagen,
938
00:38:01,520 --> 00:38:04,160
esta imagen será una imagen de menú
939
00:38:04,160 --> 00:38:06,720
donde podemos hacer clic para expandir el menú,
940
00:38:06,720 --> 00:38:08,480
por lo que será una
941
00:38:08,480 --> 00:38:12,000
etiqueta de imagen de cierre automático con una fuente igual a
942
00:38:12,000 --> 00:38:13,839
ahora va a depender si queremos
943
00:38:13,839 --> 00:38:16,640
abrir o cerrar el menú y para eso
944
00:38:16,640 --> 00:38:19,440
podemos crear un nuevo estado de uso,
945
00:38:19,440 --> 00:38:21,440
así que aquí en la parte superior podemos comenzar a
946
00:38:21,440 --> 00:38:23,440
escribir estado de uso
947
00:38:23,440 --> 00:38:26,000
y luego usar la flecha hacia abajo para seleccionar
948
00:38:26,000 --> 00:38:28,800
el fragmento de estado de uso
949
00:38:28,800 --> 00:38:30,960
podemos comenzar a escribir de inmediato y lo
950
00:38:30,960 --> 00:38:32,960
llamaremos alternar
951
00:38:32,960 --> 00:38:36,079
establecer alternar mover usando la tecla de tabulación y
952
00:38:36,079 --> 00:38:38,640
luego al principio se establecerá
953
00:38:38,640 --> 00:38:41,760
en falso, por lo que el inicio se alternará a
954
00:38:41,760 --> 00:38:42,960
falso
955
00:38:42,960 --> 00:38:46,720
ahora si la alternancia está activada,
956
00:38:46,720 --> 00:38:50,240
entonces nosotros queremos mostrar un ícono de cierre;
957
00:38:50,240 --> 00:38:53,760
de lo contrario, queremos mostrar un ícono de menú,
958
00:38:53,760 --> 00:38:55,760
guardémoslo y ahí vamos, podemos ver
959
00:38:55,760 --> 00:38:58,640
un hermoso ícono de menú aquí
960
00:38:58,640 --> 00:39:01,200
ahora, apliquemos un par de otras
961
00:39:01,200 --> 00:39:03,920
propiedades a nuestra etiqueta de imagen,
962
00:39:03,920 --> 00:39:06,640
por ejemplo, agreguemos una etiqueta alt igual
963
00:39:06,640 --> 00:39:08,640
al menú,
964
00:39:08,640 --> 00:39:10,560
démosle un nombre de clase
965
00:39:10,560 --> 00:39:12,800
igual a w guión
966
00:39:12,800 --> 00:39:15,920
y luego 28 píxeles, por lo que la
967
00:39:15,920 --> 00:39:20,079
altura también será de 28 píxeles y
968
00:39:20,079 --> 00:39:21,040
luego el
969
00:39:21,040 --> 00:39:22,240
objeto
970
00:39:22,240 --> 00:39:24,000
contiene guión
971
00:39:24,000 --> 00:39:25,920
si guardamos esto, ahí vamos, se
972
00:39:25,920 --> 00:39:28,000
verá mejor y esto solo establece el
973
00:39:28,000 --> 00:39:30,880
objeto apto para contener allí vamos esto
974
00:39:30,880 --> 00:39:33,119
se ve bien ahora una vez que hacemos clic en que
975
00:39:33,119 --> 00:39:35,200
queremos cambiar la alternancia para que podamos
976
00:39:35,200 --> 00:39:37,359
decir al hacer clic
977
00:39:37,359 --> 00:39:39,520
queremos tener una función de devolución de llamada y
978
00:39:39,520 --> 00:39:42,480
queremos configurar la alternancia para que sea igual a
979
00:39:42,480 --> 00:39:45,119
ahora esto no es la forma correcta de hacerlo
980
00:39:45,119 --> 00:39:47,200
en reaccionar nunca debe actualizar el
981
00:39:47,200 --> 00:39:49,280
estado usando la versión anterior de ese
982
00:39:49,280 --> 00:39:50,960
mismo estado anterior
983
00:39:50,960 --> 00:39:52,720
si desea cambiar el estado usando
984
00:39:52,720 --> 00:39:55,040
la versión anterior de ese mismo estado,
985
00:39:55,040 --> 00:39:56,800
entonces necesita crear una función de devolución de llamada
986
00:39:56,800 --> 00:39:59,119
que se ve así así que configura
987
00:39:59,119 --> 00:40:00,240
alternar
988
00:40:00,240 --> 00:40:02,400
y luego lo llamas anterior y luego
989
00:40:02,400 --> 00:40:03,839
dices no preparar de
990
00:40:03,839 --> 00:40:06,800
esta manera reaccionar asegura que mantiene
991
00:40:06,800 --> 00:40:08,960
el estado actualizado y ahora si haces
992
00:40:08,960 --> 00:40:10,800
clic aquí puedes ver que en
993
00:40:10,800 --> 00:40:12,960
realidad cambia lo único que tenemos
994
00:40:12,960 --> 00:40:15,440
que hacer bien ahora en realidad está abierto el
995
00:40:15,440 --> 00:40:16,800
menú móvil,
996
00:40:16,800 --> 00:40:17,520
por lo que
997
00:40:17,520 --> 00:40:20,560
aún está dentro de este div, pero debajo de esta
998
00:40:20,560 --> 00:40:23,119
imagen, creemos un div que
999
00:40:23,119 --> 00:40:25,599
servirá como nuestro menú,
1000
00:40:25,599 --> 00:40:29,200
este div tendrá un nombre de clase,
1001
00:40:29,200 --> 00:40:31,599
será dinámico, por lo que queremos
1002
00:40:31,599 --> 00:40:32,400
verificar
1003
00:40:32,400 --> 00:40:35,839
aquí si alternar está activado
1004
00:40:35,839 --> 00:40:37,119
si lo está,
1005
00:40:37,119 --> 00:40:40,480
entonces será un contenedor flexible
1006
00:40:40,480 --> 00:40:43,599
si no está activado, entonces se
1007
00:40:43,599 --> 00:40:46,319
ocultará allí vamos
1008
00:40:46,319 --> 00:40:49,200
ahora podemos agregar un par de clases más, por lo que
1009
00:40:49,200 --> 00:40:53,040
tendremos un relleno de 6 bg
1010
00:40:53,040 --> 00:40:55,040
1011
00:40:55,040 --> 00:40:57,200
posición de degradado de guión negro guión
1012
00:40:57,200 --> 00:41:00,240
superior absoluto 20 derecha
1013
00:41:00,240 --> 00:41:01,839
0
1014
00:41:01,839 --> 00:41:04,839
margen x 4 margen y
1015
00:41:04,839 --> 00:41:09,200
2 el ancho mínimo del guión será de 140
1016
00:41:09,200 --> 00:41:10,240
píxeles
1017
00:41:10,240 --> 00:41:12,960
asegúrese de hacerlo así min
1018
00:41:12,960 --> 00:41:14,800
guión w guión
1019
00:41:14,800 --> 00:41:17,040
y luego 140
1020
00:41:17,040 --> 00:41:21,200
guión redondeado xl y luego barra lateral ahora si
1021
00:41:21,200 --> 00:41:23,040
guardamos esto y si haces clic en este
1022
00:41:23,040 --> 00:41:25,680
ícono aquí puedes ver un menú
1023
00:41:25,680 --> 00:41:28,720
bien animado allí vamos, por supuesto, ahora
1024
00:41:28,720 --> 00:41:31,680
queremos crear una nueva UL dentro de
1025
00:41:31,680 --> 00:41:32,480
eso
1026
00:41:32,480 --> 00:41:35,520
y esa UL será bastante similar
1027
00:41:35,520 --> 00:41:38,720
a esta UL aquí, así que simplemente podemos
1028
00:41:38,720 --> 00:41:41,440
copiar este ul completo
1029
00:41:41,440 --> 00:41:43,680
y pegarlo debajo de ahí
1030
00:41:43,680 --> 00:41:47,839
vamos y podemos sangrarlo
1031
00:41:47,839 --> 00:41:49,119
ahí vamos
1032
00:41:49,119 --> 00:41:51,680
expandamos esto un poco y ahora
1033
00:41:51,680 --> 00:41:53,760
veamos qué tenemos que cambiar
1034
00:41:53,760 --> 00:41:55,920
esta vez va a ser list dash
1035
00:41:55,920 --> 00:41:56,800
none
1036
00:41:56,800 --> 00:42:00,160
pero va a ser flexible por lo general y
1037
00:42:00,160 --> 00:42:02,480
no tenemos que decir en dispositivos pequeños sin
1038
00:42:02,480 --> 00:42:04,960
flexibilidad u ocultos o algo así
1039
00:42:04,960 --> 00:42:07,040
y luego todo lo demás permanecerá casi
1040
00:42:07,040 --> 00:42:09,359
igual, puede ver que ahora tenemos
1041
00:42:09,359 --> 00:42:11,839
nuestra lista, pero parece que está en el
1042
00:42:11,839 --> 00:42:13,920
escritorio que queremos haz que se muestre en una
1043
00:42:13,920 --> 00:42:16,800
columna para que podamos decir flex dash call
1044
00:42:16,800 --> 00:42:18,079
y ahí vamos,
1045
00:42:18,079 --> 00:42:20,560
casi llegamos, recuerda que estábamos
1046
00:42:20,560 --> 00:42:22,400
jugando con los márgenes antes, así que
1047
00:42:22,400 --> 00:42:24,640
bajemos al li, nos quedaremos
1048
00:42:24,640 --> 00:42:27,119
con la fuente pop-ins font normal cursor
1049
00:42:27,119 --> 00:42:29,280
puntero texto 16
1050
00:42:29,280 --> 00:42:31,839
pero ahora en lugar de margen derecho vamos a
1051
00:42:31,839 --> 00:42:35,920
hacer margen inferior así que hagamos mb
1052
00:42:35,920 --> 00:42:36,800
guión
1053
00:42:36,800 --> 00:42:38,000
cuatro
1054
00:42:38,000 --> 00:42:39,520
y guardemos eso y
1055
00:42:39,520 --> 00:42:42,000
ahí vamos tenemos un hermoso menú
1056
00:42:42,000 --> 00:42:44,079
que aparece y tenemos todos los
1057
00:42:44,079 --> 00:42:45,839
enlaces aquí mismo
1058
00:42:45,839 --> 00:42:49,359
que es genial y ahora, si cerramos esto,
1059
00:42:49,359 --> 00:42:52,400
tenemos un hermoso menú de escritorio, tableta
1060
00:42:52,400 --> 00:42:54,240
y computadora portátil, así
1061
00:42:54,240 --> 00:42:57,440
como también siempre nos esforzamos por crear sitios web
1062
00:42:57,440 --> 00:43:00,319
que respondan en todos los dispositivos, eso es lo que es la
1063
00:43:00,319 --> 00:43:02,880
web hoy en día, la mayoría de las personas
1064
00:43:02,880 --> 00:43:05,040
hoy en día visitan todos los sitios web a través de
1065
00:43:05,040 --> 00:43:07,599
dispositivos móviles, así que queremos para asegurarme de que
1066
00:43:07,599 --> 00:43:10,960
respondan lo más posible
1067
00:43:10,960 --> 00:43:13,200
nuevamente, solo tendré que mencionar la
1068
00:43:13,200 --> 00:43:15,040
aplicación de poder de la película del curso del parque de películas
1069
00:43:15,040 --> 00:43:15,920
1070
00:43:15,920 --> 00:43:18,880
allí, nos esforzamos mucho para que
1071
00:43:18,880 --> 00:43:22,079
responda lo más posible en muchos
1072
00:43:22,079 --> 00:43:24,319
dispositivos diferentes y realmente me refiero a un
1073
00:43:24,319 --> 00:43:27,359
como puede ver en dispositivos móviles, se siente
1074
00:43:27,359 --> 00:43:30,480
como una aplicación móvil nativa, pero ahora, a medida que
1075
00:43:30,480 --> 00:43:32,319
la expande a algo así como una
1076
00:43:32,319 --> 00:43:35,839
tableta, tenemos dos películas por fila ahora, si
1077
00:43:35,839 --> 00:43:37,839
la expande aún más a una computadora portátil,
1078
00:43:37,839 --> 00:43:40,880
serán tres y cuanto más grande
1079
00:43:40,880 --> 00:43:44,000
vaya Cuantas más películas pueda ver y
1080
00:43:44,000 --> 00:43:46,960
responda en todos los dispositivos, es solo
1081
00:43:46,960 --> 00:43:49,359
algo que quería mostrarle nuevamente.
1082
00:43:49,359 --> 00:43:51,200
Al ver este video, obtiene un
1083
00:43:51,200 --> 00:43:53,599
descuento especial al hacer clic en el enlace a continuación.
1084
00:43:53,599 --> 00:43:55,520
Dicho esto, ahora podemos volver a
1085
00:43:55,520 --> 00:43:57,280
desarrollar nuestra aplicación.
1086
00:43:57,280 --> 00:44:00,079
la barra de navegación ahora está completamente lista, podemos
1087
00:44:00,079 --> 00:44:03,200
cerrar ese archivo, volver a nuestra aplicación
1088
00:44:03,200 --> 00:44:06,000
y estamos llegando a la estrella principal
1089
00:44:06,000 --> 00:44:09,040
del programa que está desarrollando la
1090
00:44:09,040 --> 00:44:11,599
sección de héroe, así que controlemos, haga clic en él y
1091
00:44:11,599 --> 00:44:13,680
estamos listos para comenzar a codificar para comenzar a
1092
00:44:13,680 --> 00:44:16,400
codificar nuestra sección de héroe primero podemos
1093
00:44:16,400 --> 00:44:18,960
colapsar nuestro navegador en el lado derecho
1094
00:44:18,960 --> 00:44:20,480
de la ventana
1095
00:44:20,480 --> 00:44:22,960
y allí vamos, ahora podemos ver lo que
1096
00:44:22,960 --> 00:44:25,200
estamos haciendo aquí dentro,
1097
00:44:25,200 --> 00:44:27,359
ni siquiera necesitamos una declaración de devolución
1098
00:44:27,359 --> 00:44:29,520
porque vamos a devolver nuestro jsx
1099
00:44:29,520 --> 00:44:32,480
al instante, así que simplemente use paréntesis
1100
00:44:32,480 --> 00:44:34,960
dentro de las llaves aquí mismo en la
1101
00:44:34,960 --> 00:44:37,280
línea tres ahora en lugar de representar un
1102
00:44:37,280 --> 00:44:39,760
div, vamos a representar un elemento de sección
1103
00:44:39,760 --> 00:44:40,880
1104
00:44:40,880 --> 00:44:42,480
dentro de esa sección,
1105
00:44:42,480 --> 00:44:45,280
le daremos una identificación igual a la de inicio para que podamos
1106
00:44:45,280 --> 00:44:47,839
desplazarnos hasta él. también puede darle un
1107
00:44:47,839 --> 00:44:50,400
nombre de clase igual a y ahora este
1108
00:44:50,400 --> 00:44:52,400
será un nombre de clase dinámico, por lo que se
1109
00:44:52,400 --> 00:44:53,760
verá así
1110
00:44:53,760 --> 00:44:56,640
primero, importemos algunos estilos, podemos
1111
00:44:56,640 --> 00:44:59,119
decir importar estilos
1112
00:44:59,119 --> 00:45:02,319
de estilos de barra de puntos,
1113
00:45:02,319 --> 00:45:05,760
también podemos importar el descuento
1114
00:45:05,760 --> 00:45:08,480
así como el robot y estos
1115
00:45:08,480 --> 00:45:11,760
provienen de activos de barra diagonal en lugar de
1116
00:45:11,760 --> 00:45:14,000
estilos, parece que se supone que es
1117
00:45:14,000 --> 00:45:16,560
estilo, ahí vamos, así que eso será
1118
00:45:16,560 --> 00:45:19,200
todo lo que necesitamos por ahora, ahora hagamos de
1119
00:45:19,200 --> 00:45:22,240
esta sección un contenedor flexible
1120
00:45:22,240 --> 00:45:24,480
en dispositivos medianos, será
1121
00:45:24,480 --> 00:45:26,880
fila de guión flexible y, por lo general, será una
1122
00:45:26,880 --> 00:45:28,560
columna de guión flexible,
1123
00:45:28,560 --> 00:45:31,680
también le daremos un relleno de puntos de estilo
1124
00:45:31,680 --> 00:45:32,400
y
1125
00:45:32,400 --> 00:45:34,960
eso agregará instantáneamente un poco más de
1126
00:45:34,960 --> 00:45:36,000
espacio
1127
00:45:36,000 --> 00:45:38,400
ahora dentro de allí, queremos tener un
1128
00:45:38,400 --> 00:45:40,400
div y solo para mostrarle lo que estamos
1129
00:45:40,400 --> 00:45:42,720
creando va a ser esta sección
1130
00:45:42,720 --> 00:45:44,640
justo aquí en el lado izquierdo vamos a
1131
00:45:44,640 --> 00:45:47,119
tener algo de texto y en el lado derecho
1132
00:45:47,119 --> 00:45:49,040
vamos a tener esta imagen justo
1133
00:45:49,040 --> 00:45:51,680
aquí así que comencemos
1134
00:45:51,680 --> 00:45:54,880
este div va a tener un nombre de clase
1135
00:45:54,880 --> 00:45:56,960
igual a su va a ser un
1136
00:45:56,960 --> 00:46:01,200
nombre de clase dinámico de estilos flex-1 dot flex
1137
00:46:01,200 --> 00:46:02,400
start
1138
00:46:02,400 --> 00:46:04,319
flex dash call
1139
00:46:04,319 --> 00:46:08,079
en dispositivos extra grandes padding x 0 en
1140
00:46:08,079 --> 00:46:12,160
dispositivos pequeños padding x 16 y generalmente
1141
00:46:12,160 --> 00:46:15,280
padding x x6 esto es para asegurarse de que
1142
00:46:15,280 --> 00:46:18,000
se vea bien en todos los dispositivos
1143
00:46:18,000 --> 00:46:19,839
ahora dentro de allí vamos a tener
1144
00:46:19,839 --> 00:46:22,880
solo un div más y este div
1145
00:46:22,880 --> 00:46:26,480
tendrá un nombre de clase igual a flex
1146
00:46:26,480 --> 00:46:28,480
flex dash row
1147
00:46:28,480 --> 00:46:30,880
items dash center
1148
00:46:30,880 --> 00:46:33,599
padding y entonces p y y luego eso
1149
00:46:33,599 --> 00:46:37,119
estará dentro de corchetes 6 pixels
1150
00:46:37,119 --> 00:46:39,280
padding x 4
1151
00:46:39,280 --> 00:46:40,640
b g
1152
00:46:40,640 --> 00:46:43,440
gradiente de guión de descuento
1153
00:46:43,440 --> 00:46:46,800
y guión redondeado que será de 10
1154
00:46:46,800 --> 00:46:51,040
píxeles y finalmente mb-2 para el margen
1155
00:46:51,040 --> 00:46:53,520
inferior ahora dentro de allí vamos
1156
00:46:53,520 --> 00:46:57,040
a representar este componente aquí mismo 20 de
1157
00:46:57,040 --> 00:47:00,640
descuento para una cuenta de un mes, así que
1158
00:47:00,640 --> 00:47:03,119
comencemos con eso inmediatamente, lo primero que
1159
00:47:03,119 --> 00:47:05,920
necesitamos este pequeño ícono aquí,
1160
00:47:05,920 --> 00:47:08,800
así que hagamos eso, representemos una
1161
00:47:08,800 --> 00:47:12,240
etiqueta img y esa será la fuente es
1162
00:47:12,240 --> 00:47:14,319
igual a descuento,
1163
00:47:14,319 --> 00:47:16,560
también podemos darle una etiqueta alt igual a
1164
00:47:16,560 --> 00:47:17,760
descuento
1165
00:47:17,760 --> 00:47:20,800
y démosle un nombre de clase igual a
1166
00:47:20,800 --> 00:47:23,359
ahora podemos abrirlo arriba aquí
1167
00:47:23,359 --> 00:47:26,319
e inspecciónelo, puede ver que tiene 32
1168
00:47:26,319 --> 00:47:30,079
píxeles de ancho y 32 píxeles de alto, así que
1169
00:47:30,079 --> 00:47:32,000
hagamos eso,
1170
00:47:32,000 --> 00:47:33,440
podemos decir
1171
00:47:33,440 --> 00:47:34,880
w dash
1172
00:47:34,880 --> 00:47:37,760
32 píxeles y h dash
1173
00:47:37,760 --> 00:47:40,960
32 píxeles también
1174
00:47:40,960 --> 00:47:43,280
ahora si guardamos esto allí vamos,
1175
00:47:43,280 --> 00:47:45,040
debería poder mira, está bastante oscuro
1176
00:47:45,040 --> 00:47:46,640
pero ahora está allí,
1177
00:47:46,640 --> 00:47:50,079
agreguemos dos tramos diferentes, el
1178
00:47:50,079 --> 00:47:52,800
tramo aquí y ese tramo
1179
00:47:52,800 --> 00:47:57,280
tendrá un nombre de clase igual al texto blanco
1180
00:47:57,280 --> 00:47:59,200
dentro de allí, podemos decir veinte por
1181
00:47:59,200 --> 00:48:00,319
ciento
1182
00:48:00,319 --> 00:48:01,680
como está
1183
00:48:01,680 --> 00:48:05,359
en este diseño aquí mismo veinte por ciento
1184
00:48:05,359 --> 00:48:06,400
luego tenemos el
1185
00:48:06,400 --> 00:48:10,079
descuento cuatro, así que después del lapso,
1186
00:48:10,079 --> 00:48:11,839
hagámoslo aquí mismo, el
1187
00:48:11,839 --> 00:48:13,119
descuento
1188
00:48:13,119 --> 00:48:14,880
cuatro,
1189
00:48:14,880 --> 00:48:17,680
luego podemos agregar un espacio vacío como
1190
00:48:17,680 --> 00:48:18,880
este,
1191
00:48:18,880 --> 00:48:21,520
luego debajo de ese mes también
1192
00:48:21,520 --> 00:48:24,240
estará en un lapso, así que podemos duplicarlo
1193
00:48:24,240 --> 00:48:25,680
y decir un
1194
00:48:25,680 --> 00:48:27,599
mes
1195
00:48:27,599 --> 00:48:29,440
y luego uno más tiempo fuera del
1196
00:48:29,440 --> 00:48:30,400
lapso que
1197
00:48:30,400 --> 00:48:32,800
queremos decir cuenta,
1198
00:48:32,800 --> 00:48:36,000
ahí vamos, así que ahora, si guardamos esto,
1199
00:48:36,000 --> 00:48:38,640
apenas podemos ver el texto en el medio,
1200
00:48:38,640 --> 00:48:40,800
pero eso se debe a que todos estos panes y
1201
00:48:40,800 --> 00:48:42,640
elementos de texto deberían haber estado en un
1202
00:48:42,640 --> 00:48:45,520
párrafo, así que creemos una etiqueta p
1203
00:48:45,520 --> 00:48:47,440
y ahora arrastremos y sueltemos todos estos
1204
00:48:47,440 --> 00:48:50,480
elementos dentro de esa etiqueta p,
1205
00:48:50,480 --> 00:48:52,079
por supuesto, debemos darle algunos
1206
00:48:52,079 --> 00:48:55,119
nombres de clase, como el nombre de la clase es igual a
1207
00:48:55,119 --> 00:48:57,599
eso, será un párrafo de punto de estilo de nombre de clase dinámico
1208
00:48:57,599 --> 00:48:59,359
1209
00:48:59,359 --> 00:49:01,119
1210
00:49:01,119 --> 00:49:02,760
y también
1211
00:49:02,760 --> 00:49:06,480
ml-2 para el margen izquierdo y ahí vamos,
1212
00:49:06,480 --> 00:49:07,920
esto ya se ve un poco
1213
00:49:07,920 --> 00:49:08,880
mejor,
1214
00:49:08,880 --> 00:49:11,359
pero parece que no hay espacios
1215
00:49:11,359 --> 00:49:13,920
aquí después de 20,
1216
00:49:13,920 --> 00:49:16,880
así que si ponemos este descuento 4 en la misma
1217
00:49:16,880 --> 00:49:19,520
línea, entonces se aplicará el
1218
00:49:19,520 --> 00:49:22,319
mismo espacio para la cuenta, ahí vamos.
1219
00:49:22,319 --> 00:49:24,240
así que ahora se ve muy bien, estamos
1220
00:49:24,240 --> 00:49:26,880
comenzando a crear nuestro gran diseño
1221
00:49:26,880 --> 00:49:28,880
ahora, después de eso, ahora estamos llegando a la
1222
00:49:28,880 --> 00:49:31,119
parte principal, que es el
1223
00:49:31,119 --> 00:49:34,319
método de pago de próxima generación, así que salgamos de
1224
00:49:34,319 --> 00:49:36,160
este div justo allí
1225
00:49:36,160 --> 00:49:37,839
y justo debajo de
1226
00:49:37,839 --> 00:49:40,480
él, queremos para crear un nuevo div
1227
00:49:40,480 --> 00:49:43,200
y este div va a tener un
1228
00:49:43,200 --> 00:49:45,760
nombre de clase igual a flex
1229
00:49:45,760 --> 00:49:47,680
flex dash fila
1230
00:49:47,680 --> 00:49:50,480
justifica el guión entre los
1231
00:49:50,480 --> 00:49:54,240
elementos del centro y w guión completo
1232
00:49:54,240 --> 00:49:56,480
ahora dentro de allí queremos representar
1233
00:49:56,480 --> 00:49:59,760
ese gran h1 el
1234
00:49:59,760 --> 00:50:02,480
encabezado ese título va a decir exactamente como
1235
00:50:02,480 --> 00:50:04,400
dice aquí, podemos incluso copiar
1236
00:50:04,400 --> 00:50:05,280
eso
1237
00:50:05,280 --> 00:50:07,599
y pegarlo allí en
1238
00:50:07,599 --> 00:50:09,839
el siguiente método de pago
1239
00:50:09,839 --> 00:50:12,480
y también necesitamos obtener esa generación
1240
00:50:12,480 --> 00:50:14,800
que está en un elemento de intervalo diferente, así que
1241
00:50:14,800 --> 00:50:16,559
vamos a hacer paso a paso
1242
00:50:16,559 --> 00:50:18,400
primero el siguiente y
1243
00:50:18,400 --> 00:50:20,880
luego queremos agregar un romper la etiqueta porque
1244
00:50:20,880 --> 00:50:23,520
queremos mostrar algo en una nueva línea,
1245
00:50:23,520 --> 00:50:25,680
vamos a romper la etiqueta
1246
00:50:25,680 --> 00:50:27,839
y podemos darle a esa etiqueta de ruptura un nombre de clase que
1247
00:50:27,839 --> 00:50:28,800
1248
00:50:28,800 --> 00:50:31,839
podemos decir que solo se muestra en dispositivos pequeños, por lo que
1249
00:50:31,839 --> 00:50:34,720
en los dispositivos pequeños existen y luego, por lo general,
1250
00:50:34,720 --> 00:50:36,880
se ocultará
1251
00:50:36,880 --> 00:50:40,160
ahora después que queremos agregar un espacio como lo
1252
00:50:40,160 --> 00:50:41,760
hicimos antes
1253
00:50:41,760 --> 00:50:44,319
y allí queremos tener un lapso para
1254
00:50:44,319 --> 00:50:46,480
representar esa generación
1255
00:50:46,480 --> 00:50:49,040
en ese lapso, podemos dar un nombre
1256
00:50:49,040 --> 00:50:51,760
de clase de gradiente de guión de texto
1257
00:50:51,760 --> 00:50:55,040
y digamos generación,
1258
00:50:55,040 --> 00:50:57,440
también necesitamos proporcionar un espacio después de
1259
00:50:57,440 --> 00:51:00,319
eso ahí vamos, así que ahora, si retrocedemos,
1260
00:51:00,319 --> 00:51:02,480
puede ver la generación, pero en
1261
00:51:02,480 --> 00:51:04,240
realidad no podemos ver nada más,
1262
00:51:04,240 --> 00:51:06,720
vamos a sangrar esto correctamente
1263
00:51:06,720 --> 00:51:08,960
y, como puede ver, en realidad no agregamos
1264
00:51:08,960 --> 00:51:11,920
ningún estilo a nuestro h1, así que hagámoslo
1265
00:51:11,920 --> 00:51:13,040
de inmediato.
1266
00:51:13,040 --> 00:51:14,880
digamos que el nombre de la clase
1267
00:51:14,880 --> 00:51:18,079
es igual a flex dash one
1268
00:51:18,079 --> 00:51:21,440
font dash pop-ins
1269
00:51:21,880 --> 00:51:25,280
font-semi-bold ss eso va a ser para
1270
00:51:25,280 --> 00:51:29,119
trazo y allí podemos decir text dash
1271
00:51:29,119 --> 00:51:32,000
y podemos hacer
1272
00:51:32,000 --> 00:51:34,400
text dash de 72 píxeles y luego serán 52
1273
00:51:34,400 --> 00:51:36,079
píxeles
1274
00:51:36,079 --> 00:51:38,400
eso es lo haremos realmente grande
1275
00:51:38,400 --> 00:51:40,240
y luego podemos darle un guión de texto
1276
00:51:40,240 --> 00:51:41,200
blanco
1277
00:51:41,200 --> 00:51:43,359
ahí vamos el método de pago de próxima generación
1278
00:51:43,359 --> 00:51:45,680
esto se ve hermoso
1279
00:51:45,680 --> 00:51:48,160
tengo que decir que recientemente he estado usando fuentes
1280
00:51:48,160 --> 00:51:51,040
poppins y es genial
1281
00:51:51,040 --> 00:51:54,640
y podemos también dale el guión principal ss
1282
00:51:54,640 --> 00:51:55,760
colon
1283
00:51:55,760 --> 00:51:57,119
1284
00:51:57,119 --> 00:51:59,280
y luego podemos hacer algo así como
1285
00:51:59,280 --> 00:52:02,240
100 píxeles como este,
1286
00:52:02,240 --> 00:52:03,920
ahí vamos, así que esto solo
1287
00:52:03,920 --> 00:52:06,240
cambiará la altura entre las palabras
1288
00:52:06,240 --> 00:52:08,720
y también podemos hacer el guión principal y luego serán
1289
00:52:08,720 --> 00:52:12,800
75 píxeles
1290
00:52:12,800 --> 00:52:15,440
ahora a continuación, vamos a necesitar el
1291
00:52:15,440 --> 00:52:18,640
componente de inicio que se inicia es
1292
00:52:18,640 --> 00:52:21,680
esencialmente este botón aquí y
1293
00:52:21,680 --> 00:52:23,839
ese botón se puede crear como un
1294
00:52:23,839 --> 00:52:26,640
componente separado, ya que tiene bastantes
1295
00:52:26,640 --> 00:52:28,960
estilos para crear este bonito círculo con
1296
00:52:28,960 --> 00:52:30,960
el ícono y el texto
1297
00:52:30,960 --> 00:52:34,720
a continuación este h1 podemos crear un div y
1298
00:52:34,720 --> 00:52:37,520
ese div tendrá un nombre de clase
1299
00:52:37,520 --> 00:52:41,440
igual a ss y luego flex
1300
00:52:41,440 --> 00:52:42,960
se ocultará
1301
00:52:42,960 --> 00:52:46,079
y en dispositivos medianos el margen escribirá 4 y
1302
00:52:46,079 --> 00:52:48,800
generalmente el margen escribirá 0.
1303
00:52:48,800 --> 00:52:51,359
ahora dentro de allí podemos representar eso
1304
00:52:51,359 --> 00:52:52,160
obtener
1305
00:52:52,160 --> 00:52:55,920
componente iniciado como una etiqueta de cierre automático
1306
00:52:55,920 --> 00:52:58,160
y ahora podemos importarlo para importar
1307
00:52:58,160 --> 00:53:01,440
eso empezar podemos decir importar
1308
00:53:01,440 --> 00:53:03,280
empezar
1309
00:53:03,280 --> 00:53:05,280
desde punto barra
1310
00:53:05,280 --> 00:53:08,400
empezar y ahora si volvemos
1311
00:53:08,400 --> 00:53:10,960
deberíamos poder allí vamos está aquí
1312
00:53:10,960 --> 00:53:12,559
está escondido por supuesto, tenemos que
1313
00:53:12,559 --> 00:53:15,280
implementar estos estilos para eso,
1314
00:53:15,280 --> 00:53:17,440
así que hagámoslo correctamente,
1315
00:53:17,440 --> 00:53:20,000
controlemos, haga clic en el inicio
1316
00:53:20,000 --> 00:53:23,040
y comencemos a implementar ese
1317
00:53:23,040 --> 00:53:25,839
componente de botón circular genial
1318
00:53:25,839 --> 00:53:28,000
para comenzar, por supuesto, podemos
1319
00:53:28,000 --> 00:53:30,559
importar estos estilos
1320
00:53:30,559 --> 00:53:33,599
desde el estilo punto barra
1321
00:53:33,599 --> 00:53:34,640
como este
1322
00:53:34,640 --> 00:53:37,839
y nosotros También podemos importar la flecha hacia arriba
1323
00:53:37,839 --> 00:53:39,440
proveniente de los
1324
00:53:39,440 --> 00:53:40,839
1325
00:53:40,839 --> 00:53:42,640
activos de barra inclinada
1326
00:53:42,640 --> 00:53:44,640
ahora dentro de allí podemos
1327
00:53:44,640 --> 00:53:47,680
devolver algo instantáneamente,
1328
00:53:47,680 --> 00:53:49,760
por lo que se verá así
1329
00:53:49,760 --> 00:53:52,000
y ese algo será solo un
1330
00:53:52,000 --> 00:53:53,200
div,
1331
00:53:53,200 --> 00:53:55,359
pero ahora ese div tendrá un
1332
00:53:55,359 --> 00:53:58,240
nombre de clase igual. a y podemos volver
1333
00:53:58,240 --> 00:54:00,880
para ver lo que estamos haciendo ahora mismo, el
1334
00:54:00,880 --> 00:54:02,160
1335
00:54:02,160 --> 00:54:04,559
nombre de la clase oculta será un
1336
00:54:04,559 --> 00:54:05,839
nombre de clase dinámico,
1337
00:54:05,839 --> 00:54:09,040
por lo que será un centro de puntos flexibles de estilos
1338
00:54:09,040 --> 00:54:11,760
y luego también
1339
00:54:11,760 --> 00:54:15,359
le daremos un ancho de 140 píxeles
1340
00:54:15,359 --> 00:54:19,680
y también una altura de 140 píxeles
1341
00:54:19,680 --> 00:54:21,920
ahora, después de eso, podemos hacer que sea un
1342
00:54:21,920 --> 00:54:25,920
guión redondeado completo y darle un degradado de guión azul bg
1343
00:54:25,920 --> 00:54:27,280
1344
00:54:27,280 --> 00:54:28,720
ahora, si guardamos eso, vamos a tener
1345
00:54:28,720 --> 00:54:30,079
un hermoso
1346
00:54:30,079 --> 00:54:31,760
círculo de degradado
1347
00:54:31,760 --> 00:54:34,240
ahora lo que podemos hacer es también dale un
1348
00:54:34,240 --> 00:54:36,799
guión de relleno y luego hagamos algo
1349
00:54:36,799 --> 00:54:39,599
como 2 píxeles que simplemente agregarán
1350
00:54:39,599 --> 00:54:42,079
algo de espacio dentro de ese círculo para el
1351
00:54:42,079 --> 00:54:43,119
texto
1352
00:54:43,119 --> 00:54:45,599
y también hagámoslo un puntero de guión de cursor
1353
00:54:45,599 --> 00:54:48,640
para que ahora parezca que se puede hacer clic
1354
00:54:48,640 --> 00:54:50,480
ahora dentro de allí vamos a tenga
1355
00:54:50,480 --> 00:54:54,480
un par de divs más, el primer div interno
1356
00:54:54,480 --> 00:54:57,680
también tendrá algunos nombres de clase,
1357
00:54:57,680 --> 00:54:58,960
como
1358
00:54:58,960 --> 00:55:00,640
1359
00:55:00,640 --> 00:55:04,640
estilos dinámicos dot flex center
1360
00:55:04,640 --> 00:55:08,480
flex dash call bg dash primario
1361
00:55:08,480 --> 00:55:12,400
w dash y luego será 100
1362
00:55:12,400 --> 00:55:16,319
y también h dash 100
1363
00:55:16,319 --> 00:55:19,040
también podemos hacer redondeó el guión completo
1364
00:55:19,040 --> 00:55:21,920
ahora si guardamos que puede notar que
1365
00:55:21,920 --> 00:55:24,160
todo desaparece pero solo tenemos
1366
00:55:24,160 --> 00:55:26,400
este relleno que dejamos antes que
1367
00:55:26,400 --> 00:55:28,880
es de 2 píxeles y que sirve como nuestro
1368
00:55:28,880 --> 00:55:29,920
borde
1369
00:55:29,920 --> 00:55:31,599
ahora dentro de este div vamos a
1370
00:55:31,599 --> 00:55:33,280
tener un div más
1371
00:55:33,280 --> 00:55:35,280
y ese div tendrá un
1372
00:55:35,280 --> 00:55:37,920
nombre de clase igual a nuevamente, será
1373
00:55:37,920 --> 00:55:42,000
dinámico, por lo que los estilos comienzan con puntos flexibles
1374
00:55:42,000 --> 00:55:44,720
y también con la fila de guiones flexibles
1375
00:55:44,720 --> 00:55:46,799
finalmente dentro de ese div vamos a
1376
00:55:46,799 --> 00:55:48,559
tener una etiqueta p
1377
00:55:48,559 --> 00:55:51,200
y esa etiqueta p tendrá un lapso
1378
00:55:51,200 --> 00:55:54,079
etiqueta dentro de ella y dentro de esa
1379
00:55:54,079 --> 00:55:56,240
etiqueta de intervalo podemos decir obtener,
1380
00:55:56,240 --> 00:55:58,559
por lo que estamos tratando de lograr esto,
1381
00:55:58,559 --> 00:56:01,200
comencemos, así que primero tenemos el intervalo,
1382
00:56:01,200 --> 00:56:04,000
diseñémoslo un poco, podemos darle a esta p
1383
00:56:04,000 --> 00:56:06,400
un nombre de clase igual a
1384
00:56:06,400 --> 00:56:09,760
font dash poppins
1385
00:56:09,920 --> 00:56:12,000
font dash medium
1386
00:56:12,000 --> 00:56:15,520
text guión de 18 píxeles
1387
00:56:15,520 --> 00:56:19,599
guión inicial de 23 píxeles
1388
00:56:19,599 --> 00:56:21,440
todavía estará oculto
1389
00:56:21,440 --> 00:56:24,079
porque tenemos que darle al lapso un
1390
00:56:24,079 --> 00:56:28,480
nombre de clase de gradiente de guión de texto
1391
00:56:28,480 --> 00:56:30,559
ahí vamos, así que ahora podemos ver llegar
1392
00:56:30,559 --> 00:56:31,520
allí,
1393
00:56:31,520 --> 00:56:33,680
pero no vamos a detenernos allí debajo de
1394
00:56:33,680 --> 00:56:36,400
este lapso elemento podemos representar una
1395
00:56:36,400 --> 00:56:38,960
etiqueta de imagen de cierre automático con una fuente
1396
00:56:38,960 --> 00:56:41,599
igual a la flecha hacia arriba
1397
00:56:41,599 --> 00:56:44,079
allí vamos, también podemos darle un
1398
00:56:44,079 --> 00:56:49,280
nombre de clase igual a w guión 23 píxeles
1399
00:56:49,280 --> 00:56:52,079
y también h guión que serán los
1400
00:56:52,079 --> 00:56:54,160
mismos 23 píxeles
1401
00:56:54,160 --> 00:56:56,839
también podemos darle it object
1402
00:56:56,839 --> 00:56:59,520
contiene allí vamos,
1403
00:56:59,520 --> 00:57:00,240
así que
1404
00:57:00,240 --> 00:57:02,799
ahora también queremos darle una etiqueta alt
1405
00:57:02,799 --> 00:57:05,359
de algo como flecha
1406
00:57:05,359 --> 00:57:07,119
y nos falta
1407
00:57:07,119 --> 00:57:10,319
esta última palabra inicial, así que agreguemos eso
1408
00:57:10,319 --> 00:57:13,040
justo debajo, podemos copiar toda esta etiqueta p
1409
00:57:13,040 --> 00:57:14,000
1410
00:57:14,000 --> 00:57:17,040
y simplemente pegarla debajo de este div
1411
00:57:17,040 --> 00:57:19,599
aquí mismo, por lo que va a estar aquí,
1412
00:57:19,599 --> 00:57:21,440
no necesitaremos la imagen, así que podemos
1413
00:57:21,440 --> 00:57:22,880
eliminar la imagen
1414
00:57:22,880 --> 00:57:27,760
y ahora podemos decir que comience allí
1415
00:57:27,760 --> 00:57:30,319
ahora, es posible que pueda notar que nuestra
1416
00:57:30,319 --> 00:57:32,319
flecha no va en el lado derecho de
1417
00:57:32,319 --> 00:57:34,720
la obtener como debería ser, así que vamos a
1418
00:57:34,720 --> 00:57:37,839
comprobarlo, tenemos este div justo allí que
1419
00:57:37,839 --> 00:57:41,280
dice que los estilos comienzan con puntos flexibles y luego
1420
00:57:41,280 --> 00:57:43,760
estamos agregando la fila flexible allí
1421
00:57:43,760 --> 00:57:47,119
ahora dentro de esta etiqueta p tenemos un lapso
1422
00:57:47,119 --> 00:57:49,520
pero la imagen debe salir de eso
1423
00:57:49,520 --> 00:57:52,720
etiqueta p para que en realidad aparezca bien
1424
00:57:52,720 --> 00:57:55,119
en una fila y ahí vamos esto ya se
1425
00:57:55,119 --> 00:57:57,440
ve mucho mejor en realidad se
1426
00:57:57,440 --> 00:57:59,920
ve exactamente como se ve en el diseño tal vez
1427
00:57:59,920 --> 00:58:02,799
podamos darle a esta b solo un poco de
1428
00:58:02,799 --> 00:58:05,520
margen correcto algo así como 2 y ahí
1429
00:58:05,520 --> 00:58:08,000
estamos vaya, creo que logramos el diseño
1430
00:58:08,000 --> 00:58:11,200
perfectamente, así que ahora tenemos este
1431
00:58:11,200 --> 00:58:13,520
comienzo también, podemos cerrar el
1432
00:58:13,520 --> 00:58:16,079
componente de inicio y podemos volver a
1433
00:58:16,079 --> 00:58:18,480
nuestro héroe porque aún no hemos terminado con
1434
00:58:18,480 --> 00:58:20,720
la sección de héroe ahora tenemos que hacer esto envíe un
1435
00:58:20,720 --> 00:58:23,119
mensaje de texto allí, luego tenemos que hacer todos
1436
00:58:23,119 --> 00:58:25,599
estos números allí y luego,
1437
00:58:25,599 --> 00:58:28,960
finalmente, el brazo robótico de la escuela con los
1438
00:58:28,960 --> 00:58:31,760
pagos con tarjeta, así que hagámoslo de
1439
00:58:31,760 --> 00:58:34,960
inmediato, vamos a bajar dos divisiones, así que
1440
00:58:34,960 --> 00:58:37,920
este es uno dos a continuación para comenzar y
1441
00:58:37,920 --> 00:58:40,720
allí podemos crear otro h1,
1442
00:58:40,720 --> 00:58:43,520
este h1 será bastante similar
1443
00:58:43,520 --> 00:58:45,839
al primero, así que copiemos todos los
1444
00:58:45,839 --> 00:58:48,240
nombres de clase del primero
1445
00:58:48,240 --> 00:58:51,119
y dámoslos a este h1,
1446
00:58:51,119 --> 00:58:54,640
ahora no necesitaremos los
1447
00:58:54,640 --> 00:58:56,799
poppets de fuentes flexibles. se mantendrá la fuente
1448
00:58:56,799 --> 00:58:58,799
semi-negrita se mantendrá
1449
00:58:58,799 --> 00:59:01,280
el texto será un poco más pequeño,
1450
00:59:01,280 --> 00:59:05,680
algo así como 68 aquí y luego 52 allí,
1451
00:59:05,680 --> 00:59:07,839
tendrá el ancho del texto y luego el
1452
00:59:07,839 --> 00:59:10,559
encabezado será el mismo, solo
1453
00:59:10,559 --> 00:59:13,920
queremos agregar la w guión completo porque
1454
00:59:13,920 --> 00:59:16,480
necesitamos que esto tenga el ancho completo ahora dentro de
1455
00:59:16,480 --> 00:59:19,520
allí podemos decir el método de pago
1456
00:59:19,520 --> 00:59:21,119
1457
00:59:21,119 --> 00:59:24,000
ahí vamos y eso aparece
1458
00:59:24,000 --> 00:59:26,880
aquí y parece que no
1459
00:59:26,880 --> 00:59:29,200
necesitaba este método de pago aquí
1460
00:59:29,200 --> 00:59:32,000
porque lo hicimos debajo del comienzo
1461
00:59:32,000 --> 00:59:34,319
sí, eso es mi culpa, así que si tuviéramos que hacer
1462
00:59:34,319 --> 00:59:35,839
este pago allí mismo,
1463
00:59:35,839 --> 00:59:38,000
no podríamos colocar el botón de inicio en
1464
00:59:38,000 --> 00:59:40,480
el medio, así que lo que tenemos que hacer es
1465
00:59:40,480 --> 00:59:41,520
eliminar
1466
00:59:41,520 --> 00:59:45,119
este pago justo aquí arriba del
1467
00:59:45,119 --> 00:59:49,520
inicio, así que hagámoslo ahora mismo.
1468
00:59:49,520 --> 00:59:51,760
vamos, así que ahora tenemos muy bien el
1469
00:59:51,760 --> 00:59:54,480
método de pago de próxima generación exactamente
1470
00:59:54,480 --> 00:59:57,280
como está en el diseño, genial,
1471
00:59:57,280 --> 01:00:00,400
ahora debajo de este h1 queremos tener una etiqueta p,
1472
01:00:00,400 --> 01:00:01,440
1473
01:00:01,440 --> 01:00:03,599
así que creemos una etiqueta p,
1474
01:00:03,599 --> 01:00:05,760
esa etiqueta p va a copiar el texto
1475
01:00:05,760 --> 01:00:07,359
que tenemos en el diseño para que pueda hacer
1476
01:00:07,359 --> 01:00:08,640
doble clic en él
1477
01:00:08,640 --> 01:00:10,160
y pegarlo,
1478
01:00:10,160 --> 01:00:12,480
está bien,
1479
01:00:12,480 --> 01:00:14,400
y finalmente démosle algunos
1480
01:00:14,400 --> 01:00:16,799
nombres de clase para que sea realmente visible, nuestro
1481
01:00:16,799 --> 01:00:19,440
nombre de clase será estilos dinámicos,
1482
01:00:19,440 --> 01:00:21,440
ese párrafo,
1483
01:00:21,440 --> 01:00:23,200
por supuesto, tenemos que ponerlo dentro
1484
01:00:23,200 --> 01:00:25,599
del signo de dólar y llaves y
1485
01:00:25,599 --> 01:00:27,680
luego max dash
1486
01:00:27,680 --> 01:00:28,559
w
1487
01:00:28,559 --> 01:00:32,799
dash y luego 470 píxeles y también margin
1488
01:00:32,799 --> 01:00:33,920
top
1489
01:00:33,920 --> 01:00:35,760
dash cinco
1490
01:00:35,760 --> 01:00:38,319
ahí vamos así que ahora nos estamos acercando mucho
1491
01:00:38,319 --> 01:00:39,359
1492
01:00:39,359 --> 01:00:41,440
ahora hagamos el lado derecho que será
1493
01:00:41,440 --> 01:00:42,400
1494
01:00:42,400 --> 01:00:45,280
este brazo robótico pero también tenemos que
1495
01:00:45,280 --> 01:00:47,440
implementar estos gradientes, espero que puedan
1496
01:00:47,440 --> 01:00:49,440
ver esos círculos justo allí y las
1497
01:00:49,440 --> 01:00:52,319
salpicaduras de luz que vienen detrás de
1498
01:00:52,319 --> 01:00:55,680
la imagen, así que hagámoslos primero
1499
01:00:55,680 --> 01:00:58,880
ahora tenemos este h1 y tenemos esta
1500
01:00:58,880 --> 01:01:02,079
etiqueta p y todos ellos deberían estar en este
1501
01:01:02,079 --> 01:01:04,799
div justo ahí ahora nosotros puede ir un div
1502
01:01:04,799 --> 01:01:08,000
a continuación y crear un nuevo div
1503
01:01:08,000 --> 01:01:09,760
que será el div para el
1504
01:01:09,760 --> 01:01:11,520
lado derecho de nuestra pantalla
1505
01:01:11,520 --> 01:01:13,680
ahora dentro de allí vamos a
1506
01:01:13,680 --> 01:01:16,720
renderizar nuestra imagen para que inmediatamente podamos
1507
01:01:16,720 --> 01:01:19,200
renderizar una etiqueta de imagen de cierre automático que
1508
01:01:19,200 --> 01:01:22,079
va a tener la fuente es igual a robot,
1509
01:01:22,079 --> 01:01:24,480
guardémosla, aparece automáticamente
1510
01:01:24,480 --> 01:01:25,599
allí mismo,
1511
01:01:25,599 --> 01:01:28,000
démosle una etiqueta alt igual a
1512
01:01:28,000 --> 01:01:29,440
facturación
1513
01:01:29,440 --> 01:01:31,520
y agreguemos un nombre de clase
1514
01:01:31,520 --> 01:01:35,920
igual a w guión 100 por ciento
1515
01:01:35,920 --> 01:01:40,240
y también h guión 100 por ciento dentro de
1516
01:01:40,240 --> 01:01:42,079
corchetes
1517
01:01:42,079 --> 01:01:44,720
también démosle un relativo
1518
01:01:44,720 --> 01:01:46,799
y el índice z
1519
01:01:46,799 --> 01:01:49,359
de 5 para que aparezca sobre nuestros
1520
01:01:49,359 --> 01:01:51,520
gradientes una vez que los agreguemos
1521
01:01:51,520 --> 01:01:53,440
allí, nos vemos bien,
1522
01:01:53,440 --> 01:01:55,280
pero pueden ver que nos falta
1523
01:01:55,280 --> 01:01:58,079
algo, si expandimos esta ventana
1524
01:01:58,079 --> 01:01:59,200
aquí,
1525
01:01:59,200 --> 01:02:01,440
se mostrará en el lado derecho,
1526
01:02:01,440 --> 01:02:04,079
pero aún así faltan esos gradientes
1527
01:02:04,079 --> 01:02:06,880
que realmente lo hacen resaltar, así que hagamos eso,
1528
01:02:06,880 --> 01:02:09,920
agreguemos los gradientes,
1529
01:02:09,920 --> 01:02:12,799
podemos hacerlo agregando una serie de
1530
01:02:12,799 --> 01:02:15,039
divisiones de cierre automático,
1531
01:02:15,039 --> 01:02:17,200
cada una de esas divisiones tendrá
1532
01:02:17,200 --> 01:02:19,039
un nombre de clase
1533
01:02:19,039 --> 01:02:20,480
y se ubicará
1534
01:02:20,480 --> 01:02:21,839
absolutamente,
1535
01:02:21,839 --> 01:02:24,079
podemos establecer el índice z del primero
1536
01:02:24,079 --> 01:02:27,280
en cero y podemos darle un ancho del 40
1537
01:02:27,280 --> 01:02:28,480
por ciento,
1538
01:02:28,480 --> 01:02:30,960
también podemos darle una altura del 35 por
1539
01:02:30,960 --> 01:02:32,559
ciento
1540
01:02:32,559 --> 01:02:35,119
y luego podemos decir cero superior, por lo que
1541
01:02:35,119 --> 01:02:36,799
aparecerá desde el comienzo de la
1542
01:02:36,799 --> 01:02:37,760
página
1543
01:02:37,760 --> 01:02:39,920
y finalmente podemos darle una clase
1544
01:02:39,920 --> 01:02:43,839
de degradado de subrayado de subrayado rosa
1545
01:02:43,839 --> 01:02:45,680
ahora, si guardamos esto, puede ver este
1546
01:02:45,680 --> 01:02:48,480
degradado rosado genial que viene desde la parte superior
1547
01:02:48,480 --> 01:02:50,240
y si vamos a nuestro diseño,
1548
01:02:50,240 --> 01:02:52,640
esencialmente puede seleccionar este degradado
1549
01:02:52,640 --> 01:02:55,039
y puede copiar su estilos que se
1550
01:02:55,039 --> 01:02:57,440
enumeran allí mismo, en este caso
1551
01:02:57,440 --> 01:02:59,359
ya se los proporcioné en los
1552
01:02:59,359 --> 01:03:01,359
estilos, por lo que si buscamos el gradiente de ping
1553
01:03:01,359 --> 01:03:03,200
1554
01:03:03,200 --> 01:03:05,280
allí vamos, puede verlo dentro del
1555
01:03:05,280 --> 01:03:06,799
index.css,
1556
01:03:06,799 --> 01:03:09,119
es un gradiente lineal que simplemente se
1557
01:03:09,119 --> 01:03:10,880
copia desde aquí
1558
01:03:10,880 --> 01:03:13,520
genial, ahora agreguemos otros degradados
1559
01:03:13,520 --> 01:03:16,000
también para llenar esta imagen, podemos
1560
01:03:16,000 --> 01:03:19,200
regresar y podemos copiar esto dos veces
1561
01:03:19,200 --> 01:03:20,880
ahora, para el segundo, vamos a
1562
01:03:20,880 --> 01:03:22,960
establecer el índice z en uno, le
1563
01:03:22,960 --> 01:03:24,880
daremos un ochenta por ciento
1564
01:03:24,880 --> 01:03:26,240
del ancho
1565
01:03:26,240 --> 01:03:27,839
y también vamos a darle un
1566
01:03:27,839 --> 01:03:30,400
ochenta por ciento de la altura, hagámoslo
1567
01:03:30,400 --> 01:03:32,559
redondeado porque esto va a ser
1568
01:03:32,559 --> 01:03:35,119
circular, así que redondee el guión completo
1569
01:03:35,119 --> 01:03:37,839
y luego no necesitaremos el cero superior
1570
01:03:37,839 --> 01:03:39,599
sino el inferior
1571
01:03:39,599 --> 01:03:41,200
va a ser 40
1572
01:03:41,200 --> 01:03:42,880
y luego, finalmente, en lugar de un
1573
01:03:42,880 --> 01:03:45,039
gradiente de ping, será un
1574
01:03:45,039 --> 01:03:47,440
guión bajo blanco gradiente de guión bajo
1575
01:03:47,440 --> 01:03:49,359
ahí vamos, así que este es realmente fuerte
1576
01:03:49,359 --> 01:03:52,240
y finalmente podemos completarlo
1577
01:03:52,240 --> 01:03:54,480
con el último gradiente que
1578
01:03:54,480 --> 01:03:56,559
tendrá un índice z de cero
1579
01:03:56,559 --> 01:03:59,280
w guión 50
1580
01:03:59,280 --> 01:04:01,359
h -50
1581
01:04:01,359 --> 01:04:04,960
y luego guión derecho 20
1582
01:04:04,960 --> 01:04:08,400
para colocarlo también guión inferior 20 y
1583
01:04:08,400 --> 01:04:11,680
luego guión bajo azul guión bajo degradado
1584
01:04:11,680 --> 01:04:14,240
no necesitamos el rosa allí mismo
1585
01:04:14,240 --> 01:04:16,240
vamos a combinar un par de
1586
01:04:16,240 --> 01:04:18,720
degradados diferentes y antes de expandirlo
1587
01:04:18,720 --> 01:04:20,799
para verlo completamente solo hagamos una
1588
01:04:20,799 --> 01:04:22,400
cosa que marcará la diferencia
1589
01:04:22,400 --> 01:04:24,640
en los dispositivos móviles en este momento, puede
1590
01:04:24,640 --> 01:04:26,480
notar que el inicio viene en
1591
01:04:26,480 --> 01:04:28,799
el lado derecho aquí, pero si
1592
01:04:28,799 --> 01:04:31,760
lo cambiamos a iPhone 12, el inicio
1593
01:04:31,760 --> 01:04:33,760
desaparece porque queremos mostrarlo
1594
01:04:33,760 --> 01:04:36,000
a continuación eso tiene más sentido desde el
1595
01:04:36,000 --> 01:04:40,160
punto de vista del diseño, así que agreguemos el último
1596
01:04:40,160 --> 01:04:42,319
div y estará debajo de estos
1597
01:04:42,319 --> 01:04:44,000
div con degradados,
1598
01:04:44,000 --> 01:04:47,839
por lo que queremos crear un nuevo div,
1599
01:04:47,839 --> 01:04:51,440
ese div tendrá un nombre de clase,
1600
01:04:51,440 --> 01:04:56,400
será dinámico de ss oculto,
1601
01:04:56,400 --> 01:04:58,720
así que por lo general, lo queremos oculto, pero luego
1602
01:04:58,720 --> 01:05:00,559
será visible en los
1603
01:05:00,559 --> 01:05:03,839
dispositivos móviles, así que flexione el centro y allí queremos
1604
01:05:03,839 --> 01:05:05,680
renderizar el mismo componente que creamos
1605
01:05:05,680 --> 01:05:09,200
antes, ese es el componente de inicio
1606
01:05:09,200 --> 01:05:11,200
ahora en los dispositivos móviles tenemos este
1607
01:05:11,200 --> 01:05:13,520
hermoso botón de inicio debajo del
1608
01:05:13,520 --> 01:05:16,000
robot brazo y luego, si cambiamos al
1609
01:05:16,000 --> 01:05:17,520
escritorio,
1610
01:05:17,520 --> 01:05:19,440
ampliémoslo para verlo en todo su
1611
01:05:19,440 --> 01:05:20,640
esplendor
1612
01:05:20,640 --> 01:05:23,440
y ahí vamos ahora parece que
1613
01:05:23,440 --> 01:05:25,359
definitivamente estropeamos algo con los
1614
01:05:25,359 --> 01:05:28,559
degradados, son demasiado poderosos
1615
01:05:28,559 --> 01:05:30,480
mirando el diseño, deberían ser
1616
01:05:30,480 --> 01:05:33,200
más sutiles como este y en nuestro
1617
01:05:33,200 --> 01:05:34,880
lado terminado, puede ver que son
1618
01:05:34,880 --> 01:05:37,599
mucho más sutiles, por lo que lo que podemos hacer es
1619
01:05:37,599 --> 01:05:39,760
observar los cambios y asegurarnos de que
1620
01:05:39,760 --> 01:05:42,160
nuestros gradientes sean como deberían ser para que
1621
01:05:42,160 --> 01:05:44,400
podamos desplazarnos hacia arriba. Tenemos este div justo
1622
01:05:44,400 --> 01:05:47,440
allí y parece para mí, simplemente nos perdimos
1623
01:05:47,440 --> 01:05:49,680
agregar los estilos a este div, así que
1624
01:05:49,680 --> 01:05:51,359
agreguemos un nombre de clase,
1625
01:05:51,359 --> 01:05:53,359
hagámoslo dinámico y digamos
1626
01:05:53,359 --> 01:05:55,440
flex-1,
1627
01:05:55,440 --> 01:05:58,720
agreguemos un flex para que aparezcan en una fila,
1628
01:05:58,720 --> 01:06:02,960
agreguemos el centro de estilos dot flex
1629
01:06:02,960 --> 01:06:05,200
y también podemos darle en
1630
01:06:05,200 --> 01:06:07,839
dispositivos medianos margen y 0
1631
01:06:07,839 --> 01:06:10,720
generalmente margen y 10 y va a
1632
01:06:10,720 --> 01:06:13,359
tener una posición relativa
1633
01:06:13,359 --> 01:06:16,160
ahora estos gradientes van a aparecer
1634
01:06:16,160 --> 01:06:19,119
solo detrás del brazo robótico y esto se
1635
01:06:19,119 --> 01:06:20,960
ve mucho mejor
1636
01:06:20,960 --> 01:06:23,440
genial esta sección de héroe parece que
1637
01:06:23,440 --> 01:06:26,559
pertenece a un realmente moderno y una
1638
01:06:26,559 --> 01:06:29,119
aplicación web limpia, tenemos este bonito
1639
01:06:29,119 --> 01:06:31,359
botón de inicio y, si desea un
1640
01:06:31,359 --> 01:06:33,119
desafío adicional, puede animar este
1641
01:06:33,119 --> 01:06:35,119
botón un poco y hacer algo una vez que el
1642
01:06:35,119 --> 01:06:37,359
usuario pase el mouse sobre él, pero incluso sin
1643
01:06:37,359 --> 01:06:40,079
eso, esta es una hermosa sección de héroe,
1644
01:06:40,079 --> 01:06:42,240
la siguiente sección en nuestra lista será
1645
01:06:42,240 --> 01:06:42,960
1646
01:06:42,960 --> 01:06:45,520
esta línea aquí donde tenemos
1647
01:06:45,520 --> 01:06:47,839
diferentes aspectos de nuestro sitio web o
1648
01:06:47,839 --> 01:06:50,400
deberían decir nuestra empresa tenemos 3
1649
01:06:50,400 --> 01:06:54,000
800 usuarios activos 2300 más de confianza por parte de la
1650
01:06:54,000 --> 01:06:58,160
empresa y 230 millones en transacciones
1651
01:06:58,160 --> 01:07:00,079
hagamos eso primero y luego nos
1652
01:07:00,079 --> 01:07:02,240
mudaremos a este tipo de
1653
01:07:02,240 --> 01:07:04,079
secciones repetitivas en las que les mostraré cómo
1654
01:07:04,079 --> 01:07:08,079
hacer increíblemente reutilizable genial, así que
1655
01:07:08,079 --> 01:07:10,319
pasemos a esta línea primero,
1656
01:07:10,319 --> 01:07:12,640
podemos hacer eso colapsando nuestro navegador,
1657
01:07:12,640 --> 01:07:14,880
podemos cerrar nuestro héroe y volver a la
1658
01:07:14,880 --> 01:07:15,839
aplicación
1659
01:07:15,839 --> 01:07:16,799
y luego solo
1660
01:07:16,799 --> 01:07:19,039
con Siguiendo la estructura, nos
1661
01:07:19,039 --> 01:07:21,680
movemos a las estadísticas. Las estadísticas son esa
1662
01:07:21,680 --> 01:07:24,480
línea que cubre todas las estadísticas importantes.
1663
01:07:24,480 --> 01:07:27,520
Para comenzar a crear nuestras estadísticas, primero podemos
1664
01:07:27,520 --> 01:07:31,359
importar la matriz de estadísticas que proviene de las constantes de barra de puntos
1665
01:07:31,359 --> 01:07:33,359
1666
01:07:33,359 --> 01:07:36,880
y también podemos importar estos estilos que
1667
01:07:36,880 --> 01:07:38,160
provienen del
1668
01:07:38,160 --> 01:07:41,440
estilo de barra de puntos. ahora, si se pregunta
1669
01:07:41,440 --> 01:07:43,839
cuáles son las estadísticas, simplemente podemos controlar, haga
1670
01:07:43,839 --> 01:07:45,760
clic en ellas y podrá ver
1671
01:07:45,760 --> 01:07:48,079
que es una matriz con tres
1672
01:07:48,079 --> 01:07:51,440
objetos diferentes y cada objeto tiene un título y
1673
01:07:51,440 --> 01:07:54,160
un valor si lo comparamos con un diseño que
1674
01:07:54,160 --> 01:07:57,039
usted Puedo ver que cada objeto representa
1675
01:07:57,039 --> 01:08:00,000
una clave y un par de valores, el número
1676
01:08:00,000 --> 01:08:02,400
junto con una descripción que explica qué
1677
01:08:02,400 --> 01:08:03,760
hace ese número,
1678
01:08:03,760 --> 01:08:05,760
así que simplemente tomé esos valores y las
1679
01:08:05,760 --> 01:08:08,559
explicaciones, los puse dentro de una matriz
1680
01:08:08,559 --> 01:08:10,960
y ahora vamos a mapearlos
1681
01:08:10,960 --> 01:08:13,200
para poder eliminarlos primero. esta
1682
01:08:13,200 --> 01:08:16,000
declaración de devolución, ya que devolveremos nuestro jsx
1683
01:08:16,000 --> 01:08:18,319
de inmediato, por lo que
1684
01:08:18,319 --> 01:08:20,960
nos brindará una apariencia más limpia y ahora, dentro de
1685
01:08:20,960 --> 01:08:23,839
las estadísticas, convertiremos este div
1686
01:08:23,839 --> 01:08:25,359
en una sección
1687
01:08:25,359 --> 01:08:28,000
y le daremos una clase. nombre
1688
01:08:28,000 --> 01:08:30,399
que el nombre de la clase va a ser dinámico,
1689
01:08:30,399 --> 01:08:33,679
por lo que los estilos se doblan en el centro,
1690
01:08:33,679 --> 01:08:36,399
también podemos darle una fila de guiones flexibles,
1691
01:08:36,399 --> 01:08:38,799
envoltura de guiones flexibles
1692
01:08:38,799 --> 01:08:41,839
en dispositivos pequeños, margen inferior 20,
1693
01:08:41,839 --> 01:08:45,520
generalmente margen inferior seis, ahí vamos, así que
1694
01:08:45,520 --> 01:08:47,198
ahora no verá ningún cambio.
1695
01:08:47,198 --> 01:08:50,000
por el momento, pero ahora mapeemos
1696
01:08:50,000 --> 01:08:52,279
esas estadísticas para que sean
1697
01:08:52,279 --> 01:08:53,920
stats.map
1698
01:08:53,920 --> 01:08:56,479
obtenemos cada estadística individual
1699
01:08:56,479 --> 01:08:58,399
y luego queremos devolver instantáneamente
1700
01:08:58,399 --> 01:09:00,640
algo para cada estadística
1701
01:09:00,640 --> 01:09:03,600
que algo va a ser un div
1702
01:09:03,600 --> 01:09:06,719
y ese div va a tener un key
1703
01:09:06,719 --> 01:09:09,759
igual a stat dot id
1704
01:09:09,759 --> 01:09:12,960
y tendrá un nombre de clase, el
1705
01:09:12,960 --> 01:09:14,880
nombre de clase que podemos hacer más tarde porque
1706
01:09:14,880 --> 01:09:16,960
lo más importante es que podemos
1707
01:09:16,960 --> 01:09:18,719
ver los datos,
1708
01:09:18,719 --> 01:09:21,120
así que primero vamos a tener un
1709
01:09:21,120 --> 01:09:22,799
elemento h4 allí
1710
01:09:22,799 --> 01:09:25,759
y ese h4 va a representar el
1711
01:09:25,759 --> 01:09:27,439
valor del punto de estadística
1712
01:09:27,439 --> 01:09:29,759
que será el número
1713
01:09:29,759 --> 01:09:32,799
aquí y luego, por supuesto, también necesitamos la estadística de
1714
01:09:32,799 --> 01:09:34,560
ese título, por lo que
1715
01:09:34,560 --> 01:09:38,238
debajo de h4 podemos representar la etiqueta p
1716
01:09:38,238 --> 01:09:40,560
que representará el título del punto de estadística
1717
01:09:40,560 --> 01:09:43,040
y nuevamente estos solo provienen
1718
01:09:43,040 --> 01:09:45,198
de esta matriz de estadísticas
1719
01:09:45,198 --> 01:09:47,759
ahora que tenemos esos que de hecho están
1720
01:09:47,759 --> 01:09:50,319
aquí, pero realmente no podemos verlos, así que
1721
01:09:50,319 --> 01:09:52,560
apliquemos algunos estilos,
1722
01:09:52,560 --> 01:09:54,560
la mayoría de los estilos serán bastante
1723
01:09:54,560 --> 01:09:56,560
similares, pero serán diferentes en
1724
01:09:56,560 --> 01:09:57,600
tamaños
1725
01:09:57,600 --> 01:10:00,400
primero podemos agregar el estilos para el h4,
1726
01:10:00,400 --> 01:10:03,520
así que digamos que el nombre de la clase es igual a
1727
01:10:03,520 --> 01:10:06,440
font-poppins
1728
01:10:06,440 --> 01:10:09,600
font-semi-negrita en dispositivos extra pequeños
1729
01:10:09,600 --> 01:10:12,159
guión de texto 40 píxeles
1730
01:10:12,159 --> 01:10:13,840
generalmente texto
1731
01:10:13,840 --> 01:10:16,000
30 píxeles
1732
01:10:16,000 --> 01:10:18,800
en extra pequeño podemos configurar el encabezado para que
1733
01:10:18,800 --> 01:10:21,040
sea 53 píxeles
1734
01:10:21,040 --> 01:10:23,520
como este y luego generalmente el El encabezado se
1735
01:10:23,520 --> 01:10:26,960
puede configurar en algo así como 43 píxeles
1736
01:10:26,960 --> 01:10:29,840
y el texto en blanco, por lo que ahora puede ver
1737
01:10:29,840 --> 01:10:31,760
estos números allí mismo, pero, por supuesto, también
1738
01:10:31,760 --> 01:10:34,400
tenemos que diseñar las etiquetas p, así que
1739
01:10:34,400 --> 01:10:36,239
copiemos todos los nombres de clase
1740
01:10:36,239 --> 01:10:37,520
del h4
1741
01:10:37,520 --> 01:10:39,679
y agréguelos a la etiqueta p, pero vamos
1742
01:10:39,679 --> 01:10:41,520
a modificar solo un par de
1743
01:10:41,520 --> 01:10:42,400
cosas
1744
01:10:42,400 --> 01:10:44,400
en lugar de la fuente semi-negrita, será una
1745
01:10:44,400 --> 01:10:46,320
fuente normal
1746
01:10:46,320 --> 01:10:49,199
en lugar de 40 píxeles, será 20
1747
01:10:49,199 --> 01:10:51,120
para el texto extra pequeño, por lo
1748
01:10:51,120 --> 01:10:54,080
general será 15. cuando
1749
01:10:54,080 --> 01:10:55,920
En lo que respecta al encabezado,
1750
01:10:55,920 --> 01:10:59,199
será 26 aquí para el extra pequeño y, por
1751
01:10:59,199 --> 01:11:02,560
lo general, será 21
1752
01:11:02,560 --> 01:11:04,960
y, en lugar de texto en blanco,
1753
01:11:04,960 --> 01:11:07,840
diremos degradado de guión de texto,
1754
01:11:07,840 --> 01:11:10,080
estará en mayúsculas y
1755
01:11:10,080 --> 01:11:12,800
tendrá un margen izquierdo de 3.
1756
01:11:12,800 --> 01:11:14,800
Ahora, si guardamos eso, puede ver que esto
1757
01:11:14,800 --> 01:11:16,640
ya se ve mucho mejor
1758
01:11:16,640 --> 01:11:19,199
casi como lo hace en el diseño, pero, por
1759
01:11:19,199 --> 01:11:21,520
supuesto, tenemos que diseñar el div para que
1760
01:11:21,520 --> 01:11:23,840
podamos volver a nuestro div y ahora que
1761
01:11:23,840 --> 01:11:25,920
podemos ver nuestros elementos. puede
1762
01:11:25,920 --> 01:11:28,480
darle un nombre de clase
1763
01:11:28,480 --> 01:11:31,440
que será dinámico,
1764
01:11:31,440 --> 01:11:32,800
hagamos un
1765
01:11:32,800 --> 01:11:35,360
guión flexible
1766
01:11:35,360 --> 01:11:37,120
que los muestre inmediatamente
1767
01:11:37,120 --> 01:11:38,400
uno por uno,
1768
01:11:38,400 --> 01:11:40,880
también podemos darle una propiedad flexible,
1769
01:11:40,880 --> 01:11:43,280
justificar los elementos de inicio del guión, el
1770
01:11:43,280 --> 01:11:45,679
centro del guión, la
1771
01:11:45,679 --> 01:11:47,760
fila del guión flexible
1772
01:11:47,760 --> 01:11:51,520
y luego el guión de margen 3 o m. -3 y como
1773
01:11:51,520 --> 01:11:54,000
puede ver, esto realmente hizo que nuestra página de inicio se
1774
01:11:54,000 --> 01:11:57,040
destacara ahora que tenemos la primera vista completa una
1775
01:11:57,040 --> 01:11:58,880
vez que el usuario ingresa a la pantalla,
1776
01:11:58,880 --> 01:12:01,679
puede ver esta hermosa imagen junto
1777
01:12:01,679 --> 01:12:04,080
al botón de comenzar y puede ver
1778
01:12:04,080 --> 01:12:07,120
todas las estadísticas inmediatamente arriba del pliegue
1779
01:12:07,120 --> 01:12:10,960
una vez primero se unen, así que esto se ve
1780
01:12:10,960 --> 01:12:12,719
genial
1781
01:12:12,719 --> 01:12:15,520
y lo creas o no, hemos
1782
01:12:15,520 --> 01:12:18,239
terminado por completo con nuestras estadísticas, podemos
1783
01:12:18,239 --> 01:12:20,400
volver a la aplicación y centrarnos en la
1784
01:12:20,400 --> 01:12:22,640
parte comercial a continuación si miras el
1785
01:12:22,640 --> 01:12:25,440
diseño que será la parte comercial.
1786
01:12:25,440 --> 01:12:28,080
esta subsección aquí va a
1787
01:12:28,080 --> 01:12:30,320
tener algo de texto en el lado izquierdo y luego va a
1788
01:12:30,320 --> 01:12:31,920
tener algunas tarjetas en el
1789
01:12:31,920 --> 01:12:34,719
lado derecho, así que concentrémonos en desarrollar
1790
01:12:34,719 --> 01:12:37,840
eso de inmediato para comenzar a codificar nuestra
1791
01:12:37,840 --> 01:12:40,640
sección de negocios, vamos a importar
1792
01:12:40,640 --> 01:12:43,360
un par de cosas así que comencemos
1793
01:12:43,360 --> 01:12:46,560
importando las características que
1794
01:12:46,560 --> 01:12:50,080
provienen de constantes de barra de punto,
1795
01:12:50,080 --> 01:12:53,600
también podemos importar estos estilos pero también el
1796
01:12:53,600 --> 01:12:54,560
1797
01:12:54,560 --> 01:12:56,560
diseño de coma y eso vendrá
1798
01:12:56,560 --> 01:12:59,360
del estilo de barra de punto
1799
01:12:59,360 --> 01:13:01,679
y también podemos importar el
1800
01:13:01,679 --> 01:13:04,080
componente de botón que viene de eso va
1801
01:13:04,080 --> 01:13:07,280
para ser simplemente un botón de barra oblicua
1802
01:13:07,280 --> 01:13:09,120
ahora, exploremos lo que estamos importando
1803
01:13:09,120 --> 01:13:11,760
aquí, podemos controlar, haga clic en las funciones
1804
01:13:11,760 --> 01:13:14,000
y puede ver que las funciones son similares
1805
01:13:14,000 --> 01:13:16,640
a nuestras estadísticas, habrá una variedad
1806
01:13:16,640 --> 01:13:19,360
de tarjetas diferentes, por lo que tenemos la función 1
1807
01:13:19,360 --> 01:13:21,360
que va a ser recompensas y
1808
01:13:21,360 --> 01:13:24,000
allí tenemos un ícono tenemos un título
1809
01:13:24,000 --> 01:13:25,679
y contenido
1810
01:13:25,679 --> 01:13:28,400
siempre necesita visualizar cómo
1811
01:13:28,400 --> 01:13:29,920
se verá algo en la pantalla
1812
01:13:29,920 --> 01:13:32,560
qué propiedades tendrá
1813
01:13:32,560 --> 01:13:34,560
podemos ver claramente que aquí tenemos
1814
01:13:34,560 --> 01:13:36,800
un título que tenemos contenido y tenemos un
1815
01:13:36,800 --> 01:13:38,800
ícono y luego todo lo demás es igual
1816
01:13:38,800 --> 01:13:39,600
1817
01:13:39,600 --> 01:13:42,000
en reaccionar, debe pensar en términos de
1818
01:13:42,000 --> 01:13:44,960
reutilización, cómo puede reutilizar
1819
01:13:44,960 --> 01:13:48,560
componentes específicos ahora
1820
01:13:48,560 --> 01:13:51,440
1821
01:13:51,440 --> 01:13:54,320
control, haga
1822
01:13:54,320 --> 01:13:56,480
clic en el diseño, puede ver que el diseño
1823
01:13:56,480 --> 01:13:58,960
simplemente contiene algunos otros estilos
1824
01:13:58,960 --> 01:14:01,760
para la información de la sección inversa de la sección,
1825
01:14:01,760 --> 01:14:04,320
etc., y si miramos el
1826
01:14:04,320 --> 01:14:06,239
diseño aquí, puede notar que son
1827
01:14:06,239 --> 01:14:08,719
simplemente algunos nombres de clase adicionales
1828
01:14:08,719 --> 01:14:11,760
en lugar de escribir flex md flex
1829
01:14:11,760 --> 01:14:14,080
estilo de columna flexible de fila y simplemente podemos
1830
01:14:14,080 --> 01:14:17,600
decir sección y ahorrarnos mucho tiempo,
1831
01:14:17,600 --> 01:14:19,520
así que regresemos y comencemos a
1832
01:14:19,520 --> 01:14:21,679
implementar nuestro negocio
1833
01:14:21,679 --> 01:14:25,199
primero, podemos convertir esto en una sección
1834
01:14:25,199 --> 01:14:27,040
y le daremos una identificación a esa
1835
01:14:27,040 --> 01:14:30,159
sección que va para que sean características,
1836
01:14:30,159 --> 01:14:33,679
también le daremos un nombre de clase igual a la
1837
01:14:33,679 --> 01:14:36,080
sección de puntos de diseño,
1838
01:14:36,080 --> 01:14:38,800
ahí vamos ahora dentro de esa sección, vamos
1839
01:14:38,800 --> 01:14:40,640
a tener un div
1840
01:14:40,640 --> 01:14:42,800
y ese div tendrá un
1841
01:14:42,800 --> 01:14:45,040
nombre de clase igual a la
1842
01:14:45,040 --> 01:14:46,719
1843
01:14:46,719 --> 01:14:49,520
información de la sección de puntos de diseño que puede ver. cuánto más
1844
01:14:49,520 --> 01:14:51,120
simple es esto, no tenemos que escribir
1845
01:14:51,120 --> 01:14:53,440
muchas clases ya que preparamos todos los
1846
01:14:53,440 --> 01:14:56,719
nombres de nuestras clases aquí y luego
1847
01:14:56,719 --> 01:14:59,360
también podemos hacer un h2,
1848
01:14:59,360 --> 01:15:01,040
tenga en cuenta que ahora estamos creando
1849
01:15:01,040 --> 01:15:02,640
esta parte aquí
1850
01:15:02,640 --> 01:15:05,600
y que h2 va a decir
1851
01:15:05,600 --> 01:15:07,440
exactamente como lo hace aquí, así que podemos
1852
01:15:07,440 --> 01:15:09,600
copiar todo el texto
1853
01:15:09,600 --> 01:15:13,360
y podemos agregar una etiqueta de interrupción antes de la rueda,
1854
01:15:13,360 --> 01:15:16,159
como puede ver aquí, así que digamos
1855
01:15:16,159 --> 01:15:17,520
etiqueta de interrupción
1856
01:15:17,520 --> 01:15:20,080
y a esa etiqueta de interrupción podemos aplicar un
1857
01:15:20,080 --> 01:15:21,280
nombre de clase
1858
01:15:21,280 --> 01:15:24,159
igual a en el bloque de dispositivos pequeños, lo que
1859
01:15:24,159 --> 01:15:26,400
significa que mostrarlo generalmente lo
1860
01:15:26,400 --> 01:15:28,400
oculta porque solo queremos hacer esto
1861
01:15:28,400 --> 01:15:30,000
en dispositivos más pequeños
1862
01:15:30,000 --> 01:15:32,719
ahora lo que podemos hacer es guardar esto y
1863
01:15:32,719 --> 01:15:34,960
regresar y puede notar que no podemos
1864
01:15:34,960 --> 01:15:37,040
ver nada porque no hemos
1865
01:15:37,040 --> 01:15:39,760
proporcionado el h2 clases así que aquí
1866
01:15:39,760 --> 01:15:42,320
digamos que el nombre de la clase es igual a
1867
01:15:42,320 --> 01:15:45,320
estilos.título2
1868
01:15:45,520 --> 01:15:47,600
y allí vamos, proporcionamos
1869
01:15:47,600 --> 01:15:50,159
esos estilos de inmediato, ahora hagamos la etiqueta p
1870
01:15:50,159 --> 01:15:53,120
también, así que justo debajo podemos tener una etiqueta p
1871
01:15:53,120 --> 01:15:55,280
y desde el diseño podemos copiar lo que
1872
01:15:55,280 --> 01:15:57,600
este texto aquí dice que
1873
01:15:57,600 --> 01:15:59,920
parece que está escrito en una
1874
01:15:59,920 --> 01:16:02,159
fuente diferente que no tengo
1875
01:16:02,159 --> 01:16:04,800
aquí, así que no me permite copiar, así que
1876
01:16:04,800 --> 01:16:07,199
simplemente voy a cambiarlo por uno
1877
01:16:07,199 --> 01:16:09,440
que potencialmente todos tenemos, así que si lo
1878
01:16:09,440 --> 01:16:11,440
reemplazo aquí esto debería ser
1879
01:16:11,440 --> 01:16:13,840
bueno y ahora podemos copiarlo
1880
01:16:13,840 --> 01:16:14,960
ahí vamos
1881
01:16:14,960 --> 01:16:17,600
y podemos cambiar el nombre de la clase a
1882
01:16:17,600 --> 01:16:20,320
classname es igual a va a ser
1883
01:16:20,320 --> 01:16:22,280
1884
01:16:22,280 --> 01:16:25,040
estilos dinámicos. un
1885
01:16:25,040 --> 01:16:27,120
1886
01:16:27,120 --> 01:16:30,000
poco aquí, por lo general,
1887
01:16:30,000 --> 01:16:32,000
para que algo sea legible, debe
1888
01:16:32,000 --> 01:16:35,199
mostrarse en bloques como estos, el texto
1889
01:16:35,199 --> 01:16:37,600
no debe tener mucho ancho, por lo que lo que podemos
1890
01:16:37,600 --> 01:16:40,560
hacer es aplicar un nuevo nombre de clase
1891
01:16:40,560 --> 01:16:43,320
max dash w dash
1892
01:16:43,320 --> 01:16:45,360
470 píxeles
1893
01:16:45,360 --> 01:16:47,440
si guardamos esto esto va a ser mucho
1894
01:16:47,440 --> 01:16:49,760
más legible ahora y también vamos a
1895
01:16:49,760 --> 01:16:51,840
dividirlo del texto dándole un margen
1896
01:16:51,840 --> 01:16:54,640
superior de 5. Ahí vamos,
1897
01:16:54,640 --> 01:16:56,320
tú haces el negocio, nosotros manejaremos el
1898
01:16:56,320 --> 01:16:58,000
dinero, ya que dicen que
1899
01:16:58,000 --> 01:17:00,640
sí, este sitio web está muy bien hecho.
1900
01:17:00,640 --> 01:17:03,440
algunos elementos de texto agradables algunas
1901
01:17:03,440 --> 01:17:06,640
estadísticas agradables imágenes agradables así es como debe
1902
01:17:06,640 --> 01:17:09,679
crear sus sitios web para los clientes
1903
01:17:09,679 --> 01:17:11,679
y mientras estamos en el tema de prestar
1904
01:17:11,679 --> 01:17:14,159
clientes y oportunidades de trabajo,
1905
01:17:14,159 --> 01:17:16,719
nuestra próxima cohorte de la experiencia de la clase magistral de jsm
1906
01:17:16,719 --> 01:17:19,920
comenzará muy pronto, así que si
1907
01:17:19,920 --> 01:17:22,159
vas a js mastery that pro, haz clic en
1908
01:17:22,159 --> 01:17:24,320
la experiencia de la clase magistral, puedes leer
1909
01:17:24,320 --> 01:17:26,080
más al respecto, pero esencialmente
1910
01:17:26,080 --> 01:17:28,640
te ayudaremos a conseguir tu próximo trabajo
1911
01:17:28,640 --> 01:17:31,199
dentro de tres a seis meses, así que si eso es
1912
01:17:31,199 --> 01:17:32,719
algo que te interesa,
1913
01:17:32,719 --> 01:17:34,960
definitivamente verifica sáquelo, pero
1914
01:17:34,960 --> 01:17:37,040
dicho esto, volvamos a esta hermosa
1915
01:17:37,040 --> 01:17:39,679
aplicación bancaria, ahora tenemos que agregar un
1916
01:17:39,679 --> 01:17:41,520
botón aquí y luego, después del
1917
01:17:41,520 --> 01:17:43,840
botón, mostraremos estas tarjetas
1918
01:17:43,840 --> 01:17:45,440
en el lado derecho y
1919
01:17:45,440 --> 01:17:48,159
le mostraré cómo hacerlos completamente reutilizables,
1920
01:17:48,159 --> 01:17:51,040
pero vamos paso a paso debajo de la
1921
01:17:51,040 --> 01:17:53,679
etiqueta sp, podemos representar una
1922
01:17:53,679 --> 01:17:56,159
etiqueta de botón de cierre automático, ese botón por ahora
1923
01:17:56,159 --> 01:17:58,800
será solo un componente de botón vacío,
1924
01:17:58,800 --> 01:18:02,320
proporcionemos un accesorio llamado estilos
1925
01:18:02,320 --> 01:18:05,360
y démosle un estilo de
1926
01:18:05,360 --> 01:18:08,640
mt 10 margin top 10 porque queremos
1927
01:18:08,640 --> 01:18:10,880
dividirlo un poco de este elemento
1928
01:18:10,880 --> 01:18:13,840
ahora podemos controlar hacer clic en él
1929
01:18:13,840 --> 01:18:16,080
y podemos crear un nuevo componente de botón genérico,
1930
01:18:16,080 --> 01:18:18,960
así que nuevamente estamos haciendo que esto sea lo más
1931
01:18:18,960 --> 01:18:21,920
reutilizable posible para este botón
1932
01:18:21,920 --> 01:18:24,560
hemos pasado un accesorio llamado estilos para que
1933
01:18:24,560 --> 01:18:27,120
podamos obtener eso de inmediato y
1934
01:18:27,120 --> 01:18:29,520
aquí mismo podemos simplemente representar un componente de botón,
1935
01:18:29,520 --> 01:18:30,800
1936
01:18:30,800 --> 01:18:33,280
ese botón tendrá un tipo
1937
01:18:33,280 --> 01:18:36,719
igual al botón como lo hacen los botones generalmente,
1938
01:18:36,719 --> 01:18:38,480
podemos darle un nombre de clase que es va
1939
01:18:38,480 --> 01:18:43,760
a ser un relleno dinámico y4 relleno x6
1940
01:18:43,760 --> 01:18:46,640
y también podemos darle inmediatamente un
1941
01:18:46,640 --> 01:18:49,199
degradado de tablero azul de tablero bg
1942
01:18:49,199 --> 01:18:51,840
ahora si guardamos esto ahí vamos tenemos
1943
01:18:51,840 --> 01:18:54,640
un botón vacío podemos agregar un texto en el
1944
01:18:54,640 --> 01:18:57,600
medio empezar
1945
01:18:57,600 --> 01:18:59,520
ahí vamos ya luciendo más como un
1946
01:18:59,520 --> 01:19:00,560
botón
1947
01:19:00,560 --> 01:19:04,560
vamos a darle también un guión de fuente bobbins
1948
01:19:04,560 --> 01:19:07,280
vamos a darle un guión de fuente medio
1949
01:19:07,280 --> 01:19:09,199
también vamos a darle un texto de
1950
01:19:09,199 --> 01:19:12,239
18 píxeles para que realmente se destaque
1951
01:19:12,239 --> 01:19:14,800
vamos a darle un guión de texto
1952
01:19:14,800 --> 01:19:17,280
contorno principal guión ninguno
1953
01:19:17,280 --> 01:19:19,600
y también podemos representar todos los estilos que
1954
01:19:19,600 --> 01:19:21,679
provienen de nuestros accesorios
1955
01:19:21,679 --> 01:19:23,760
allí vamos, así que ahora tenemos nuestro botón
1956
01:19:23,760 --> 01:19:27,040
hecho también, volvamos al trabajo
1957
01:19:27,040 --> 01:19:29,120
y podemos crear la siguiente parte de nuestra
1958
01:19:29,120 --> 01:19:31,199
sección comercial, que serán
1959
01:19:31,199 --> 01:19:32,880
las tarjetas de características,
1960
01:19:32,880 --> 01:19:35,440
así que primero que nada, creemos un nuevo div
1961
01:19:35,440 --> 01:19:37,440
y ese div va a tener un
1962
01:19:37,440 --> 01:19:39,120
nombre de clase igual a
1963
01:19:39,120 --> 01:19:41,679
eso va a ser una cadena dinámica de la
1964
01:19:41,679 --> 01:19:45,840
sección de puntos de diseño img y también una
1965
01:19:45,840 --> 01:19:47,520
columna de guión flexible porque queremos
1966
01:19:47,520 --> 01:19:49,920
mostrarlos en una columna dentro de aquí podemos
1967
01:19:49,920 --> 01:19:52,159
mapear a través de nuestras características para que podamos decir
1968
01:19:52,159 --> 01:19:53,679
características
1969
01:19:53,679 --> 01:19:56,880
punto map obtenemos una característica individual
1970
01:19:56,880 --> 01:19:59,199
y también podemos obtener el índice de cada
1971
01:19:59,199 --> 01:20:01,920
tarjeta allí vamos, así que ahora, ¿qué queremos
1972
01:20:01,920 --> 01:20:03,679
representar para cada tarjeta? Bueno,
1973
01:20:03,679 --> 01:20:05,760
hagamos nuestra vida más fácil y
1974
01:20:05,760 --> 01:20:08,960
creemos un componente de tarjeta de características reutilizable,
1975
01:20:08,960 --> 01:20:10,239
1976
01:20:10,239 --> 01:20:12,000
ya que esta tarjeta de características solo se
1977
01:20:12,000 --> 01:20:14,320
usará dentro de este archivo, simplemente
1978
01:20:14,320 --> 01:20:16,960
creémoslo arriba aquí arriba de nuestro
1979
01:20:16,960 --> 01:20:18,480
componente comercial
1980
01:20:18,480 --> 01:20:21,199
para que podamos decir que la tarjeta de función constante es
1981
01:20:21,199 --> 01:20:23,520
igual a un componente de función de flecha regular
1982
01:20:23,520 --> 01:20:26,320
con un retorno instantáneo
1983
01:20:26,320 --> 01:20:28,639
dentro de allí podemos representar un div
1984
01:20:28,639 --> 01:20:31,040
y por ahora simplemente intentemos para pasar todos
1985
01:20:31,040 --> 01:20:34,880
los accesorios, de modo que los accesorios que necesitaremos,
1986
01:20:34,880 --> 01:20:37,120
simplemente proporcionemos una clave en primer
1987
01:20:37,120 --> 01:20:39,280
lugar, ya que estamos mapeando sobre ella, que
1988
01:20:39,280 --> 01:20:42,080
será igual a feature.id
1989
01:20:42,080 --> 01:20:44,800
y luego distribuyamos todas las propiedades de las funciones de
1990
01:20:44,800 --> 01:20:46,719
1991
01:20:46,719 --> 01:20:49,040
esta manera. va a contener todas las
1992
01:20:49,040 --> 01:20:51,520
funciones que están dentro de nuestro objeto de función
1993
01:20:51,520 --> 01:20:52,800
1994
01:20:52,800 --> 01:20:54,880
y también podemos darle un índice que es
1995
01:20:54,880 --> 01:20:56,880
igual a índice
1996
01:20:56,880 --> 01:20:57,760
excelente
1997
01:20:57,760 --> 01:21:00,400
ahora, si observamos nuestra función,
1998
01:21:00,400 --> 01:21:03,360
podemos saber que tenemos un contenido de título de icono
1999
01:21:03,360 --> 01:21:05,199
y la identificación,
2000
01:21:05,199 --> 01:21:07,920
así que vamos a desestructurar aquellos de accesorios
2001
01:21:07,920 --> 01:21:10,159
que serán el
2002
01:21:10,159 --> 01:21:11,280
2003
01:21:11,280 --> 01:21:15,360
contenido del título del ícono y el índice allí vamos,
2004
01:21:15,360 --> 01:21:18,000
intentemos mostrar el ícono de inmediato
2005
01:21:18,000 --> 01:21:20,159
para que sepamos que algo funciona, así que
2006
01:21:20,159 --> 01:21:22,159
vamos a tener un div dentro de este
2007
01:21:22,159 --> 01:21:23,199
div
2008
01:21:23,199 --> 01:21:26,000
y allí podemos renderizar un auto- la
2009
01:21:26,000 --> 01:21:27,920
etiqueta de imagen de cierre que tendrá la
2010
01:21:27,920 --> 01:21:30,480
fuente igual al ícono
2011
01:21:30,480 --> 01:21:34,159
alt también puede decir algo como ícono
2012
01:21:34,159 --> 01:21:36,800
y si guardamos esto, puede ver tres
2013
01:21:36,800 --> 01:21:38,800
íconos diferentes, lo que significa que
2014
01:21:38,800 --> 01:21:41,440
creamos un componente reutilizable que
2015
01:21:41,440 --> 01:21:43,920
ahora estamos mapeando y por ahora es
2016
01:21:43,920 --> 01:21:46,080
mostrando solo íconos diferentes, pero muy pronto vamos
2017
01:21:46,080 --> 01:21:48,480
a agregar un texto también,
2018
01:21:48,480 --> 01:21:50,800
démosle un nombre de clase a estos
2019
01:21:50,800 --> 01:21:54,159
íconos, de modo que será w dash,
2020
01:21:54,159 --> 01:21:57,920
hagamos 50 por ciento h dash también cincuenta por
2021
01:21:57,920 --> 01:21:59,920
ciento
2022
01:21:59,920 --> 01:22:02,080
y también démosle object dash contains
2023
01:22:02,080 --> 01:22:04,400
2024
01:22:04,400 --> 01:22:05,520
ahí vamos,
2025
01:22:05,520 --> 01:22:08,560
vamos a diseñar todo lo demás también, en
2026
01:22:08,560 --> 01:22:10,639
primer lugar, tenemos que agregar nombres de clase
2027
01:22:10,639 --> 01:22:13,920
a nuestro div de tarjeta, recuerde que estamos creando
2028
01:22:13,920 --> 01:22:16,080
esta parte
2029
01:22:16,080 --> 01:22:17,920
ahora mismo, lo que podemos hacer es darle un
2030
01:22:17,920 --> 01:22:19,760
nombre de clase,
2031
01:22:19,760 --> 01:22:23,040
será dinámico. Entonces, como este
2032
01:22:23,040 --> 01:22:27,120
flex flex dash row padding dash 6
2033
01:22:27,120 --> 01:22:31,280
rounded dash 20 pixels, puede ver que está
2034
01:22:31,280 --> 01:22:33,840
un poco redondeado en las esquinas,
2035
01:22:33,840 --> 01:22:35,760
ahora también queremos darle un margen
2036
01:22:35,760 --> 01:22:38,239
inferior para dividir esta tarjeta de esta
2037
01:22:38,239 --> 01:22:40,639
y esta de esta pero si es
2038
01:22:40,639 --> 01:22:42,480
la última tarjeta, entonces no queremos
2039
01:22:42,480 --> 01:22:44,320
proporcionarle un margen inferior,
2040
01:22:44,320 --> 01:22:47,600
así que lo que podemos hacer es decir que el índice no es
2041
01:22:47,600 --> 01:22:49,360
igual a la
2042
01:22:49,360 --> 01:22:52,719
longitud del punto de características -1, por lo que si no es la última,
2043
01:22:52,719 --> 01:22:53,520
2044
01:22:53,520 --> 01:22:56,639
déle un margen inferior de seis
2045
01:22:56,639 --> 01:22:59,840
generalmente le dan un margen inferior
2046
01:22:59,840 --> 01:23:01,360
que va a ser
2047
01:23:01,360 --> 01:23:04,239
cero margen inferior cero
2048
01:23:04,239 --> 01:23:05,520
ahí vamos
2049
01:23:05,520 --> 01:23:08,400
y, por supuesto, tenemos que cerrarlo allí mismo,
2050
01:23:08,400 --> 01:23:09,360
2051
01:23:09,360 --> 01:23:11,600
veamos, sí, debería haberlo cerrado allí,
2052
01:23:11,600 --> 01:23:15,199
debería haberlo cerrado aquí,
2053
01:23:15,199 --> 01:23:17,360
allí vamos. Cierra
2054
01:23:17,360 --> 01:23:19,440
esto correctamente y deberíamos estar listos para continuar, eso está
2055
01:23:19,440 --> 01:23:22,080
bien y proporcionemos un último
2056
01:23:22,080 --> 01:23:24,560
nombre de clase que será una
2057
01:23:24,560 --> 01:23:27,280
tarjeta de presentación ahora, si regresa, puede ver que
2058
01:23:27,280 --> 01:23:30,000
si pasamos el mouse sobre ella, parece una tarjeta,
2059
01:23:30,000 --> 01:23:31,920
es como un cuadro que tiene un ícono
2060
01:23:31,920 --> 01:23:34,480
allí, pero vamos a darle un estilo un poco más,
2061
01:23:34,480 --> 01:23:36,880
este div que contiene el ícono
2062
01:23:36,880 --> 01:23:39,120
tendrá el mismo nombre de clase
2063
01:23:39,120 --> 01:23:40,320
2064
01:23:40,320 --> 01:23:42,239
y hagámoslo dinámico,
2065
01:23:42,239 --> 01:23:43,679
tendrá
2066
01:23:43,679 --> 01:23:45,920
w-64
2067
01:23:45,920 --> 01:23:46,960
píxeles
2068
01:23:46,960 --> 01:23:48,400
como este,
2069
01:23:48,400 --> 01:23:52,000
también tendrá un h guión 64
2070
01:23:52,000 --> 01:23:53,040
píxeles
2071
01:23:53,040 --> 01:23:55,199
si guardamos esto bien ahora podemos ver
2072
01:23:55,199 --> 01:23:56,560
esos íconos
2073
01:23:56,560 --> 01:23:59,040
también redondeados guión lleno
2074
01:23:59,040 --> 01:24:02,159
también vamos a darle un estilo no centro flexible
2075
01:24:02,159 --> 01:24:03,360
2076
01:24:03,360 --> 01:24:06,000
y bg guión tenue
2077
01:24:06,000 --> 01:24:07,040
azul
2078
01:24:07,040 --> 01:24:09,120
ahí vamos así que ahora
2079
01:24:09,120 --> 01:24:11,760
tenemos un círculo alrededor del ícono y
2080
01:24:11,760 --> 01:24:13,360
tenemos algo que se ve más como
2081
01:24:13,360 --> 01:24:15,440
tarjetas diferentes pero, por supuesto, una vez que
2082
01:24:15,440 --> 01:24:17,199
agreguemos un título en el texto, se
2083
01:24:17,199 --> 01:24:19,520
verá más así, así que agreguemos eso
2084
01:24:19,520 --> 01:24:20,719
inmediatamente
2085
01:24:20,719 --> 01:24:23,199
debajo de este div que contiene la imagen,
2086
01:24:23,199 --> 01:24:25,280
vamos a crear otro div,
2087
01:24:25,280 --> 01:24:28,560
este div tendrá un nombre de clase
2088
01:24:28,560 --> 01:24:30,960
igual a flex-1
2089
01:24:30,960 --> 01:24:31,840
flex
2090
01:24:31,840 --> 01:24:35,840
flex dash call y margin left 3.
2091
01:24:35,840 --> 01:24:38,880
dentro de allí queremos renderizar un h4
2092
01:24:38,880 --> 01:24:40,960
y dentro de allí queremos renderizar
2093
01:24:40,960 --> 01:24:42,159
el título
2094
01:24:42,159 --> 01:24:44,080
queremos repetir este proceso para la
2095
01:24:44,080 --> 01:24:45,440
etiqueta p también
2096
01:24:45,440 --> 01:24:48,080
y allí queremos representar el contenido
2097
01:24:48,080 --> 01:24:49,760
y, como siempre, no será
2098
01:24:49,760 --> 01:24:52,480
visible de inmediato, pero si nos desplazamos
2099
01:24:52,480 --> 01:24:55,280
podemos ver que hay algo allí, así que
2100
01:24:55,280 --> 01:24:58,800
apliquemos nombres de clase a rh4 que
2101
01:24:58,800 --> 01:25:01,120
será font dash poppins
2102
01:25:01,120 --> 01:25:02,000
font
2103
01:25:02,000 --> 01:25:03,679
dash semi-negrita
2104
01:25:03,679 --> 01:25:07,040
text dash white text dash
2105
01:25:07,040 --> 01:25:09,840
2106
01:25:09,840 --> 01:25:12,400
Guión inicial de 18 píxeles 23
2107
01:25:12,400 --> 01:25:14,080
y déjame guardarlo antes de agregar el guión inicial
2108
01:25:14,080 --> 01:25:16,000
para que puedas ver lo que hace
2109
01:25:16,000 --> 01:25:18,880
allí, así que ahora hagamos el guión inicial de
2110
01:25:18,880 --> 01:25:20,960
23 píxeles,
2111
01:25:20,960 --> 01:25:23,280
solo agrega un poco más de espacio
2112
01:25:23,280 --> 01:25:27,120
y finalmente el margen inferior uno
2113
01:25:27,120 --> 01:25:28,560
allí vamos
2114
01:25:28,560 --> 01:25:31,440
y ahora vamos a copiar eso mismo nombre de clase,
2115
01:25:31,440 --> 01:25:34,719
agréguemoslo a nuestra etiqueta b y
2116
01:25:34,719 --> 01:25:36,480
cambiemos solo algunas cosas
2117
01:25:36,480 --> 01:25:39,360
que cambiarán la fuente
2118
01:25:39,360 --> 01:25:42,320
de semi-negrita a normal, también podemos
2119
01:25:42,320 --> 01:25:45,360
cambiar el color del texto a blanco tenue como
2120
01:25:45,360 --> 01:25:47,600
este
2121
01:25:47,760 --> 01:25:51,760
y cambiar el tamaño del texto a 16 píxeles
2122
01:25:51,760 --> 01:25:54,320
el líder puede ser algo así como 24 y
2123
01:25:54,320 --> 01:25:56,880
ahí vamos, ahora tenemos estas tarjetas que
2124
01:25:56,880 --> 01:26:00,159
se ven exactamente como lo hacen en el diseño
2125
01:26:00,159 --> 01:26:02,400
y créanlo o no, hemos
2126
01:26:02,400 --> 01:26:04,800
terminado con la sección comercial, así que ahora, si
2127
01:26:04,800 --> 01:26:07,040
ampliamos esto,
2128
01:26:07,040 --> 01:26:08,639
eche un vistazo a
2129
01:26:08,639 --> 01:26:12,000
esto. tenemos una hermosa sección de héroes y
2130
01:26:12,000 --> 01:26:14,159
luego tenemos una sección de características fenomenal,
2131
01:26:14,159 --> 01:26:16,719
por lo que tenemos una lista de características
2132
01:26:16,719 --> 01:26:19,520
y beneficios que esta plataforma brinda,
2133
01:26:19,520 --> 01:26:22,239
cada sitio web debería tener este
2134
01:26:22,239 --> 01:26:24,800
gran y otro llamado a la acción allí mismo,
2135
01:26:24,800 --> 01:26:25,679
2136
01:26:25,679 --> 01:26:28,080
la siguiente sección de nuestra lista será
2137
01:26:28,080 --> 01:26:29,120
2138
01:26:29,120 --> 01:26:31,600
este, que es bastante similar, tenemos
2139
01:26:31,600 --> 01:26:34,000
el texto y luego el texto debajo de dos
2140
01:26:34,000 --> 01:26:36,080
botones diferentes y luego las imágenes
2141
01:26:36,080 --> 01:26:38,560
esta vez están en el lado izquierdo en lugar
2142
01:26:38,560 --> 01:26:40,800
de tener las tarjetas en el lado derecho
2143
01:26:40,800 --> 01:26:42,639
solo para romper esa misma estructura,
2144
01:26:42,639 --> 01:26:45,040
pueden ver que nos queda derecha derecha izquierda
2145
01:26:45,040 --> 01:26:47,679
y luego izquierda derecha una vez más,
2146
01:26:47,679 --> 01:26:48,560
2147
01:26:48,560 --> 01:26:51,600
perfecto, así que profundicemos en nuestra siguiente
2148
01:26:51,600 --> 01:26:54,400
sección, volvamos aquí,
2149
01:26:54,400 --> 01:26:57,040
expanda nuestro código de Visual Studio
2150
01:26:57,040 --> 01:27:00,400
y, si volvemos a nuestra aplicación, puede ver
2151
01:27:00,400 --> 01:27:02,239
que la facturación será la siguiente
2152
01:27:02,239 --> 01:27:05,600
sección y esa es exactamente esta parte
2153
01:27:05,600 --> 01:27:07,199
aquí,
2154
01:27:07,199 --> 01:27:09,679
facturación, ahí vamos, así que implementemos
2155
01:27:09,679 --> 01:27:11,360
la facturación a continuación, por supuesto, vamos
2156
01:27:11,360 --> 01:27:13,760
a comenzar con las imágenes, ya que están
2157
01:27:13,760 --> 01:27:16,080
en el lado izquierdo, para comenzar con la
2158
01:27:16,080 --> 01:27:18,320
facturación, por supuesto, vamos a importar
2159
01:27:18,320 --> 01:27:20,719
un par. de activos y esos
2160
01:27:20,719 --> 01:27:22,400
serán apple
2161
01:27:22,400 --> 01:27:23,360
bill
2162
01:27:23,360 --> 01:27:26,239
y google y estos provienen de los
2163
01:27:26,239 --> 01:27:28,320
activos de barra de puntos
2164
01:27:28,320 --> 01:27:31,600
también vamos a obtener nuestros estilos,
2165
01:27:31,600 --> 01:27:35,120
así como el diseño que proviene del estilo de barra de puntos
2166
01:27:35,120 --> 01:27:36,159
2167
01:27:36,159 --> 01:27:38,159
ahora inmediatamente allí podemos
2168
01:27:38,159 --> 01:27:41,760
devolver instantáneamente nuestro jsx así que simplemente
2169
01:27:41,760 --> 01:27:43,600
estructuremos esto correctamente
2170
01:27:43,600 --> 01:27:46,239
y ahora podemos convertir este div en una
2171
01:27:46,239 --> 01:27:47,280
sección.
2172
01:27:47,280 --> 01:27:49,199
Esta sección tendrá una identificación
2173
01:27:49,199 --> 01:27:51,120
porque podemos desplazarnos hasta ella y
2174
01:27:51,120 --> 01:27:52,960
llamémosla producto
2175
01:27:52,960 --> 01:27:55,280
y démosle un nombre de clase
2176
01:27:55,280 --> 01:27:58,000
que sea igual a ese será el
2177
01:27:58,000 --> 01:28:01,440
punto de diseño. sección inversa, así que esta es la parte en la
2178
01:28:01,440 --> 01:28:03,040
que les dije que estamos haciendo algo
2179
01:28:03,040 --> 01:28:05,679
dinámico, tenemos una sección inversa, si la
2180
01:28:05,679 --> 01:28:08,800
miramos, es lo mismo, pero
2181
01:28:08,800 --> 01:28:12,000
invertimos la columna, lo que significa que
2182
01:28:12,000 --> 01:28:14,800
estamos mostrando las cosas de izquierda a derecha
2183
01:28:14,800 --> 01:28:16,639
o en dispositivos móviles, eso significa que estamos
2184
01:28:16,639 --> 01:28:19,199
mostrando el texto primero, que es la
2185
01:28:19,199 --> 01:28:21,199
parte clave allí mismo. Les mostraré
2186
01:28:21,199 --> 01:28:23,120
lo que quiero decir muy rápidamente una vez que
2187
01:28:23,120 --> 01:28:25,040
desarrollemos esta sección
2188
01:28:25,040 --> 01:28:27,760
y regresemos ahora y agreguemos
2189
01:28:27,760 --> 01:28:29,920
algo dentro de esa sección
2190
01:28:29,920 --> 01:28:31,920
que es va a ser un div
2191
01:28:31,920 --> 01:28:34,080
y ese div va a tener un
2192
01:28:34,080 --> 01:28:37,679
nombre de clase igual al reverso de la imagen de la sección de puntos del diseño
2193
01:28:37,679 --> 01:28:39,840
2194
01:28:39,840 --> 01:28:42,080
dentro de allí queremos representar nuestra
2195
01:28:42,080 --> 01:28:43,040
imagen,
2196
01:28:43,040 --> 01:28:44,639
por lo que esta imagen será una
2197
01:28:44,639 --> 01:28:47,760
etiqueta de imagen de cierre automático con una fuente de
2198
01:28:47,760 --> 01:28:48,719
factura
2199
01:28:48,719 --> 01:28:50,719
alt se va a facturar
2200
01:28:50,719 --> 01:28:54,080
y podemos darle un nombre de clase igual a vamos a
2201
01:28:54,080 --> 01:28:58,320
hacer algo como w guión 100
2202
01:28:58,320 --> 01:29:01,440
h guión que va a ser 100
2203
01:29:01,440 --> 01:29:04,239
y vamos a hacer relativo así como un
2204
01:29:04,239 --> 01:29:06,080
índice z de 5.
2205
01:29:06,080 --> 01:29:09,120
ahora si cerramos esto y lo guardamos
2206
01:29:09,120 --> 01:29:11,280
si nos desplazamos hacia abajo, puede ver que tenemos
2207
01:29:11,280 --> 01:29:13,520
nuestra hermosa imagen aquí,
2208
01:29:13,520 --> 01:29:15,040
pero hay algo que quizás
2209
01:29:15,040 --> 01:29:17,280
no haya notado si miramos el diseño
2210
01:29:17,280 --> 01:29:18,080
nuevamente,
2211
01:29:18,080 --> 01:29:21,199
hay un pequeño
2212
01:29:21,199 --> 01:29:24,480
degradado grisáceo justo aquí, así que
2213
01:29:24,480 --> 01:29:26,960
agreguemos ese degradado también que realmente
2214
01:29:26,960 --> 01:29:29,199
hace la imagen aparece y hace que
2215
01:29:29,199 --> 01:29:31,600
parezca que estos elementos 3D
2216
01:29:31,600 --> 01:29:33,920
fluyen en la parte superior de la pantalla en este momento,
2217
01:29:33,920 --> 01:29:35,600
es solo una imagen en el
2218
01:29:35,600 --> 01:29:38,320
fondo negro, por lo que para agregar esos degradados
2219
01:29:38,320 --> 01:29:41,760
podemos agregar dos cierres automáticos, así
2220
01:29:41,760 --> 01:29:42,800
2221
01:29:42,800 --> 01:29:45,840
vamos a dar el primero un nombre de clase
2222
01:29:45,840 --> 01:29:48,239
igual a absoluto
2223
01:29:48,239 --> 01:29:50,239
z guión tres
2224
01:29:50,239 --> 01:29:52,400
menos izquierda y luego
2225
01:29:52,400 --> 01:29:54,000
guión
2226
01:29:54,000 --> 01:29:55,840
medio como este
2227
01:29:55,840 --> 01:29:59,040
también cero superior para que aparezca en la parte superior w
2228
01:29:59,040 --> 01:30:01,120
guión cincuenta por ciento
2229
01:30:01,120 --> 01:30:04,320
h guión cincuenta por ciento así
2230
01:30:04,320 --> 01:30:07,440
y luego guión redondeado completo y también guión
2231
01:30:07,440 --> 01:30:10,000
bajo blanco guión bajo gradiente
2232
01:30:10,000 --> 01:30:12,480
ahora si guarde esto, ya podemos verlo
2233
01:30:12,480 --> 01:30:15,920
aparecer solo un poco, pero está allí
2234
01:30:15,920 --> 01:30:18,639
ahora, podemos copiar todo este div, pegarlo
2235
01:30:18,639 --> 01:30:21,360
debajo y cambiar solo un par de cosas,
2236
01:30:21,360 --> 01:30:24,480
podemos agregar un índice z de cero aquí,
2237
01:30:24,480 --> 01:30:26,639
podemos mantener esto a la izquierda
2238
01:30:26,639 --> 01:30:29,280
en lugar de arriba, agreguemos una parte inferior de
2239
01:30:29,280 --> 01:30:30,480
cero
2240
01:30:30,480 --> 01:30:33,040
w y la altura pueden permanecer
2241
01:30:33,040 --> 01:30:35,199
redondeadas, pero en lugar de un
2242
01:30:35,199 --> 01:30:38,480
degradado blanco, será un degradado rosa,
2243
01:30:38,480 --> 01:30:41,199
así que cambiemos este blanco a
2244
01:30:41,199 --> 01:30:42,080
rosa,
2245
01:30:42,080 --> 01:30:43,199
ahí vamos,
2246
01:30:43,199 --> 01:30:45,280
así que ahora se muestran muy bien
2247
01:30:45,280 --> 01:30:48,639
juntos y esto se ve genial ahora
2248
01:30:48,639 --> 01:30:51,600
vamos expanda para echar un vistazo
2249
01:30:51,600 --> 01:30:54,800
y, por supuesto, la imagen es demasiado grande,
2250
01:30:54,800 --> 01:30:57,679
por lo que vamos a resolver esto muy pronto,
2251
01:30:57,679 --> 01:31:00,320
colapsemos y agreguemos nuestro
2252
01:31:00,320 --> 01:31:02,480
texto real que aparecerá en el
2253
01:31:02,480 --> 01:31:04,719
lado derecho, será bastante fácil.
2254
01:31:04,719 --> 01:31:06,320
encabezados ya creados como
2255
01:31:06,320 --> 01:31:09,280
estos y elementos de contenido como este,
2256
01:31:09,280 --> 01:31:13,440
así que vamos a crear un nuevo div debajo de este,
2257
01:31:13,440 --> 01:31:15,840
ese div tendrá un nombre de clase
2258
01:31:15,840 --> 01:31:18,800
igual a la información de la sección de puntos de diseño
2259
01:31:18,800 --> 01:31:20,000
2260
01:31:20,000 --> 01:31:23,040
y vamos a tener un h2
2261
01:31:23,040 --> 01:31:26,159
que dirá h2 esto
2262
01:31:26,159 --> 01:31:28,960
controla fácilmente su facturación, puede copiarlo
2263
01:31:28,960 --> 01:31:30,880
y, por supuesto, tenemos que agregar esa
2264
01:31:30,880 --> 01:31:35,280
etiqueta de interrupción antes de facturar, así que digamos que el
2265
01:31:35,280 --> 01:31:36,639
2266
01:31:36,639 --> 01:31:39,199
nombre de la clase br es igual a
2267
01:31:39,199 --> 01:31:44,000
en un bloque pequeño que generalmente está oculto de esta manera
2268
01:31:44,000 --> 01:31:46,000
y, por supuesto, tenemos que darle un
2269
01:31:46,000 --> 01:31:48,560
nombre de clase para que sea capaz de verlo así que digamos que
2270
01:31:48,560 --> 01:31:50,560
classname
2271
01:31:50,560 --> 01:31:52,080
es igual a
2272
01:31:52,080 --> 01:31:54,960
styles.heading2
2273
01:31:54,960 --> 01:31:56,880
y ahí vamos aquí está
2274
01:31:56,880 --> 01:31:59,920
y debajo de eso podemos agregar una etiqueta p
2275
01:31:59,920 --> 01:32:02,480
que la etiqueta b va a mostrar este texto
2276
01:32:02,480 --> 01:32:03,679
allí mismo
2277
01:32:03,679 --> 01:32:05,360
y lo que podemos hacer
2278
01:32:05,360 --> 01:32:06,960
es regresar
2279
01:32:06,960 --> 01:32:09,040
podemos también asigne un nombre de clase para
2280
01:32:09,040 --> 01:32:12,080
que sea un nombre de clase fuera de los
2281
01:32:12,080 --> 01:32:13,440
2282
01:32:13,440 --> 01:32:16,320
estilos de cadena de plantilla que el párrafo
2283
01:32:16,320 --> 01:32:19,239
también tiene un guión máximo con un guión de
2284
01:32:19,239 --> 01:32:22,159
470 píxeles
2285
01:32:22,159 --> 01:32:25,120
y también el margen de los cinco primeros
2286
01:32:25,120 --> 01:32:26,560
y ahí vamos
2287
01:32:26,560 --> 01:32:28,880
ahora cuando use estos diseños como
2288
01:32:28,880 --> 01:32:31,360
mencioné antes en la estructura de la columna
2289
01:32:31,360 --> 01:32:33,760
cuando estamos en tabletas o dispositivos móviles,
2290
01:32:33,760 --> 01:32:36,239
como puede ver, el texto aún se muestra
2291
01:32:36,239 --> 01:32:38,480
en la parte superior de esta imagen exactamente como
2292
01:32:38,480 --> 01:32:40,880
queríamos y eso se debe a que usamos
2293
01:32:40,880 --> 01:32:42,480
la sección
2294
01:32:42,480 --> 01:32:43,600
inversa,
2295
01:32:43,600 --> 01:32:45,760
si entramos y la revisamos,
2296
01:32:45,760 --> 01:32:47,440
puede ver que tenemos esto flexionar la columna
2297
01:32:47,440 --> 01:32:51,120
inversa, por lo que lo que hace es
2298
01:32:51,120 --> 01:32:53,440
tenerla en una fila como esta mostrar esto en
2299
01:32:53,440 --> 01:32:54,960
el lado izquierdo mostrar esto en el
2300
01:32:54,960 --> 01:32:57,600
lado derecho pero en los dispositivos móviles cuando entramos
2301
01:32:57,600 --> 01:33:00,480
en una columna, puede ver aquí el
2302
01:33:00,480 --> 01:33:02,639
texto que se muestra en la parte superior y luego la imagen
2303
01:33:02,639 --> 01:33:04,960
que lo explica así es exactamente como
2304
01:33:04,960 --> 01:33:05,920
debería ser
2305
01:33:05,920 --> 01:33:06,800
genial,
2306
01:33:06,800 --> 01:33:09,040
así que ese es solo otro pequeño consejo sobre los
2307
01:33:09,040 --> 01:33:11,040
dispositivos móviles, a menudo
2308
01:33:11,040 --> 01:33:13,760
te encontrarás usando una columna invertida
2309
01:33:13,760 --> 01:33:14,639
genial
2310
01:33:14,639 --> 01:33:16,400
con eso dicho, solo nos faltan esos
2311
01:33:16,400 --> 01:33:19,040
dos botones, así que agreguémoslos de inmediato
2312
01:33:19,040 --> 01:33:21,920
Volviendo a nuestra facturación, podemos ir por
2313
01:33:21,920 --> 01:33:24,800
debajo de esta etiqueta b, pero aún dentro de
2314
01:33:24,800 --> 01:33:26,000
este div
2315
01:33:26,000 --> 01:33:28,080
podemos crear otro
2316
01:33:28,080 --> 01:33:30,800
div que va a tener un nombre de clase
2317
01:33:30,800 --> 01:33:32,400
igual a flex
2318
01:33:32,400 --> 01:33:34,159
flex dash row
2319
01:33:34,159 --> 01:33:37,120
flex dash wrap en dispositivos pequeños margin
2320
01:33:37,120 --> 01:33:40,880
top 10 generalmente margin top 6
2321
01:33:40,880 --> 01:33:44,719
y allí podemos renderizar una imagen por ahora,
2322
01:33:44,719 --> 01:33:45,920
por supuesto, puede hacer que se
2323
01:33:45,920 --> 01:33:48,159
pueda hacer clic en esa imagen, démosle una fuente igual
2324
01:33:48,159 --> 01:33:49,520
a apple
2325
01:33:49,520 --> 01:33:51,679
alt va a ser google underscore
2326
01:33:51,679 --> 01:33:52,639
play
2327
01:33:52,639 --> 01:33:56,719
y un nombre de clase puede ser algo así como w
2328
01:33:56,719 --> 01:33:59,840
dash 128
2329
01:33:59,840 --> 01:34:01,040
píxeles
2330
01:34:01,040 --> 01:34:03,440
y nuevamente esto es simplemente se está copiando
2331
01:34:03,440 --> 01:34:06,719
desde aquí si hace clic en inspeccionar,
2332
01:34:06,719 --> 01:34:08,560
debería poder ver el
2333
01:34:08,560 --> 01:34:10,960
ancho y la altura exactos,
2334
01:34:10,960 --> 01:34:12,880
ahora volviendo atrás, también podemos darle una
2335
01:34:12,880 --> 01:34:16,960
altura de 42 píxeles,
2336
01:34:17,040 --> 01:34:19,600
ahí vamos y también podemos darle un
2337
01:34:19,600 --> 01:34:21,440
guión de objeto que contenga el
2338
01:34:21,440 --> 01:34:24,800
margen derecho 5 y luego el puntero del cursor,
2339
01:34:24,800 --> 01:34:26,400
2340
01:34:26,400 --> 01:34:28,159
si guardamos esto,
2341
01:34:28,159 --> 01:34:30,239
puede ver nuestro botón aquí, este
2342
01:34:30,239 --> 01:34:32,159
es el botón de Apple, así que en lugar de Google
2343
01:34:32,159 --> 01:34:34,080
Play, digamos que
2344
01:34:34,080 --> 01:34:36,239
Apple Store es
2345
01:34:36,239 --> 01:34:38,639
genial y ahora podemos duplicar esta
2346
01:34:38,639 --> 01:34:39,840
imagen,
2347
01:34:39,840 --> 01:34:42,400
cambie esto a Google,
2348
01:34:42,400 --> 01:34:44,400
elimine este margen porque esto es
2349
01:34:44,400 --> 01:34:46,400
el segundo elemento y podemos mostrar el
2350
01:34:46,400 --> 01:34:49,280
google y con eso, créalo o no,
2351
01:34:49,280 --> 01:34:52,480
creamos nuestra sección de facturación y se
2352
01:34:52,480 --> 01:34:55,360
ve muy bien ahora, en realidad
2353
01:34:55,360 --> 01:34:57,679
parece un sitio web real, así que podemos
2354
01:34:57,679 --> 01:34:59,520
desplazarnos, tenemos la
2355
01:34:59,520 --> 01:35:01,760
sección de características y tenemos la facturación
2356
01:35:01,760 --> 01:35:03,920
Esta sección también es esencialmente una
2357
01:35:03,920 --> 01:35:06,000
sección de llamado a la acción donde las personas pueden
2358
01:35:06,000 --> 01:35:08,960
descargar su aplicación en Google Play o en la tienda de aplicaciones.
2359
01:35:08,960 --> 01:35:10,080
2360
01:35:10,080 --> 01:35:12,480
Esto se ve genial. La siguiente
2361
01:35:12,480 --> 01:35:14,960
sección en nuestra lista será
2362
01:35:14,960 --> 01:35:17,119
esta, que nuevamente, como puede ver, es
2363
01:35:17,119 --> 01:35:19,280
bastante similar a en el primero, tenemos
2364
01:35:19,280 --> 01:35:21,600
un texto a la izquierda, tenemos un botón
2365
01:35:21,600 --> 01:35:24,719
y tenemos estas tarjetas aquí, así que
2366
01:35:24,719 --> 01:35:27,280
comencemos con eso de inmediato
2367
01:35:27,280 --> 01:35:30,000
colapsando la vista de nuestro navegador
2368
01:35:30,000 --> 01:35:32,560
y luego volviendo a la aplicación y entrando
2369
01:35:32,560 --> 01:35:35,520
en el trato de la tarjeta para comenzar a codificar nuestra
2370
01:35:35,520 --> 01:35:38,719
sección de ofertas de tarjetas, que es esta de
2371
01:35:38,719 --> 01:35:41,119
aquí, podemos importar de nuevo algunas
2372
01:35:41,119 --> 01:35:44,639
cosas, podemos importar la tarjeta que proviene
2373
01:35:44,639 --> 01:35:47,280
de los activos de barra de puntos,
2374
01:35:47,280 --> 01:35:51,520
también podemos importar estos estilos
2375
01:35:51,520 --> 01:35:53,600
que serán una importación predeterminada,
2376
01:35:53,600 --> 01:35:56,480
así como el diseño que proviene del
2377
01:35:56,480 --> 01:35:58,880
estilo de barra de puntos y podemos importar el
2378
01:35:58,880 --> 01:36:02,480
componente de botón que proviene del botón de barra de punto
2379
01:36:02,480 --> 01:36:04,800
ahora que tenemos todo lo que necesitamos,
2380
01:36:04,800 --> 01:36:07,199
convirtamos esto en una declaración de retorno inmediata
2381
01:36:07,199 --> 01:36:08,560
2382
01:36:08,560 --> 01:36:11,679
y convirtamos este div en una sección
2383
01:36:11,679 --> 01:36:14,400
ahora esta sección tendrá un
2384
01:36:14,400 --> 01:36:18,639
nombre de clase igual a diseño. sección
2385
01:36:18,639 --> 01:36:21,360
es también tendrá un div que
2386
01:36:21,360 --> 01:36:24,800
tendrá un nombre de clase igual a la
2387
01:36:24,800 --> 01:36:28,000
información de la sección de puntos de diseño
2388
01:36:28,000 --> 01:36:31,199
y también tendrá un h2 allí
2389
01:36:31,199 --> 01:36:34,159
que h2 va a representar este fragmento de
2390
01:36:34,159 --> 01:36:36,239
texto que podemos copiar,
2391
01:36:36,239 --> 01:36:38,239
no olvide que tenemos que agregar esa
2392
01:36:38,239 --> 01:36:42,080
etiqueta de interrupción, por lo que será posterior al trato,
2393
01:36:42,080 --> 01:36:44,080
agreguemos una etiqueta de interrupción,
2394
01:36:44,080 --> 01:36:46,960
tendrá un nombre de clase igual al
2395
01:36:46,960 --> 01:36:49,119
del bloque de dispositivos pequeños
2396
01:36:49,119 --> 01:36:51,679
y, por lo general, se ocultará
2397
01:36:51,679 --> 01:36:53,360
así.
2398
01:36:53,360 --> 01:36:55,840
Ahora, lo que podemos hacer es representar la
2399
01:36:55,840 --> 01:36:58,159
etiqueta p debajo de
2400
01:36:58,159 --> 01:37:01,119
esa etiqueta p. va a representar este texto
2401
01:37:01,119 --> 01:37:04,320
y podemos darle algunos estilos al h2
2402
01:37:04,320 --> 01:37:06,560
que va a ser el nombre de la clase es igual
2403
01:37:06,560 --> 01:37:07,360
a los
2404
01:37:07,360 --> 01:37:10,639
estilos punto encabezado 2.
2405
01:37:10,639 --> 01:37:12,560
Si retrocedemos
2406
01:37:12,560 --> 01:37:14,800
ya podemos verlo y también podemos
2407
01:37:14,800 --> 01:37:18,239
darle algunos nombres de clase a nuestra etiqueta p
2408
01:37:18,239 --> 01:37:21,040
por lo que va a ser igual a una
2409
01:37:21,040 --> 01:37:25,280
cadena de plantilla dinámica de estilos de párrafo de puntos,
2410
01:37:25,280 --> 01:37:29,080
también podemos darle un guión máximo con un guión de
2411
01:37:29,080 --> 01:37:32,400
480 píxeles como lo hemos hecho hasta ahora
2412
01:37:32,400 --> 01:37:33,440
2413
01:37:33,440 --> 01:37:36,159
y también podemos darle un margen de los cinco primeros
2414
01:37:36,159 --> 01:37:37,040
2415
01:37:37,040 --> 01:37:38,320
ahí vamos
2416
01:37:38,320 --> 01:37:40,800
y ahora ya tenemos un
2417
01:37:40,800 --> 01:37:43,360
componente de botón creado, recuerde desde antes,
2418
01:37:43,360 --> 01:37:45,840
así que simplemente podemos llamarlo y proporcionar un
2419
01:37:45,840 --> 01:37:50,719
estilo que sea igual al margen superior 10.
2420
01:37:50,719 --> 01:37:52,880
pero en este caso parece enorme y
2421
01:37:52,880 --> 01:37:54,719
eso se debe a que debería haber estado justo
2422
01:37:54,719 --> 01:37:58,480
debajo de la etiqueta p todavía dentro de este div
2423
01:37:58,480 --> 01:38:00,880
ahora, si guardamos esto, se
2424
01:38:00,880 --> 01:38:02,480
ve mejor
2425
01:38:02,480 --> 01:38:04,400
ahora, me parece que este botón
2426
01:38:04,400 --> 01:38:06,960
aquí tiene solo un radio de borde leve
2427
01:38:06,960 --> 01:38:09,679
que simplemente podemos verificar
2428
01:38:09,679 --> 01:38:13,280
mirando la pestaña de inspección aquí
2429
01:38:13,280 --> 01:38:15,600
y tiene un radio de borde de 10
2430
01:38:15,600 --> 01:38:18,480
píxeles, por lo que si vamos a este botón,
2431
01:38:18,480 --> 01:38:20,960
podemos verificar si tenemos ese
2432
01:38:20,960 --> 01:38:23,760
radio de borde allí mismo, no, no está allí,
2433
01:38:23,760 --> 01:38:26,000
así que hagamos, puede hacer un
2434
01:38:26,000 --> 01:38:28,800
radio de borde o el viento de cola tiene una
2435
01:38:28,800 --> 01:38:31,199
propiedad redondeada incorporada, por lo que podemos decir
2436
01:38:31,199 --> 01:38:33,119
guión redondeado 10 píxeles
2437
01:38:33,119 --> 01:38:36,239
si ahora regresa y guárdalo ahí
2438
01:38:36,239 --> 01:38:38,159
vamos esto es más
2439
01:38:38,159 --> 01:38:40,800
perfecto y ahora tenemos que agregar esa
2440
01:38:40,800 --> 01:38:42,800
imagen en el lado derecho que
2441
01:38:42,800 --> 01:38:44,560
será para la tarjeta lo
2442
01:38:44,560 --> 01:38:47,040
que podemos hacer es volver a la oferta de la tarjeta
2443
01:38:47,040 --> 01:38:48,239
2444
01:38:48,239 --> 01:38:51,280
y podemos crear un nuevo div justo debajo de
2445
01:38:51,280 --> 01:38:52,880
este,
2446
01:38:52,880 --> 01:38:56,320
este div tendrá un nombre de clase que
2447
01:38:56,320 --> 01:38:57,760
es igual a la
2448
01:38:57,760 --> 01:39:01,199
sección de puntos de diseño img,
2449
01:39:01,199 --> 01:39:04,480
allí podemos representar una etiqueta img con una
2450
01:39:04,480 --> 01:39:06,880
fuente que es igual a card
2451
01:39:06,880 --> 01:39:10,159
y alt será algo así como
2452
01:39:10,159 --> 01:39:11,280
card
2453
01:39:11,280 --> 01:39:13,679
y el nombre de clase es va a ser algo
2454
01:39:13,679 --> 01:39:16,560
así como w dash 100
2455
01:39:16,560 --> 01:39:17,679
por ciento,
2456
01:39:17,679 --> 01:39:20,800
así como h dash 100.
2457
01:39:20,800 --> 01:39:22,320
Creo que ahora puedes comenzar a notar el
2458
01:39:22,320 --> 01:39:25,199
patrón. Si regresamos, tenemos nuestra
2459
01:39:25,199 --> 01:39:27,920
hermosa imagen allí y si
2460
01:39:27,920 --> 01:39:30,320
queremos ver esto en todo su esplendor,
2461
01:39:30,320 --> 01:39:32,000
ampliémoslo.
2462
01:39:32,000 --> 01:39:35,600
es un sitio web hermoso, en este caso
2463
01:39:35,600 --> 01:39:37,440
no necesitamos tener un degradado porque
2464
01:39:37,440 --> 01:39:40,320
tenemos esta imagen circular detrás de nuestros
2465
01:39:40,320 --> 01:39:42,800
elementos, lo que los hace resaltar solo para
2466
01:39:42,800 --> 01:39:44,639
brindar algo de diversidad,
2467
01:39:44,639 --> 01:39:48,159
pero se ve fenomenal, si puedo
2468
01:39:48,159 --> 01:39:49,600
decirlo yo mismo,
2469
01:39:49,600 --> 01:39:51,440
ahora estamos vamos a pasar a la siguiente
2470
01:39:51,440 --> 01:39:53,679
sección que va a ser un poco
2471
01:39:53,679 --> 01:39:54,400
diferente,
2472
01:39:54,400 --> 01:39:56,960
va a ser una sección de testimonios,
2473
01:39:56,960 --> 01:39:58,480
así que en este caso vamos a tener un
2474
01:39:58,480 --> 01:40:01,360
encabezado aquí elemento de contenido aquí y
2475
01:40:01,360 --> 01:40:03,840
luego algunas tarjetas como pueden ver vamos
2476
01:40:03,840 --> 01:40:06,159
para reutilizar algunas cosas similares a las que
2477
01:40:06,159 --> 01:40:09,440
tenemos con estas tarjetas allí mismo, así que en
2478
01:40:09,440 --> 01:40:11,679
reaccionar siempre intente reutilizar diferentes
2479
01:40:11,679 --> 01:40:12,800
elementos
2480
01:40:12,800 --> 01:40:14,400
y observe que no hay muchos
2481
01:40:14,400 --> 01:40:17,199
colores, fuentes y
2482
01:40:17,199 --> 01:40:20,560
tamaños de texto diferentes, siempre son los mismos encabezados, los
2483
01:40:20,560 --> 01:40:23,600
mismos elementos de contenido y luego
2484
01:40:23,600 --> 01:40:26,320
colores similares para los botones y otros acentos,
2485
01:40:26,320 --> 01:40:28,000
siempre debe ser coherente con
2486
01:40:28,000 --> 01:40:31,440
su diseño, así que dicho esto, regresemos,
2487
01:40:31,440 --> 01:40:33,440
2488
01:40:33,440 --> 01:40:36,480
cerremos nuestro trato de tarjetas y abramos
2489
01:40:36,480 --> 01:40:39,040
nuestra sección de testimonios porque ese
2490
01:40:39,040 --> 01:40:42,000
será nuestro próximo trabajo para comenzar a
2491
01:40:42,000 --> 01:40:44,080
implementar los testimonios que Por
2492
01:40:44,080 --> 01:40:47,280
supuesto, podemos comenzar con algunas importaciones. Podemos
2493
01:40:47,280 --> 01:40:50,639
importar los comentarios que provienen de las
2494
01:40:50,639 --> 01:40:52,880
constantes de barra oblicua.
2495
01:40:52,880 --> 01:40:55,679
También podemos importar los estilos que provienen
2496
01:40:55,679 --> 01:40:58,320
de los estilos de barra y punto.
2497
01:40:58,320 --> 01:41:01,520
También podemos importar un
2498
01:41:01,520 --> 01:41:04,800
componente de tarjeta de comentarios que proviene de
2499
01:41:04,800 --> 01:41:07,040
esa tarjeta de comentarios. un
2500
01:41:07,040 --> 01:41:09,679
componente que aún tenemos que crear
2501
01:41:09,679 --> 01:41:11,840
y nuevamente escribí mal los estilos que
2502
01:41:11,840 --> 01:41:14,639
provendrán del estilo punto barra
2503
01:41:14,639 --> 01:41:15,760
aquí
2504
01:41:15,760 --> 01:41:18,480
ahora antes de comenzar a crear el diseño,
2505
01:41:18,480 --> 01:41:21,280
veamos cuál es esta retroalimentación
2506
01:41:21,280 --> 01:41:24,080
nuevamente, es una matriz simple con un par
2507
01:41:24,080 --> 01:41:27,280
de objetos en este caso solo tres que
2508
01:41:27,280 --> 01:41:31,119
tienen título de nombre y luego la imagen que
2509
01:41:31,119 --> 01:41:34,239
es, así que usémoslo aquí mismo en nuestro
2510
01:41:34,239 --> 01:41:35,679
jsx
2511
01:41:35,679 --> 01:41:38,320
podemos convertir esto en un retorno instantáneo
2512
01:41:38,320 --> 01:41:40,480
de esa manera tenemos un nivel menos de
2513
01:41:40,480 --> 01:41:43,119
sangría para que sea más fácil mirarlo
2514
01:41:43,119 --> 01:41:47,840
y nosotros podemos convertir esto en una sección,
2515
01:41:49,199 --> 01:41:51,920
podemos darle a esa sección una identificación igual a
2516
01:41:51,920 --> 01:41:53,040
clientes
2517
01:41:53,040 --> 01:41:56,480
y podemos darle un nombre de clase igual a
2518
01:41:56,480 --> 01:41:59,040
estilos. relleno
2519
01:41:59,040 --> 01:42:03,360
y estilos dot flex center
2520
01:42:03,360 --> 01:42:07,199
flex dash call y relativo
2521
01:42:07,199 --> 01:42:09,440
ahora dentro de allí queremos tener un
2522
01:42:09,440 --> 01:42:12,159
div que va a ser un degradado,
2523
01:42:12,159 --> 01:42:14,560
pero por ahora podemos dejarlo vacío, ya que
2524
01:42:14,560 --> 01:42:16,719
podremos agregar ese degradado más adelante,
2525
01:42:16,719 --> 01:42:17,920
2526
01:42:17,920 --> 01:42:20,080
ahora, yendo más allá,
2527
01:42:20,080 --> 01:42:22,880
podemos agregar un comentario y decir
2528
01:42:22,880 --> 01:42:26,400
hacer por esto aquí
2529
01:42:26,400 --> 01:42:28,960
debajo de este div que es un degradado, podemos
2530
01:42:28,960 --> 01:42:31,199
representar otro div,
2531
01:42:31,199 --> 01:42:34,800
este div se usará para contener
2532
01:42:34,800 --> 01:42:38,320
este título en este contexto aquí mismo,
2533
01:42:38,320 --> 01:42:41,040
así que lo que podemos hacer es darle un
2534
01:42:41,040 --> 01:42:42,719
nombre de clase
2535
01:42:42,719 --> 01:42:44,239
igual a
2536
01:42:44,239 --> 01:42:46,560
w dash full
2537
01:42:46,560 --> 01:42:47,520
flex
2538
01:42:47,520 --> 01:42:49,600
justify between
2539
01:42:49,600 --> 01:42:51,760
items dash center
2540
01:42:51,760 --> 01:42:55,440
on medium dispositivos fila de guiones flexibles
2541
01:42:55,440 --> 01:42:57,840
generalmente columna de guiones flexibles
2542
01:42:57,840 --> 01:43:01,679
en dispositivos pequeños margen inferior 16
2543
01:43:01,679 --> 01:43:05,440
generalmente margen inferior seis relativo
2544
01:43:05,440 --> 01:43:08,719
e índice z de uno de esa manera va sobre
2545
01:43:08,719 --> 01:43:11,119
el gradiente ahora agreguemos algo
2546
01:43:11,119 --> 01:43:13,440
allí tendremos que tomar este título así que
2547
01:43:13,440 --> 01:43:17,040
agreguemos un h1 podemos pegar el texto,
2548
01:43:17,040 --> 01:43:19,600
podemos agregar una etiqueta de interrupción nuevamente
2549
01:43:19,600 --> 01:43:22,320
después de la palabra r para que podamos
2550
01:43:22,320 --> 01:43:26,080
agregar aquí una etiqueta de interrupción con un nombre de clase igual
2551
01:43:26,080 --> 01:43:27,119
a
2552
01:43:27,119 --> 01:43:29,360
en dispositivos pequeños que se bloquearán, por
2553
01:43:29,360 --> 01:43:30,960
2554
01:43:30,960 --> 01:43:33,600
lo general, se ocultarán y
2555
01:43:33,600 --> 01:43:37,119
también podemos aplicar un nombre de clase para este h1
2556
01:43:37,119 --> 01:43:39,360
que será el nombre de la clase es igual
2557
01:43:39,360 --> 01:43:41,440
a los estilos punto
2558
01:43:41,440 --> 01:43:44,000
encabezado 2.
2559
01:43:44,000 --> 01:43:46,480
perfecto ahora si volvemos ya podemos
2560
01:43:46,480 --> 01:43:47,520
ver eso
2561
01:43:47,520 --> 01:43:50,840
y debajo de ese h1 podemos crear un
2562
01:43:50,840 --> 01:43:54,000
div que div tendrá un
2563
01:43:54,000 --> 01:43:57,199
nombre de clase igual a w dash full en
2564
01:43:57,199 --> 01:44:00,480
dispositivos medianos margen superior 0 y generalmente margen
2565
01:44:00,480 --> 01:44:01,760
superior 6.
2566
01:44:01,760 --> 01:44:04,960
dentro de allí podemos representar nuestra etiqueta p
2567
01:44:04,960 --> 01:44:08,239
esa etiqueta p dirá este texto
2568
01:44:08,239 --> 01:44:10,960
aquí mismo que podemos copiar
2569
01:44:10,960 --> 01:44:12,639
y pegar
2570
01:44:12,639 --> 01:44:15,040
y ahora podemos darle algo de clase nombres por
2571
01:44:15,040 --> 01:44:16,639
lo que el nombre de la clase
2572
01:44:16,639 --> 01:44:18,320
es igual a
2573
01:44:18,320 --> 01:44:20,560
eso va a ser una cadena dinámica de
2574
01:44:20,560 --> 01:44:22,800
estilos punto párrafo
2575
01:44:22,800 --> 01:44:25,040
texto guión izquierdo
2576
01:44:25,040 --> 01:44:27,719
máximo guión w guión
2577
01:44:27,719 --> 01:44:30,719
450 píxeles
2578
01:44:30,719 --> 01:44:33,679
y ahí vamos, podemos verlo aquí
2579
01:44:33,679 --> 01:44:36,800
ahora, por supuesto, a continuación que queremos
2580
01:44:36,800 --> 01:44:40,400
mapear sobre todos nuestros tarjetas de comentarios, así que
2581
01:44:40,400 --> 01:44:42,800
vamos a crear esta tarjeta a continuación, podemos hacer
2582
01:44:42,800 --> 01:44:45,600
eso debajo de este div y también debajo de este
2583
01:44:45,600 --> 01:44:46,480
div,
2584
01:44:46,480 --> 01:44:48,239
así que vamos a crear un div que va a
2585
01:44:48,239 --> 01:44:50,800
contener todas las tarjetas, va a tener
2586
01:44:50,800 --> 01:44:53,840
un nombre de clase igual al
2587
01:44:53,840 --> 01:44:57,440
que va a ser flex flex dash wrap
2588
01:44:57,440 --> 01:45:00,480
on los dispositivos pequeños justifican el inicio del tablero,
2589
01:45:00,480 --> 01:45:03,199
por lo general, justifican el centro del tablero, el
2590
01:45:03,199 --> 01:45:05,119
tablero contiene
2591
01:45:05,119 --> 01:45:07,760
comentarios completos, el contenedor del tablero es
2592
01:45:07,760 --> 01:45:09,440
relativo
2593
01:45:09,440 --> 01:45:12,400
y también el índice z de uno
2594
01:45:12,400 --> 01:45:13,920
allí vamos
2595
01:45:13,920 --> 01:45:16,639
ahora dentro de allí, podemos
2596
01:45:16,639 --> 01:45:18,560
mapear nuestras tarjetas para que podamos decir
2597
01:45:18,560 --> 01:45:20,719
feedback.map
2598
01:45:20,719 --> 01:45:24,000
obtenemos cada elemento de retroalimentación individual o
2599
01:45:24,000 --> 01:45:26,560
en este caso, podemos llamarlo una tarjeta
2600
01:45:26,560 --> 01:45:28,320
ahora queremos devolver
2601
01:45:28,320 --> 01:45:30,719
algo instantáneamente y vamos a devolver ese
2602
01:45:30,719 --> 01:45:33,520
componente de la tarjeta de comentarios, es un
2603
01:45:33,520 --> 01:45:35,840
componente de cierre automático que
2604
01:45:35,840 --> 01:45:39,360
tendrá una clave igual a card.id
2605
01:45:39,360 --> 01:45:42,320
y allí podemos difundir las propiedades
2606
01:45:42,320 --> 01:45:43,679
de una tarjeta
2607
01:45:43,679 --> 01:45:45,840
y ya sabemos cuáles son, así que si
2608
01:45:45,840 --> 01:45:48,080
revisamos los comentarios que serán el
2609
01:45:48,080 --> 01:45:51,760
título del nombre del contenido y luego la imagen,
2610
01:45:51,760 --> 01:45:54,719
ahora podemos controlar el clic para ingresar a
2611
01:45:54,719 --> 01:45:56,159
esa tarjeta
2612
01:45:56,159 --> 01:45:58,480
y podemos aceptar inmediatamente esos
2613
01:45:58,480 --> 01:46:01,040
accesorios aquí mismo podemos obtener el
2614
01:46:01,040 --> 01:46:02,080
contenido,
2615
01:46:02,080 --> 01:46:03,119
el nombre, el
2616
01:46:03,119 --> 01:46:05,679
título y la imagen,
2617
01:46:05,679 --> 01:46:08,239
podemos devolver instantáneamente algo
2618
01:46:08,239 --> 01:46:10,080
allí vamos
2619
01:46:10,080 --> 01:46:12,800
y ahora vamos a crear la apariencia
2620
01:46:12,800 --> 01:46:14,239
de esa tarjeta
2621
01:46:14,239 --> 01:46:16,239
que será un div que
2622
01:46:16,239 --> 01:46:18,159
tendrá un nombre de clase
2623
01:46:18,159 --> 01:46:19,920
igual a Flex
2624
01:46:19,920 --> 01:46:22,159
Justify guión entre el
2625
01:46:22,159 --> 01:46:23,920
2626
01:46:23,920 --> 01:46:28,000
relleno de la columna del guión flexible x es 10 el relleno y es 12
2627
01:46:28,000 --> 01:46:30,080
2628
01:46:30,080 --> 01:46:34,880
guión redondeado 20 píxeles ancho máximo del guión de 370
2629
01:46:34,880 --> 01:46:36,320
píxeles
2630
01:46:36,320 --> 01:46:39,119
en dispositivos medianos escritura de margen 10 en
2631
01:46:39,119 --> 01:46:42,000
dispositivos pequeños escritura de margen 5
2632
01:46:42,000 --> 01:46:44,480
generalmente escritura de margen 0
2633
01:46:44,480 --> 01:46:45,760
margen y
2634
01:46:45,760 --> 01:46:46,960
5
2635
01:46:46,960 --> 01:46:48,880
y luego tarjeta de comentarios
2636
01:46:48,880 --> 01:46:49,920
2637
01:46:49,920 --> 01:46:51,840
y sé que hay mucho de estilos, pero
2638
01:46:51,840 --> 01:46:54,320
si va al diseño y hace clic en
2639
01:46:54,320 --> 01:46:56,080
esta tarjeta, puede ver que vamos a
2640
01:46:56,080 --> 01:46:58,159
obtener la mayoría de esas propiedades
2641
01:46:58,159 --> 01:47:00,800
aquí, como los colores del radio del borde, etc.
2642
01:47:00,800 --> 01:47:04,000
2643
01:47:04,000 --> 01:47:06,320
Primero que
2644
01:47:06,320 --> 01:47:08,880
todo, debemos agregar la imagen,
2645
01:47:08,880 --> 01:47:11,520
esa imagen tendrá una fuente y
2646
01:47:11,520 --> 01:47:13,679
tenemos que importar esa fuente para que podamos
2647
01:47:13,679 --> 01:47:15,280
decir importar
2648
01:47:15,280 --> 01:47:16,719
comillas
2649
01:47:16,719 --> 01:47:18,080
de los
2650
01:47:18,080 --> 01:47:19,440
2651
01:47:19,440 --> 01:47:20,480
activos de barra de puntos
2652
01:47:20,480 --> 01:47:24,480
y ahora podemos representar la imagen de comillas,
2653
01:47:24,480 --> 01:47:27,040
ahí vamos, tenemos tres comillas.
2654
01:47:27,040 --> 01:47:29,360
también podemos darle una etiqueta alt igual a
2655
01:47:29,360 --> 01:47:31,280
comillas dobles de subrayado
2656
01:47:31,280 --> 01:47:33,520
y podemos darle un nombre de clase
2657
01:47:33,520 --> 01:47:38,560
igual a w guión 42 píxeles
2658
01:47:38,560 --> 01:47:40,960
h guión que será algo así como
2659
01:47:40,960 --> 01:47:42,719
27 píxeles
2660
01:47:42,719 --> 01:47:45,040
y objeto
2661
01:47:45,040 --> 01:47:47,520
guión contiene de nuevo todo eso viene
2662
01:47:47,520 --> 01:47:48,960
de figma
2663
01:47:48,960 --> 01:47:52,159
ahora debajo de eso, queremos representar una etiqueta p
2664
01:47:52,159 --> 01:47:54,320
que representará el contenido que
2665
01:47:54,320 --> 01:47:56,159
estamos pasando a través de accesorios
2666
01:47:56,159 --> 01:47:58,320
en este momento, es difícil verlo, así que
2667
01:47:58,320 --> 01:48:00,400
agreguemos un nombre de clase
2668
01:48:00,400 --> 01:48:03,760
igual a font-poppins,
2669
01:48:03,760 --> 01:48:05,840
guión de fuente,
2670
01:48:05,840 --> 01:48:08,400
guión de texto normal, 18 píxeles,
2671
01:48:08,400 --> 01:48:11,679
guión inicial de 32 píxeles.
2672
01:48:11,679 --> 01:48:13,440
guión de texto blanco
2673
01:48:13,440 --> 01:48:16,000
y margen y de 10
2674
01:48:16,000 --> 01:48:18,960
y ahí vamos, tenemos esas tres
2675
01:48:18,960 --> 01:48:21,360
hermosas tarjetas allí mismo,
2676
01:48:21,360 --> 01:48:24,560
ahora también tenemos que agregar algo más
2677
01:48:24,560 --> 01:48:26,560
y esa será esta imagen,
2678
01:48:26,560 --> 01:48:29,199
así como el nombre y el título de esa
2679
01:48:29,199 --> 01:48:33,600
persona debajo de nuestro p podemos agregar un
2680
01:48:33,600 --> 01:48:34,400
div
2681
01:48:34,400 --> 01:48:36,080
para ese contenedor,
2682
01:48:36,080 --> 01:48:38,400
ese div tendrá un nombre de clase
2683
01:48:38,400 --> 01:48:41,440
igual a flex y flex dash row porque
2684
01:48:41,440 --> 01:48:43,040
la imagen y el texto
2685
01:48:43,040 --> 01:48:44,639
aparecerán en una fila,
2686
01:48:44,639 --> 01:48:47,119
primero queremos representar la imagen para poder
2687
01:48:47,119 --> 01:48:49,040
decir img
2688
01:48:49,040 --> 01:48:49,920
fuente
2689
01:48:49,920 --> 01:48:52,239
img proveniente de accesorios
2690
01:48:52,239 --> 01:48:54,639
alt será el nombre de esa
2691
01:48:54,639 --> 01:48:57,119
persona y luego el nombre de la clase
2692
01:48:57,119 --> 01:48:58,360
puede ser
2693
01:48:58,360 --> 01:49:00,639
w-48 píxeles
2694
01:49:00,639 --> 01:49:03,440
h guión 48 píxeles
2695
01:49:03,440 --> 01:49:06,320
y guión redondeado completo para convertirlo en un
2696
01:49:06,320 --> 01:49:09,119
círculo ahora, si volvemos, tenemos esos
2697
01:49:09,119 --> 01:49:11,360
hermosos imágenes allí
2698
01:49:11,360 --> 01:49:14,159
ahora, vamos a crear un div para contener el
2699
01:49:14,159 --> 01:49:15,920
nombre y el título
2700
01:49:15,920 --> 01:49:18,480
justo debajo de la imagen, ese div
2701
01:49:18,480 --> 01:49:22,320
tendrá un nombre de clase
2702
01:49:22,400 --> 01:49:23,760
igual a
2703
01:49:23,760 --> 01:49:24,719
flex
2704
01:49:24,719 --> 01:49:26,400
flex dash column
2705
01:49:26,400 --> 01:49:29,599
y margin left 4. la columna es para que
2706
01:49:29,599 --> 01:49:31,840
estos elementos de texto aparezcan uno debajo
2707
01:49:31,840 --> 01:49:34,159
otro y el margen izquierdo es para dividirlo
2708
01:49:34,159 --> 01:49:35,760
de esta imagen
2709
01:49:35,760 --> 01:49:38,239
ahora podemos tener un h4 allí
2710
01:49:38,239 --> 01:49:40,880
y h4 va a mostrar el nombre
2711
01:49:40,880 --> 01:49:44,080
y justo debajo podemos mostrar el título
2712
01:49:44,080 --> 01:49:46,960
pero esto estará en una etiqueta p
2713
01:49:46,960 --> 01:49:48,800
cuando se trata de la clase nombres, podemos
2714
01:49:48,800 --> 01:49:51,599
copiar los nombres de las clases de la etiqueta p inicial,
2715
01:49:51,599 --> 01:49:54,880
pegarlos en el h4
2716
01:49:54,880 --> 01:49:57,040
y será una fuente poppins,
2717
01:49:57,040 --> 01:49:59,840
será semi-negrita esta vez, el
2718
01:49:59,840 --> 01:50:03,280
texto será de 20 píxeles de
2719
01:50:03,280 --> 01:50:05,760
ancho, será de 32 guiones de
2720
01:50:05,760 --> 01:50:08,239
texto blancos y no necesitamos el
2721
01:50:08,239 --> 01:50:09,599
margen y,
2722
01:50:09,599 --> 01:50:11,760
si volvemos atrás, puede ver que se
2723
01:50:11,760 --> 01:50:13,920
ve bien ahora, solo tenemos que copiar
2724
01:50:13,920 --> 01:50:16,320
los mismos nombres de clase en la etiqueta p,
2725
01:50:16,320 --> 01:50:19,199
será fuente poppins, fuente, el texto normal
2726
01:50:19,199 --> 01:50:21,840
será 16 aunque el encabezado va
2727
01:50:21,840 --> 01:50:23,599
para ser 24, el
2728
01:50:23,599 --> 01:50:27,119
texto será blanco tenue y eso
2729
01:50:27,119 --> 01:50:29,280
será todo, no necesitamos el
2730
01:50:29,280 --> 01:50:30,239
margen
2731
01:50:30,239 --> 01:50:31,599
y ahí vamos
2732
01:50:31,599 --> 01:50:34,400
ahora, si regresamos de la tarjeta de comentarios, lo
2733
01:50:34,400 --> 01:50:36,639
estamos mapeando correctamente
2734
01:50:36,639 --> 01:50:38,560
y finalmente solo estamos falta este
2735
01:50:38,560 --> 01:50:41,199
gradiente dentro de nuestros testimonios, así que
2736
01:50:41,199 --> 01:50:43,679
antes de que lo veamos en todo su esplendor,
2737
01:50:43,679 --> 01:50:46,320
implementemos ese gradiente que
2738
01:50:46,320 --> 01:50:49,119
será el nombre de la clase igual a
2739
01:50:49,119 --> 01:50:51,679
absoluto para que podamos colocarlo correctamente
2740
01:50:51,679 --> 01:50:54,320
índice z de cero para que aparezca detrás del
2741
01:50:54,320 --> 01:50:58,639
contenido w guión sesenta por ciento para el ancho
2742
01:50:58,639 --> 01:51:02,239
h guión sesenta por ciento para la altura
2743
01:51:02,239 --> 01:51:06,159
menos el guión derecho cincuenta por ciento
2744
01:51:06,159 --> 01:51:08,639
y luego el guión redondeado completo para convertirlo en un
2745
01:51:08,639 --> 01:51:10,719
círculo y luego un guión bajo azul guión
2746
01:51:10,719 --> 01:51:11,760
bajo
2747
01:51:11,760 --> 01:51:13,440
degradado
2748
01:51:13,440 --> 01:51:15,119
y ahí vamos puedes ver ese círculo
2749
01:51:15,119 --> 01:51:17,360
aquí mismo en el lado derecho ahora si
2750
01:51:17,360 --> 01:51:19,440
expandimos esto
2751
01:51:19,440 --> 01:51:21,199
puede ver cómo se envuelve, así que ahora podemos
2752
01:51:21,199 --> 01:51:23,520
ver dos aquí y luego uno allá
2753
01:51:23,520 --> 01:51:24,639
y
2754
01:51:24,639 --> 01:51:26,400
podemos expandirlo
2755
01:51:26,400 --> 01:51:30,000
y tenemos exactamente lo que queríamos
2756
01:51:30,000 --> 01:51:32,080
lograr, mire esto,
2757
01:51:32,080 --> 01:51:34,400
compárelo con esto y podemos
2758
01:51:34,400 --> 01:51:35,280
pasar el mouse
2759
01:51:35,280 --> 01:51:38,320
para resaltar uno de los testimonios
2760
01:51:38,320 --> 01:51:41,599
este se ve muy bien, también observe cómo
2761
01:51:41,599 --> 01:51:43,520
estos gradientes transicionan muy bien desde
2762
01:51:43,520 --> 01:51:44,560
la parte superior,
2763
01:51:44,560 --> 01:51:46,400
luego se mueven aquí, puede verlos
2764
01:51:46,400 --> 01:51:48,159
en el lado izquierdo y siguen
2765
01:51:48,159 --> 01:51:50,480
moviéndose ahora hacia el lado derecho,
2766
01:51:50,480 --> 01:51:52,880
todo se ve perfecto,
2767
01:51:52,880 --> 01:51:54,880
ahora la siguiente sección de nuestra lista va
2768
01:51:54,880 --> 01:51:57,040
a sean estas empresas aquí mismo
2769
01:51:57,040 --> 01:52:00,080
airbnb binance coinbase y dropbox
2770
01:52:00,080 --> 01:52:01,760
estas son las empresas
2771
01:52:01,760 --> 01:52:03,599
con las que ha trabajado esta empresa,
2772
01:52:03,599 --> 01:52:07,199
así que colapsemos esto, desplacémonos hacia abajo y
2773
01:52:07,199 --> 01:52:09,280
cerremos nuestros testimonios y
2774
01:52:09,280 --> 01:52:11,440
pasemos a nuestros clientes,
2775
01:52:11,440 --> 01:52:13,760
estos clientes serán increíblemente
2776
01:52:13,760 --> 01:52:15,840
simples, simplemente tenemos que mapa sobre las
2777
01:52:15,840 --> 01:52:18,480
imágenes, así que hagámoslo de inmediato,
2778
01:52:18,480 --> 01:52:20,000
podemos importar
2779
01:52:20,000 --> 01:52:21,280
los clientes que
2780
01:52:21,280 --> 01:52:24,159
provienen de las constantes de barra de puntos
2781
01:52:24,159 --> 01:52:26,639
y también podemos importar estos estilos que
2782
01:52:26,639 --> 01:52:30,320
provienen del estilo de barra de puntos, esta
2783
01:52:30,320 --> 01:52:33,280
será una sección propia
2784
01:52:33,280 --> 01:52:36,800
y también podemos devolverla instantáneamente.
2785
01:52:36,800 --> 01:52:38,639
aquí
2786
01:52:38,639 --> 01:52:39,599
ahora
2787
01:52:39,599 --> 01:52:41,679
esta sección va a tener un nombre de clase,
2788
01:52:41,679 --> 01:52:42,560
2789
01:52:42,560 --> 01:52:45,360
va a ser dinámico de estilos dot
2790
01:52:45,360 --> 01:52:46,400
flex
2791
01:52:46,400 --> 01:52:50,080
center y también margin y 4 para dividirlo
2792
01:52:50,080 --> 01:52:52,320
de la parte superior y la parte inferior también,
2793
01:52:52,320 --> 01:52:53,119
2794
01:52:53,119 --> 01:52:56,320
entonces queremos tener un div este div va
2795
01:52:56,320 --> 01:52:59,760
a tener un nombre de clase igual a
2796
01:52:59,760 --> 01:53:01,920
eso va a ser estilos
2797
01:53:01,920 --> 01:53:04,639
dot flex center también
2798
01:53:04,639 --> 01:53:09,199
y flex dash wrap y w-4
2799
01:53:09,199 --> 01:53:11,679
dentro de allí queremos mapear sobre nuestros
2800
01:53:11,679 --> 01:53:12,800
clientes
2801
01:53:12,800 --> 01:53:15,040
y solo para mostrarle qué clientes son
2802
01:53:15,040 --> 01:53:17,199
solo será una lista de cuatro
2803
01:53:17,199 --> 01:53:19,040
logotipos diferentes para que podamos decir
2804
01:53:19,040 --> 01:53:21,360
clients.map,
2805
01:53:21,360 --> 01:53:24,000
obtenemos un cliente individual
2806
01:53:24,000 --> 01:53:27,360
e instantáneamente queremos devolver un div
2807
01:53:27,360 --> 01:53:29,800
que div tendrá una clave igual a
2808
01:53:29,800 --> 01:53:31,520
client.id,
2809
01:53:31,520 --> 01:53:34,320
arreglemos eso
2810
01:53:34,400 --> 01:53:36,960
y dentro de allí queremos renderizar una
2811
01:53:36,960 --> 01:53:38,080
imagen
2812
01:53:38,080 --> 01:53:40,239
así una imagen tendrá una fuente
2813
01:53:40,239 --> 01:53:42,719
igual a client.logo,
2814
01:53:42,719 --> 01:53:44,560
tendrá una etiqueta alt igual a
2815
01:53:44,560 --> 01:53:46,000
client
2816
01:53:46,000 --> 01:53:48,000
y tendrá un nombre de clase
2817
01:53:48,000 --> 01:53:49,199
igual a
2818
01:53:49,199 --> 01:53:50,960
en dispositivos pequeños,
2819
01:53:50,960 --> 01:53:55,840
el ancho es de 192 píxeles, por lo general, el ancho es de
2820
01:53:55,840 --> 01:53:57,679
100 píxeles
2821
01:53:57,679 --> 01:54:01,599
y va a ser objeto contiene
2822
01:54:01,599 --> 01:54:04,320
ahora si guardamos esto y nos desplazamos hacia abajo,
2823
01:54:04,320 --> 01:54:06,800
puede ver todas las imágenes aquí,
2824
01:54:06,800 --> 01:54:08,880
pero están una encima de la otra,
2825
01:54:08,880 --> 01:54:10,800
así que agreguemos algunos nombres de clase a este
2826
01:54:10,800 --> 01:54:12,239
div también,
2827
01:54:12,239 --> 01:54:14,400
ese será el nombre de clase
2828
01:54:14,400 --> 01:54:18,560
dinámico de flex-1, ahí vamos,
2829
01:54:18,560 --> 01:54:21,360
también podemos darle un centro de estilos dot flex,
2830
01:54:21,360 --> 01:54:23,440
2831
01:54:23,440 --> 01:54:26,639
démoslo en dispositivos pequeños, min dash
2832
01:54:26,639 --> 01:54:28,199
w dash
2833
01:54:28,199 --> 01:54:30,480
192 píxeles
2834
01:54:30,480 --> 01:54:34,040
y, por lo general, min dash w dash
2835
01:54:34,040 --> 01:54:36,400
120 píxeles,
2836
01:54:36,400 --> 01:54:38,960
ahí vamos, así que ahora muestran muy bien que se
2837
01:54:38,960 --> 01:54:41,920
envuelven y si los expandimos esto se
2838
01:54:41,920 --> 01:54:45,199
ve hermoso
2839
01:54:45,199 --> 01:54:47,440
nuevamente, una tarea adicional para ti si quieres
2840
01:54:47,440 --> 01:54:49,119
jugar un poco con él,
2841
01:54:49,119 --> 01:54:51,840
haz que el color del logotipo
2842
01:54:51,840 --> 01:54:54,560
brille o se vuelva blanco puro
2843
01:54:54,560 --> 01:54:56,880
una vez que pases el mouse sobre él, sería una
2844
01:54:56,880 --> 01:54:58,960
pequeña tarea para usted jugará con él,
2845
01:54:58,960 --> 01:55:02,639
así que ahora hemos terminado con la
2846
01:55:02,639 --> 01:55:05,199
sección de clientes y estamos listos para pasar a las
2847
01:55:05,199 --> 01:55:08,080
etapas finales de nuestro sitio web. Tenemos un
2848
01:55:08,080 --> 01:55:10,719
último llamado a la acción si las personas no han
2849
01:55:10,719 --> 01:55:13,280
hecho clic en comenzar ahora un par de
2850
01:55:13,280 --> 01:55:15,920
veces. una vez que hayamos
2851
01:55:15,920 --> 01:55:18,320
terminado con la página, implementemos
2852
01:55:18,320 --> 01:55:20,239
esta parte y luego nos moveremos
2853
01:55:20,239 --> 01:55:22,480
al pie de página para hacer eso, podemos
2854
01:55:22,480 --> 01:55:24,800
colapsar este navegador aquí y
2855
01:55:24,800 --> 01:55:27,360
podemos cerrar nuestros clientes y abrir nuestro
2856
01:55:27,360 --> 01:55:29,040
cta,
2857
01:55:29,040 --> 01:55:30,960
comencemos con nuestro sección de llamada a la acción
2858
01:55:30,960 --> 01:55:34,000
importando primero los estilos que
2859
01:55:34,000 --> 01:55:35,520
provienen del
2860
01:55:35,520 --> 01:55:37,920
estilo de barra diagonal
2861
01:55:37,920 --> 01:55:41,119
y también podemos importar el botón que
2862
01:55:41,119 --> 01:55:44,159
proviene de ese será el
2863
01:55:44,159 --> 01:55:46,480
botón de barra diagonal que es el mismo botón que hemos
2864
01:55:46,480 --> 01:55:48,080
creado antes
2865
01:55:48,080 --> 01:55:50,719
ahora, convirtamos esto en un retorno inmediato
2866
01:55:50,719 --> 01:55:51,760
2867
01:55:51,760 --> 01:55:53,440
como este
2868
01:55:53,440 --> 01:55:55,920
allí vamos y podemos convertir este div
2869
01:55:55,920 --> 01:55:58,239
en una sección
2870
01:55:58,239 --> 01:56:00,400
ahora dentro de esa sección vamos
2871
01:56:00,400 --> 01:56:02,159
a tener un div más
2872
01:56:02,159 --> 01:56:04,239
y luego dentro de ese div vamos
2873
01:56:04,239 --> 01:56:06,159
a tener un h2
2874
01:56:06,159 --> 01:56:09,280
que h2 va a decir probemos nuestro
2875
01:56:09,280 --> 01:56:11,119
servicio ahora
2876
01:56:11,119 --> 01:56:13,440
y luego debajo de ese h2 vamos a
2877
01:56:13,440 --> 01:56:16,560
tener una etiqueta p y esa etiqueta p va a
2878
01:56:16,560 --> 01:56:18,719
decir lo que sea que diga aquí mismo en el
2879
01:56:18,719 --> 01:56:19,840
diseño,
2880
01:56:19,840 --> 01:56:22,639
copiémoslo también y finalmente
2881
01:56:22,639 --> 01:56:25,119
debajo del div que contiene el h2 y la
2882
01:56:25,119 --> 01:56:28,560
etiqueta p podemos tener uno más div
2883
01:56:28,560 --> 01:56:30,960
y luego ese div va a contener
2884
01:56:30,960 --> 01:56:33,840
el componente del botón de cierre automático,
2885
01:56:33,840 --> 01:56:35,679
así que ahora, si volvemos,
2886
01:56:35,679 --> 01:56:37,119
podrías pensar que vamos a tener
2887
01:56:37,119 --> 01:56:38,639
algo
2888
01:56:38,639 --> 01:56:40,480
y solo tenemos el botón,
2889
01:56:40,480 --> 01:56:42,960
por lo que aún no podemos ver los elementos de texto
2890
01:56:42,960 --> 01:56:44,960
y eso es porque no hemos proporcionado
2891
01:56:44,960 --> 01:56:46,320
los nombres de las clases,
2892
01:56:46,320 --> 01:56:50,800
así que agreguemos un nombre de clase a nuestra sección
2893
01:56:50,800 --> 01:56:53,040
que será igual a
2894
01:56:53,040 --> 01:56:56,639
una cadena de plantillas dinámicas de estilos dot
2895
01:56:56,639 --> 01:56:57,679
flex
2896
01:56:57,679 --> 01:56:59,440
center
2897
01:56:59,440 --> 01:57:02,159
otra de estilos dot
2898
01:57:02,159 --> 01:57:03,760
margin y
2899
01:57:03,760 --> 01:57:06,960
y otra que será
2900
01:57:06,960 --> 01:57:09,520
estilos dot padding
2901
01:57:09,520 --> 01:57:12,000
me sentí como dj khaled al decir
2902
01:57:12,000 --> 01:57:14,960
otra, así que vayamos más lejos, tenemos tres de
2903
01:57:14,960 --> 01:57:17,280
estas clases y ahora podemos continuar
2904
01:57:17,280 --> 01:57:21,199
con dispositivos pequeños, la fila flexible, por
2905
01:57:21,199 --> 01:57:23,679
lo general, la columna flexible
2906
01:57:23,679 --> 01:57:27,760
b g guión negro guión degradado 2
2907
01:57:27,760 --> 01:57:31,360
y luego guión redondeado 20 píxeles
2908
01:57:31,360 --> 01:57:34,880
y finalmente sombra de cuadro así que ahora, si guardamos
2909
01:57:34,880 --> 01:57:37,360
esto, obtendremos este hermoso
2910
01:57:37,360 --> 01:57:38,480
rectángulo
2911
01:57:38,480 --> 01:57:40,639
que tiene este bonito color grisáceo con
2912
01:57:40,639 --> 01:57:43,520
el botón y el texto, pero ahora
2913
01:57:43,520 --> 01:57:46,400
apliquemos un poco de estilo a este div dentro de
2914
01:57:46,400 --> 01:57:47,119
él,
2915
01:57:47,119 --> 01:57:49,280
podemos darle un nombre de clase igual a
2916
01:57:49,280 --> 01:57:51,440
flex- 1
2917
01:57:51,440 --> 01:57:55,119
también flex y flex dash hole
2918
01:57:55,119 --> 01:57:57,840
ahora podemos diseñar este h2 dándole un
2919
01:57:57,840 --> 01:58:02,560
nombre de clase igual a estilos punto encabezado 2
2920
01:58:02,560 --> 01:58:04,960
ahí vamos eso es mucho mejor y
2921
01:58:04,960 --> 01:58:07,520
podemos diseñar la etiqueta p dándole un
2922
01:58:07,520 --> 01:58:09,679
nombre de clase igual a
2923
01:58:09,679 --> 01:58:12,320
estilos punto párrafo
2924
01:58:12,320 --> 01:58:17,920
y también max dash w dash 470 píxeles y
2925
01:58:17,920 --> 01:58:20,080
margin top 5
2926
01:58:20,080 --> 01:58:23,360
ahí vamos, también podemos diseñar el botón
2927
01:58:23,360 --> 01:58:26,639
un poco, así que vamos a darle un nombre de clase
2928
01:58:26,639 --> 01:58:28,920
igual a
2929
01:58:28,920 --> 01:58:31,599
styles.flex center
2930
01:58:31,599 --> 01:58:34,480
en dispositivos pequeños, el margen izquierdo
2931
01:58:34,480 --> 01:58:35,679
será 10, por
2932
01:58:35,679 --> 01:58:38,560
lo general, el margen izquierdo es será cero
2933
01:58:38,560 --> 01:58:41,280
en dispositivos pequeños, el margen superior
2934
01:58:41,280 --> 01:58:44,400
será cero y, por lo general, el margen superior
2935
01:58:44,400 --> 01:58:47,520
será 10. Ahora, si guardamos esto, puede
2936
01:58:47,520 --> 01:58:49,840
ver que nos queda algo de margen allí
2937
01:58:49,840 --> 01:58:52,080
y, si lo expandimos,
2938
01:58:52,080 --> 01:58:54,560
puede notar que se escala muy bien.
2939
01:58:54,560 --> 01:58:58,159
y llegamos a nuestra vista de escritorio completa,
2940
01:58:58,159 --> 01:59:02,000
probemos nuestro servicio ahora, así que se
2941
01:59:02,000 --> 01:59:04,880
ve genial, lo último en nuestra lista
2942
01:59:04,880 --> 01:59:07,360
es implementar este
2943
01:59:07,360 --> 01:59:09,840
pie de página de gran apariencia para comenzar, podemos
2944
01:59:09,840 --> 01:59:11,840
contraer esto,
2945
01:59:11,840 --> 01:59:15,040
podemos volver a nuestra aplicación, saltar a nuestro
2946
01:59:15,040 --> 01:59:18,639
pie de página y profundicemos en el tema,
2947
01:59:18,639 --> 01:59:21,760
comencemos importando los estilos que
2948
01:59:21,760 --> 01:59:25,040
provienen del estilo de barra de puntos,
2949
01:59:25,040 --> 01:59:28,400
importemos el logotipo que proviene de los activos de barras de puntos
2950
01:59:28,400 --> 01:59:32,239
e importemos los enlaces de pie de página,
2951
01:59:32,239 --> 01:59:33,440
2952
01:59:33,440 --> 01:59:36,000
así como las redes sociales que
2953
01:59:36,000 --> 01:59:37,280
provienen de las
2954
01:59:37,280 --> 01:59:38,560
2955
01:59:38,560 --> 01:59:40,960
constantes de barras de puntos, permítanme mostrarles rápidamente cuál es
2956
01:59:40,960 --> 01:59:43,119
el Los enlaces de pie de página se ven así, si vamos
2957
01:59:43,119 --> 01:59:45,599
aquí, puede notar que en realidad es
2958
01:59:45,599 --> 01:59:48,960
una matriz que tiene este gran objeto que
2959
01:59:48,960 --> 01:59:51,520
tiene los enlaces útiles y luego los
2960
01:59:51,520 --> 01:59:53,679
enlaces útiles contienen múltiples enlaces, como
2961
01:59:53,679 --> 01:59:56,320
contenido, cómo funciona, crear, etc.
2962
01:59:56,320 --> 01:59:57,760
y luego también tenemos los
2963
01:59:57,760 --> 02:00:01,119
enlaces de la comunidad, así que si observamos el diseño,
2964
02:00:01,119 --> 02:00:02,800
verá que en realidad tenemos una
2965
02:00:02,800 --> 02:00:05,199
serie de un par de enlaces diferentes
2966
02:00:05,199 --> 02:00:08,159
enlaces útiles socio de la comunidad y
2967
02:00:08,159 --> 02:00:10,719
eso será todo, así que en base a eso
2968
02:00:10,719 --> 02:00:12,639
creamos esta estructura agradable donde
2969
02:00:12,639 --> 02:00:15,440
tenemos el título y luego, la matriz real
2970
02:00:15,440 --> 02:00:16,719
de enlaces,
2971
02:00:16,719 --> 02:00:19,360
así que dicho esto, podemos regresar y ahora
2972
02:00:19,360 --> 02:00:21,840
podemos comenzar a crear ese pie de página,
2973
02:00:21,840 --> 02:00:24,400
convirtamos esto en una
2974
02:00:24,400 --> 02:00:27,440
función de flecha de retorno inmediata, ahí vamos
2975
02:00:27,440 --> 02:00:31,599
y ahora convirtamos esto en una sección
2976
02:00:31,599 --> 02:00:33,760
dentro de este pie de página que vamos para
2977
02:00:33,760 --> 02:00:35,679
tener un div,
2978
02:00:35,679 --> 02:00:38,000
pero antes de agregar algo a ese div,
2979
02:00:38,000 --> 02:00:40,560
formemos los estilos de nuestra sección,
2980
02:00:40,560 --> 02:00:42,719
así que regresemos aquí
2981
02:00:42,719 --> 02:00:45,599
y démosle un nombre de clase
2982
02:00:45,599 --> 02:00:47,040
igual a
2983
02:00:47,040 --> 02:00:49,599
eso, será Styles dot flex
2984
02:00:49,599 --> 02:00:50,960
center
2985
02:00:50,960 --> 02:00:54,800
y styles dot padding y también podemos
2986
02:00:54,800 --> 02:00:57,119
dar es una llamada flex dash,
2987
02:00:57,119 --> 02:00:59,840
este div también va a tener un nombre de clase
2988
02:00:59,840 --> 02:01:00,639
2989
02:01:00,639 --> 02:01:02,159
igual al
2990
02:01:02,159 --> 02:01:06,400
que va a ser estilos dot flex start
2991
02:01:06,400 --> 02:01:09,760
en dispositivos medianos flex dash fila
2992
02:01:09,760 --> 02:01:12,480
generalmente flex dash dos puntos margen
2993
02:01:12,480 --> 02:01:14,560
inferior ocho por lo que
2994
02:01:14,560 --> 02:01:18,239
será mb8 y luego w dash full
2995
02:01:18,239 --> 02:01:21,199
great con eso, ahora vamos a comprobarlo,
2996
02:01:21,199 --> 02:01:23,360
solo podemos ver un espacio oscuro allí,
2997
02:01:23,360 --> 02:01:26,400
pero ahora vamos a agregar un div interno que
2998
02:01:26,400 --> 02:01:28,560
contendrá nuestra imagen,
2999
02:01:28,560 --> 02:01:31,199
así que vamos a crear un
3000
02:01:31,199 --> 02:01:33,520
div que va a tener la imagen
3001
02:01:33,520 --> 02:01:35,119
dentro de él, así que vamos a crear un
3002
02:01:35,119 --> 02:01:37,280
yo -la etiqueta de imagen de cierre
3003
02:01:37,280 --> 02:01:39,520
tendrá una fuente igual al
3004
02:01:39,520 --> 02:01:40,560
logotipo
3005
02:01:40,560 --> 02:01:42,880
si guardamos esto, podemos ver un logotipo enorme
3006
02:01:42,880 --> 02:01:44,000
aquí mismo,
3007
02:01:44,000 --> 02:01:47,920
agreguemos una etiqueta alt igual a la del banco
3008
02:01:47,920 --> 02:01:51,040
y agreguemos un nombre de clase igual a w
3009
02:01:51,040 --> 02:01:52,040
guión
3010
02:01:52,040 --> 02:01:54,320
266 píxeles
3011
02:01:54,320 --> 02:01:58,880
y h guión eso es van a ser 72 píxeles,
3012
02:01:58,880 --> 02:02:02,000
agreguemos también el objeto que contiene
3013
02:02:02,000 --> 02:02:04,560
allí, así que esto ya se ve
3014
02:02:04,560 --> 02:02:06,000
mucho mejor,
3015
02:02:06,000 --> 02:02:08,000
pero, por supuesto, también debemos agregar los
3016
02:02:08,000 --> 02:02:10,400
nombres de clase a este div, así que digamos que el
3017
02:02:10,400 --> 02:02:14,400
nombre de clase es igual a flex dash one
3018
02:02:14,400 --> 02:02:15,520
flex
3019
02:02:15,520 --> 02:02:17,280
flex dash columna
3020
02:02:17,280 --> 02:02:21,199
justificar el inicio del guión y el margen derecho 10.
3021
02:02:21,199 --> 02:02:24,159
ahí vamos y ahora debajo de esta imagen
3022
02:02:24,159 --> 02:02:26,080
podemos agregar una etiqueta p
3023
02:02:26,080 --> 02:02:28,400
que la etiqueta p dirá algo
3024
02:02:28,400 --> 02:02:31,360
así como una nueva forma de hacer que los pagos sean fáciles,
3025
02:02:31,360 --> 02:02:32,400
confiables
3026
02:02:32,400 --> 02:02:34,159
y seguros,
3027
02:02:34,159 --> 02:02:37,440
podemos darle a esa etiqueta p nuestro habitual
3028
02:02:37,440 --> 02:02:40,719
nombre de clase que será igual a
3029
02:02:40,719 --> 02:02:42,800
estilos. párrafo
3030
02:02:42,800 --> 02:02:44,960
y margen superior 4
3031
02:02:44,960 --> 02:02:48,560
y también hagamos max dash w dash
3032
02:02:48,560 --> 02:02:50,400
310
3033
02:02:50,400 --> 02:02:51,440
píxeles
3034
02:02:51,440 --> 02:02:53,679
ahí vamos, así que esto ya se ve
3035
02:02:53,679 --> 02:02:54,960
mucho mejor
3036
02:02:54,960 --> 02:02:57,760
ahora debajo de este div para que podamos salir de este
3037
02:02:57,760 --> 02:03:00,880
div allí mismo podemos crear un nuevo div
3038
02:03:00,880 --> 02:03:02,560
para los enlaces,
3039
02:03:02,560 --> 02:03:05,840
así que vamos a darle un nombre de clase
3040
02:03:05,840 --> 02:03:08,400
que será un nombre de clase igual a
3041
02:03:08,400 --> 02:03:09,639
flex dash
3042
02:03:09,639 --> 02:03:12,960
1.5 w dash full
3043
02:03:12,960 --> 02:03:18,400
flex flex dash fila justificar entre
3044
02:03:18,400 --> 02:03:21,920
flex dash wrap en dispositivos medianos margin
3045
02:03:21,920 --> 02:03:25,599
top 0 y luego generalmente margin top 10.
3046
02:03:25,599 --> 02:03:28,159
ahora, por supuesto, tenemos que mapear sobre esos
3047
02:03:28,159 --> 02:03:31,199
enlaces de pie de página, así que digamos enlaces de pie de página mapa de puntos,
3048
02:03:31,199 --> 02:03:32,400
3049
02:03:32,400 --> 02:03:35,760
obtenemos un enlace de pie de página individual,
3050
02:03:35,760 --> 02:03:37,679
así que digamos enlace de pie de página
3051
02:03:37,679 --> 02:03:38,639
3052
02:03:38,639 --> 02:03:40,960
y queremos devolver
3053
02:03:40,960 --> 02:03:43,760
algo instantáneamente y ese algo va a
3054
02:03:43,760 --> 02:03:47,520
ser otro div que div tiene que tiene
3055
02:03:47,520 --> 02:03:49,840
una clave porque estamos mapeando sobre ella, por lo que
3056
02:03:49,840 --> 02:03:51,920
serán enlaces de pie de página o, más bien,
3057
02:03:51,920 --> 02:03:54,480
clave de punto de enlace de pie de página,
3058
02:03:54,480 --> 02:03:57,440
tendrá un nombre de clase igual a
3059
02:03:57,440 --> 02:04:01,040
flex flex dash call
3060
02:04:01,040 --> 02:04:02,320
ss
3061
02:04:02,320 --> 02:04:03,360
my
3062
02:04:03,360 --> 02:04:04,480
0
3063
02:04:04,480 --> 02:04:07,040
generalmente mi 4
3064
02:04:07,040 --> 02:04:12,000
ancho mínimo de guión guión 150 píxeles
3065
02:04:12,000 --> 02:04:13,280
así
3066
02:04:13,280 --> 02:04:15,599
ahora todavía no podemos ver nada, pero ahora
3067
02:04:15,599 --> 02:04:17,840
finalmente vamos a mapear sobre los elementos de nuestra lista,
3068
02:04:17,840 --> 02:04:21,280
así que primero vamos a tener un h4
3069
02:04:21,280 --> 02:04:24,480
y este h4 va a representar el
3070
02:04:24,480 --> 02:04:28,239
título del punto del enlace del pie de página, recuerde que
3071
02:04:28,239 --> 02:04:30,960
cada serie de enlaces tendrá
3072
02:04:30,960 --> 02:04:33,679
su propio título, así que comencemos con el
3073
02:04:33,679 --> 02:04:34,880
primero
3074
02:04:34,880 --> 02:04:36,719
y luego, mientras hacemos eso, podemos
3075
02:04:36,719 --> 02:04:40,560
convertir inmediatamente la ul en una
3076
02:04:40,560 --> 02:04:43,440
lista desordenada dentro de esa lista desordenada, vamos a
3077
02:04:43,440 --> 02:04:46,079
recorrer una vez más el
3078
02:04:46,079 --> 02:04:47,760
enlace de pie de página, los enlaces de puntos, el
3079
02:04:47,760 --> 02:04:49,280
3080
02:04:49,280 --> 02:04:51,840
mapa de puntos y vamos a obtener
3081
02:04:51,840 --> 02:04:54,159
ese enlace individual,
3082
02:04:54,159 --> 02:04:57,599
también podemos extraer el índice desde aquí
3083
02:04:57,599 --> 02:05:00,159
ahora para cada enlace que queremos representar una
3084
02:05:00,159 --> 02:05:01,760
etiqueta li
3085
02:05:01,760 --> 02:05:05,199
que va a tener una clave igual
3086
02:05:05,199 --> 02:05:08,960
al nombre del punto del enlace y también podemos darle
3087
02:05:08,960 --> 02:05:10,719
un nombre de clase
3088
02:05:10,719 --> 02:05:12,639
aquí mismo,
3089
02:05:12,639 --> 02:05:14,239
vamos a
3090
02:05:14,239 --> 02:05:17,280
hacer font dash poppins
3091
02:05:17,280 --> 02:05:19,280
font dash normal
3092
02:05:19,280 --> 02:05:22,960
text dash 16 pixels también agreguemos un
3093
02:05:22,960 --> 02:05:27,599
encabezado de 24 pixels text dash dim white
3094
02:05:27,599 --> 02:05:29,119
y al pasar el mouse
3095
02:05:29,119 --> 02:05:32,560
queremos darle un text dash secundario
3096
02:05:32,560 --> 02:05:35,920
finalmente cursor dash pointer
3097
02:05:35,920 --> 02:05:37,760
ahora si guardamos esto
3098
02:05:37,760 --> 02:05:39,599
no podemos ver nada todavía porque
3099
02:05:39,599 --> 02:05:42,639
no estamos representando ningún texto, pero ahora, si agregamos
3100
02:05:42,639 --> 02:05:45,599
un nombre de punto de enlace aquí, puede ver todos los
3101
02:05:45,599 --> 02:05:46,480
enlaces,
3102
02:05:46,480 --> 02:05:48,800
agreguemos también un nombre de clase para el h4
3103
02:05:48,800 --> 02:05:51,199
para que podamos ver los títulos también,
3104
02:05:51,199 --> 02:05:53,520
así que eso es todo. para ser el nombre de la clase es
3105
02:05:53,520 --> 02:05:54,639
igual a
3106
02:05:54,639 --> 02:05:59,360
font dash poppins font dash medium
3107
02:05:59,360 --> 02:06:03,119
text dash 18 píxeles de avance se
3108
02:06:03,119 --> 02:06:05,760
establecerá en 27 píxeles
3109
02:06:05,760 --> 02:06:08,239
y texto en blanco
3110
02:06:08,239 --> 02:06:10,560
y ahí vamos,
3111
02:06:10,560 --> 02:06:12,320
esto se ve hermoso, puede ver
3112
02:06:12,320 --> 02:06:14,480
que nuestro color secundario usa los
3113
02:06:14,480 --> 02:06:17,040
colores del logotipo, por lo que también coincide
3114
02:06:17,040 --> 02:06:18,159
3115
02:06:18,159 --> 02:06:20,239
y actualmente el logotipo parece un poco
3116
02:06:20,239 --> 02:06:23,199
demasiado grande, pero parece que es así
3117
02:06:23,199 --> 02:06:25,520
en el diseño que veremos más adelante
3118
02:06:25,520 --> 02:06:27,679
una vez que lo expandamos y también tenemos que
3119
02:06:27,679 --> 02:06:30,079
agregar un margen entre los enlaces Entonces,
3120
02:06:30,079 --> 02:06:32,400
lo que tenemos que hacer es solo
3121
02:06:32,400 --> 02:06:34,880
agregar el margen en todos los enlaces que
3122
02:06:34,880 --> 02:06:37,360
no son los últimos en la columna. Entonces, lo que
3123
02:06:37,360 --> 02:06:39,599
podemos hacer es decir
3124
02:06:39,599 --> 02:06:42,480
si el índice no es igual a
3125
02:06:42,480 --> 02:06:45,480
footer.links
3126
02:06:45,679 --> 02:06:47,520
menos uno, eso nos dará el
3127
02:06:47,520 --> 02:06:50,880
último, por lo que si no es el último,
3128
02:06:50,880 --> 02:06:52,719
en ese caso queremos representar el
3129
02:06:52,719 --> 02:06:55,679
margen inferior de cuatro y, por lo general,
3130
02:06:55,679 --> 02:06:59,440
podemos representar el margen inferior de cero
3131
02:06:59,440 --> 02:07:01,199
porque no queremos agregar un margen
3132
02:07:01,199 --> 02:07:03,599
inferior al último enlace y parece que
3133
02:07:03,599 --> 02:07:05,679
escribí mal algo, esto aquí
3134
02:07:05,679 --> 02:07:09,119
se suponía que era un enlace de punto de enlace de pie de página,
3135
02:07:09,119 --> 02:07:11,360
así que ahora, si nos desplazamos hacia abajo, pueden ver
3136
02:07:11,360 --> 02:07:13,679
que ahora tienen algo de margen y me
3137
02:07:13,679 --> 02:07:15,520
parece que también nos falta algo de
3138
02:07:15,520 --> 02:07:20,079
margen en este h4 en lugar de en el ul así que vamos a
3139
02:07:20,079 --> 02:07:22,719
darle a esto un nombre de clase
3140
02:07:22,719 --> 02:07:25,040
igual a list dash none
3141
02:07:25,040 --> 02:07:28,320
así como margin top of 4 para dividirlo
3142
02:07:28,320 --> 02:07:31,840
un poco ahora el espaciado se siente natural
3143
02:07:31,840 --> 02:07:34,400
y esto se ve mucho mejor
3144
02:07:34,400 --> 02:07:36,560
la última parte de nuestro pie de página es la
3145
02:07:36,560 --> 02:07:38,960
parte inferior tenemos esto línea aquí
3146
02:07:38,960 --> 02:07:41,280
tenemos los derechos de autor y luego tenemos
3147
02:07:41,280 --> 02:07:43,840
los íconos de las redes sociales, así que
3148
02:07:43,840 --> 02:07:46,079
implementemos esa parte para eso, tendremos que
3149
02:07:46,079 --> 02:07:49,199
salir de un div y luego del segundo div
3150
02:07:49,199 --> 02:07:51,440
también y luego tendremos que crear
3151
02:07:51,440 --> 02:07:56,000
un div final este div va a
3152
02:07:56,000 --> 02:07:58,560
tener una etiqueta p dentro de allí, así que
3153
02:07:58,560 --> 02:08:01,119
primero agreguemos esa etiqueta p que será
3154
02:08:01,119 --> 02:08:03,280
este texto de derechos de autor que podemos ver
3155
02:08:03,280 --> 02:08:04,880
allí para que podamos copiar desde el
3156
02:08:04,880 --> 02:08:05,920
diseño
3157
02:08:05,920 --> 02:08:08,000
y mientras estamos aquí también podemos copiar
3158
02:08:08,000 --> 02:08:10,239
los nombres de clase para que podemos copiarlos
3159
02:08:10,239 --> 02:08:12,480
del h4 porque son más o
3160
02:08:12,480 --> 02:08:13,840
menos iguales,
3161
02:08:13,840 --> 02:08:16,079
así que copiemos esto y luego lo peguemos
3162
02:08:16,079 --> 02:08:17,440
aquí
3163
02:08:17,440 --> 02:08:19,840
ahora, si retrocedemos, podemos ver que todos los
3164
02:08:19,840 --> 02:08:21,199
derechos están reservados,
3165
02:08:21,199 --> 02:08:23,199
pero será un poco
3166
02:08:23,199 --> 02:08:26,159
diferente, así que tenemos font poppins font
3167
02:08:26,159 --> 02:08:28,639
se establecerá en normal aquí y
3168
02:08:28,639 --> 02:08:31,040
queremos agregar el centro del tablero de texto,
3169
02:08:31,040 --> 02:08:33,280
todo lo demás será igual,
3170
02:08:33,280 --> 02:08:36,960
finalmente, podemos agregar un div debajo de la etiqueta p
3171
02:08:36,960 --> 02:08:39,040
que servirá como contenedor para los
3172
02:08:39,040 --> 02:08:41,760
íconos de redes sociales, así que podemos darle un
3173
02:08:41,760 --> 02:08:44,480
nombre de clase igual a flex
3174
02:08:44,480 --> 02:08:46,400
flex dash row
3175
02:08:46,400 --> 02:08:49,599
en dispositivos medianos margin top 0 y luego
3176
02:08:49,599 --> 02:08:50,400
generalmente
3177
02:08:50,400 --> 02:08:52,239
margin top 6.
3178
02:08:52,239 --> 02:08:54,719
dentro de allí podemos mapear sobre nuestros
3179
02:08:54,719 --> 02:08:56,719
íconos de redes sociales diciendo
3180
02:08:56,719 --> 02:08:58,960
socialmedia.map
3181
02:08:58,960 --> 02:09:01,119
vamos a obtener uno social y luego
3182
02:09:01,119 --> 02:09:03,599
vamos a obtener el índice también
3183
02:09:03,599 --> 02:09:06,400
ahora queremos cerrar esto correctamente
3184
02:09:06,400 --> 02:09:08,639
y luego para cada red social que queremos
3185
02:09:08,639 --> 02:09:10,960
devolver una imagen
3186
02:09:10,960 --> 02:09:13,840
podemos dar una clave para cada una de estas
3187
02:09:13,840 --> 02:09:17,360
imágenes que será social.id
3188
02:09:17,360 --> 02:09:19,119
queremos darle una fuente que
3189
02:09:19,119 --> 02:09:21,599
será social.icon
3190
02:09:21,599 --> 02:09:23,599
también podemos darle una etiqueta alt que también será
3191
02:09:23,599 --> 02:09:24,880
3192
02:09:24,880 --> 02:09:26,239
social
3193
02:09:26,239 --> 02:09:28,239
dot id
3194
02:09:28,239 --> 02:09:31,599
y finalmente vamos a darle un nombre de clase,
3195
02:09:31,599 --> 02:09:33,599
pero antes de hacerlo, guardémoslo como
3196
02:09:33,599 --> 02:09:34,400
esto
3197
02:09:34,400 --> 02:09:36,880
para verlos allí, vamos y ahora podemos
3198
02:09:36,880 --> 02:09:40,960
diseñarlos, así que agreguemos una cadena dinámica,
3199
02:09:40,960 --> 02:09:44,960
tendrán una w de 21 píxeles,
3200
02:09:44,960 --> 02:09:46,400
ese es el ancho,
3201
02:09:46,400 --> 02:09:49,280
la altura también se establecerá en 21
3202
02:09:49,280 --> 02:09:51,679
píxeles como este
3203
02:09:51,679 --> 02:09:53,760
objeto será configurado para contener
3204
02:09:53,760 --> 02:09:56,159
en lugar de que el objeto contenga el
3205
02:09:56,159 --> 02:09:58,880
cursor se configurará como puntero
3206
02:09:58,880 --> 02:10:01,119
y luego lo mismo que hemos hecho
3207
02:10:01,119 --> 02:10:03,920
con los márgenes antes de querer verificar si
3208
02:10:03,920 --> 02:10:06,719
el índice no es igual a la
3209
02:10:06,719 --> 02:10:08,320
3210
02:10:08,320 --> 02:10:10,639
longitud del punto de las redes sociales -1
3211
02:10:10,639 --> 02:10:13,040
si no es así entonces nosotros queremos aplicar un
3212
02:10:13,040 --> 02:10:16,239
margen a la derecha de 6 y luego, por lo general,
3213
02:10:16,239 --> 02:10:17,520
queremos aplicar
3214
02:10:17,520 --> 02:10:20,800
un margen a la derecha de 0. Entonces,
3215
02:10:20,800 --> 02:10:22,480
agréguelo allí,
3216
02:10:22,480 --> 02:10:26,079
vamos, lo único que queda por hacer es
3217
02:10:26,079 --> 02:10:28,560
poner estos en una fila, el texto
3218
02:10:28,560 --> 02:10:31,520
aquí y los íconos. Así que hagámoslo
3219
02:10:31,520 --> 02:10:34,560
diseñando este div externo allí mismo.
3220
02:10:34,560 --> 02:10:38,079
Podemos darle un nombre de clase igual a w
3221
02:10:38,079 --> 02:10:39,599
guión completo.
3222
02:10:39,599 --> 02:10:42,880
También podemos darle un guión de justificación flexible
3223
02:10:42,880 --> 02:10:44,480
entre los
3224
02:10:44,480 --> 02:10:46,639
elementos. Centro de guión
3225
02:10:46,639 --> 02:10:49,760
en dispositivos medianos.
3226
02:10:49,760 --> 02:10:52,800
3227
02:10:52,800 --> 02:10:56,000
Fila de guión flexible. se establecerá en 6.
3228
02:10:56,000 --> 02:10:59,040
border dash t para la parte superior
3229
02:10:59,040 --> 02:11:01,760
será de 1 píxel
3230
02:11:01,760 --> 02:11:03,679
border dash t
3231
02:11:03,679 --> 02:11:06,079
dash y luego queremos aplicar un color,
3232
02:11:06,079 --> 02:11:09,599
así que hagamos algo como 3 f 3 e
3233
02:11:09,599 --> 02:11:10,400
5
3234
02:11:10,400 --> 02:11:12,400
nuevamente, esto se puede copiar del diseño
3235
02:11:12,400 --> 02:11:14,719
que es eso color grisáceo justo ahí
3236
02:11:14,719 --> 02:11:18,000
y ahora tenemos nuestro pie de página, ampliémoslo
3237
02:11:18,000 --> 02:11:21,119
para verlo en todo su esplendor, ahí
3238
02:11:21,119 --> 02:11:23,119
vamos,
3239
02:11:23,119 --> 02:11:26,320
pie de página del banco aquí, si
3240
02:11:26,320 --> 02:11:28,079
lo comparamos con el sitio terminado y nos desplazamos
3241
02:11:28,079 --> 02:11:30,639
hacia abajo, pueden ver que es
3242
02:11:30,639 --> 02:11:32,400
exactamente igual,
3243
02:11:32,400 --> 02:11:34,480
pero esto el color aquí parece ser
3244
02:11:34,480 --> 02:11:36,719
un poco diferente, así que veamos si el
3245
02:11:36,719 --> 02:11:39,119
color se aplicó de la manera correcta,
3246
02:11:39,119 --> 02:11:41,119
colapsemos esto un poco
3247
02:11:41,119 --> 02:11:44,159
para que sea un guión de borde d y
3248
02:11:44,159 --> 02:11:45,599
luego un guión,
3249
02:11:45,599 --> 02:11:50,199
verifiquemos correctamente 3f3e45
3250
02:11:50,639 --> 02:11:53,280
eso debería estar allí vamos así que ahora
3251
02:11:53,280 --> 02:11:55,520
es un poco más sutil
3252
02:11:55,520 --> 02:11:57,840
y dicho esto podemos cerrar el
3253
02:11:57,840 --> 02:12:00,800
pie de página lo creas o no hemos llegado
3254
02:12:00,800 --> 02:12:03,280
al final del proceso de construcción de esta
3255
02:12:03,280 --> 02:12:06,079
aplicación fenomenal juntos
3256
02:12:06,079 --> 02:12:08,320
colapsémosla y veamos en toda su
3257
02:12:08,320 --> 02:12:09,360
gloria
3258
02:12:09,360 --> 02:12:11,040
ahí estamos
3259
02:12:11,040 --> 02:12:13,840
ve, vamos a desplazarnos rápidamente
3260
02:12:13,840 --> 02:12:15,440
imagina que estás creando esta empresa para
3261
02:12:15,440 --> 02:12:18,159
un cliente es un cliente bancario gran
3262
02:12:18,159 --> 02:12:21,280
corporación que realiza operaciones bancarias el método de pago de próxima generación
3263
02:12:21,280 --> 02:12:22,639
3264
02:12:22,639 --> 02:12:26,159
3 800 usuarios activos muchas
3265
02:12:26,159 --> 02:12:28,560
empresas confiables tienen recompensas están
3266
02:12:28,560 --> 02:12:31,199
asegurados tienen transferencia de saldo ellos
3267
02:12:31,199 --> 02:12:33,360
tenemos algún tipo de facturación
3268
02:12:33,360 --> 02:12:35,520
podemos ver las descripciones allí mismo
3269
02:12:35,520 --> 02:12:37,280
podemos descargarlo en la tienda de aplicaciones y
3270
02:12:37,280 --> 02:12:38,480
google play
3271
02:12:38,480 --> 02:12:40,320
podemos comenzar usando sus
3272
02:12:40,320 --> 02:12:42,960
métodos inmediatamente tienen algunos
3273
02:12:42,960 --> 02:12:45,679
testimonios geniales aquí por herman steve
3274
02:12:45,679 --> 02:12:48,000
y ken han sido utilizados por compañías
3275
02:12:48,000 --> 02:12:50,320
como airbnb y binance e
3276
02:12:50,320 --> 02:12:52,639
inmediatamente podemos probar su negocio
3277
02:12:52,639 --> 02:12:55,520
o verificar más información usando este
3278
02:12:55,520 --> 02:12:56,960
pie de página aquí mismo,
3279
02:12:56,960 --> 02:12:59,760
todo se ve muy bien y, por
3280
02:12:59,760 --> 02:13:01,679
supuesto, lo realmente importante para mencionar
3281
02:13:01,679 --> 02:13:04,079
es que la versión móvil también se ve
3282
02:13:04,079 --> 02:13:06,560
muy bien si nos desplazamos rápidamente
3283
02:13:06,560 --> 02:13:08,079
a través de ella. puede notar que
3284
02:13:08,079 --> 02:13:11,040
todo responde completamente a dispositivos móviles, por lo que, a medida que
3285
02:13:11,040 --> 02:13:14,480
sigo desplazándome, se siente tan
3286
02:13:14,480 --> 02:13:16,639
natural y genial
3287
02:13:16,639 --> 02:13:19,119
con ese trabajo increíble al crear
3288
02:13:19,119 --> 02:13:21,520
esta aplicación. Ahora le enseñaré
3289
02:13:21,520 --> 02:13:23,599
cómo implementarlo
3290
02:13:23,599 --> 02:13:26,000
para implementar nuestro sitio web.
3291
02:13:26,000 --> 02:13:28,960
cree una compilación de producción optimizada, así que
3292
02:13:28,960 --> 02:13:31,119
cerremos todos nuestros archivos, colapse
3293
02:13:31,119 --> 02:13:34,079
todas nuestras carpetas y vayamos a ver y
3294
02:13:34,079 --> 02:13:36,960
luego a la terminal, podemos
3295
02:13:36,960 --> 02:13:40,239
borrarlo y luego puede ingresar a la aplicación moderna del banco
3296
02:13:40,239 --> 02:13:42,639
o como llame a su carpeta
3297
02:13:42,639 --> 02:13:46,239
y puede ejecutar mpm ejecute build
3298
02:13:46,239 --> 02:13:48,560
esto va a crear una
3299
02:13:48,560 --> 02:13:50,400
compilación de producción optimizada
3300
02:13:50,400 --> 02:13:52,639
y en solo un par de segundos puede
3301
02:13:52,639 --> 02:13:54,560
ver que todos nuestros activos están
3302
02:13:54,560 --> 02:13:56,520
aquí junto con
3303
02:13:56,520 --> 02:13:59,040
index.html y todos esos archivos se
3304
02:13:59,040 --> 02:14:01,920
han colocado dentro de una carpeta dist,
3305
02:14:01,920 --> 02:14:04,480
así que vamos a la derecha -haga clic aquí y luego haga clic en
3306
02:14:04,480 --> 02:14:06,880
revelar en el explorador de archivos o abrir en el
3307
02:14:06,880 --> 02:14:09,040
buscador si está en Mac
3308
02:14:09,040 --> 02:14:11,040
una vez que lo haga, podrá ver
3309
02:14:11,040 --> 02:14:13,360
todos sus archivos allí mismo, pero por
3310
02:14:13,360 --> 02:14:15,520
supuesto ahora tenemos que implementarlos
3311
02:14:15,520 --> 02:14:18,480
con eso tenga en cuenta que estamos de vuelta en
3312
02:14:18,480 --> 02:14:20,320
nuestro tablero de hosting
3313
02:14:20,320 --> 02:14:22,400
ahora aquí podrá encontrar su
3314
02:14:22,400 --> 02:14:24,880
alojamiento compartido premium y también
3315
02:14:24,880 --> 02:14:27,040
encontrará un botón para configurar un dominio si aún
3316
02:14:27,040 --> 02:14:29,440
no lo ha hecho, así que sigamos adelante y haga
3317
02:14:29,440 --> 02:14:32,000
clic en administrar eso es Vamos a abrir nuestra
3318
02:14:32,000 --> 02:14:34,480
cuenta de alojamiento y luego puede buscar
3319
02:14:34,480 --> 02:14:36,239
archivos.
3320
02:14:36,239 --> 02:14:39,119
Podemos hacer clic en el administrador de archivos.
3321
02:14:39,119 --> 02:14:41,440
Si ahora vamos a la
3322
02:14:41,440 --> 02:14:43,679
carpeta html de subrayado público, verá que
3323
02:14:43,679 --> 02:14:46,800
solo hay un archivo predeterminado.php que
3324
02:14:46,800 --> 02:14:48,719
podemos eliminar. simplemente presionemos el
3325
02:14:48,719 --> 02:14:51,599
botón Eliminar y elimínelo.
3326
02:14:51,599 --> 02:14:54,560
Aquí es donde irá nuestra carpeta dist
3327
02:14:54,560 --> 02:14:57,760
para que podamos recuperar nuestra aplicación moderna del banco
3328
02:14:57,760 --> 02:15:00,639
e ir dentro de esta carpeta.
3329
02:15:00,639 --> 02:15:03,599
Lo único que tiene que hacer es seleccionar
3330
02:15:03,599 --> 02:15:05,760
todos los archivos y luego arrastrar y soltar.
3331
02:15:05,760 --> 02:15:07,760
ellos aquí mismo
3332
02:15:07,760 --> 02:15:10,239
esto va a cargar todos los archivos
3333
02:15:10,239 --> 02:15:12,079
y van a estar en funcionamiento
3334
02:15:12,079 --> 02:15:15,119
en un segundo y eso es todo ahora
3335
02:15:15,119 --> 02:15:17,360
podemos volver a nuestro panel de alojamiento
3336
02:15:17,360 --> 02:15:20,719
y podemos hacer clic en nuestro dominio principal
3337
02:15:20,719 --> 02:15:23,119
y en sólo un par de segundos, nuestro
3338
02:15:23,119 --> 02:15:25,920
sitio web ahora está disponible en el nombre de dominio que
3339
02:15:25,920 --> 02:15:28,560
elegimos y no estoy seguro de si lo
3340
02:15:28,560 --> 02:15:32,000
notó, pero se cargó increíblemente rápido
3341
02:15:32,000 --> 02:15:35,040
ahora podemos admirarlo en todo su esplendor
3342
02:15:35,040 --> 02:15:37,520
y puede compartirlo con todos los demás,
3343
02:15:37,520 --> 02:15:39,599
puede ponerlo su cartera, muéstrela
3344
02:15:39,599 --> 02:15:41,920
a sus amigos o envíela a sus
3345
02:15:41,920 --> 02:15:43,679
clientes potenciales
3346
02:15:43,679 --> 02:15:45,679
y, como puede ver en este candado, el
3347
02:15:45,679 --> 02:15:48,239
certificado SSL se ha
3348
02:15:48,239 --> 02:15:51,119
incluido automáticamente, por lo que ni siquiera
3349
02:15:51,119 --> 02:15:53,199
tuvimos que hacer nada allí
3350
02:15:53,199 --> 02:15:56,320
nuevamente, el proceso es increíblemente simple
3351
02:15:56,320 --> 02:15:58,159
y lo haría. recomiendo alojarla a
3352
02:15:58,159 --> 02:16:00,880
todos para el sitio web de su cartera para
3353
02:16:00,880 --> 02:16:02,960
los sitios web de sus clientes o solo para
3354
02:16:02,960 --> 02:16:05,040
los proyectos con los que está jugando, ya que acaba de
3355
02:16:05,040 --> 02:16:07,040
ver que el proceso de implementación de su
3356
02:16:07,040 --> 02:16:10,320
sitio web con hostinger es perfecto, por lo que se
3357
02:16:10,320 --> 02:16:12,480
lo recomendaría no solo para
3358
02:16:12,480 --> 02:16:14,480
sitios web como estos para sus
3359
02:16:14,480 --> 02:16:17,040
clientes potenciales, pero también para el
3360
02:16:17,040 --> 02:16:19,840
sitio web de su cartera, dicho esto,
3361
02:16:19,840 --> 02:16:22,639
será un trabajo fenomenal para este video al
3362
02:16:22,639 --> 02:16:24,960
llegar tan lejos y construir esta gran
3363
02:16:24,960 --> 02:16:27,599
aplicación una vez más si queremos
3364
02:16:27,599 --> 02:16:29,679
verificar otro sitio web que está en alojamiento
3365
02:16:29,679 --> 02:16:32,240
o servidores eso es va a ser js
3366
02:16:32,240 --> 02:16:33,840
mastery.pro
3367
02:16:33,840 --> 02:16:35,840
este es otro hermoso sitio web que he
3368
02:16:35,840 --> 02:16:38,160
creado, pero nuevamente ese no es el
3369
02:16:38,160 --> 02:16:40,638
punto principal, el punto principal son estos
3370
02:16:40,638 --> 02:16:42,879
cursos basados en proyectos que puede usar
3371
02:16:42,879 --> 02:16:44,879
para mejorar sus habilidades de desarrollo
3372
02:16:44,879 --> 02:16:47,040
de inmediato, puede seguir adelante y elegir
3373
02:16:47,040 --> 02:16:48,959
la película parte 1 si desea pulir
3374
02:16:48,959 --> 02:16:51,040
sus habilidades de reacción y luego si desea
3375
02:16:51,040 --> 02:16:53,200
sumergirse en el territorio nuevo e inexplorado
3376
02:16:53,200 --> 02:16:56,398
de la web 3, el proyecto de mercado nft
3377
02:16:56,398 --> 02:16:58,959
es para usted y si no
3378
02:16:58,959 --> 02:17:01,439
lo vio al principio también está el
3379
02:17:01,439 --> 02:17:04,638
sección de guías gratuitas para que pueda obtener
3380
02:17:04,638 --> 02:17:07,599
muchas guías gratuitas completamente gratis, puede
3381
02:17:07,599 --> 02:17:10,638
usar esto como libros de referencia, libros electrónicos o
3382
02:17:10,638 --> 02:17:12,478
hojas de ruta completas
3383
02:17:12,478 --> 02:17:15,040
con ese increíble trabajo al llegar
3384
02:17:15,040 --> 02:17:17,359
al final de este video, muchas gracias
3385
02:17:17,359 --> 02:17:19,920
por mirar y ya veré usted en el
3386
02:17:19,920 --> 02:17:24,760
próximo que tenga un maravilloso día
3387
02:17:25,379 --> 02:17:34,579
[Música]
3388
02:17:36,000 --> 02:17:38,080
usted
349695
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.