Create a YouTube sidebar clone with Angular Material Components! (Part 3 - Animations)

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 67

  • @medamazigh
    @medamazigh 8 месяцев назад +4

    you have the greatest pedagogy amongst all the front end content creators out there.
    a word from a back-end dev that was forced to do some front :D
    thank you

    • @ZoaibKhan
      @ZoaibKhan  8 месяцев назад

      Thanks man! Glad it helped you out :)
      P.S. I'm actually reverse. So a front-end dev who can only be forced to do some backend :D

  • @Easyman01
    @Easyman01 9 месяцев назад +1

    I can not appreciate you enough Khan. There aren't many tutorials on the new Angular 17.Thank you! This is a great frontend tutorial!!!

    • @ZoaibKhan
      @ZoaibKhan  9 месяцев назад

      You're welcome 🤗 Glad that you liked it. You might like my other tutorials as well :)

  • @rajarajanshrihari7488
    @rajarajanshrihari7488 5 месяцев назад

    Was searching for any projects that are made on angular 18, but i couldn't find one. This was the only tutorial that had the updated angular version used, Strongly recommended and suggested for people who are struggling to learn about the new angular features. Thanks Sir!!

    • @ZoaibKhan
      @ZoaibKhan  5 месяцев назад

      You're welcome! I'm working on a free modern Angular 18 Crash course to introduce developers to the latest Angular features, so that should be helpful :)

  • @miguelito3056
    @miguelito3056 7 месяцев назад +1

    Well explained video, thanks a lot. Your rock!

    • @ZoaibKhan
      @ZoaibKhan  7 месяцев назад

      Glad you found it useful! ☺️

  • @Haniii98
    @Haniii98 6 месяцев назад

    It was amazing, thank you!!! I'm so glad I found your channel :)
    I started learning Angular in my new job after a few years working with React and it's pretty hard, this tutorial was very helpful :)

    • @ZoaibKhan
      @ZoaibKhan  6 месяцев назад

      You're welcome :)

  • @TheZukkino
    @TheZukkino Год назад +1

    Incredibly clear and easy to undestand. Gz

  • @Yavelegab
    @Yavelegab 2 месяца назад

    Thank you so much Zoaib, this tutorial is the first of yours I've done and I really learned quite a bit. Question, how would you hide the side bar when not logged out?

    • @ZoaibKhan
      @ZoaibKhan  2 месяца назад +1

      You can use the opened property of the sidenav and change it based on the logged in state.
      Or you can also just only keep the sidebar in the logged in routes components, so when user logs out, the sidebar disappears

  • @delfredtene6269
    @delfredtene6269 10 месяцев назад +1

    Superb video ♥, thank you for this tutorial. I learned a lot from these series of 3 videos. please can you finish this series by doing responsive design 🙏

    • @ZoaibKhan
      @ZoaibKhan  10 месяцев назад

      That's a good idea! I'll add it to my list :)
      And thanks for comment! It's great to see you guys deriving benefit from these tutorials 💖

    • @delfredtene6269
      @delfredtene6269 10 месяцев назад

      @@ZoaibKhan Thank you for considering my proposal. I would like to express my gratitude and encouragement for your work. Allow me again to submit a new idea. In order to make this video truly exceptional, I humbly suggest that you go beyond the level of RUclips by making dropdowns with the Dashboard links. Hoping that this comment finds you in good conditions...

    • @ZoaibKhan
      @ZoaibKhan  10 месяцев назад +1

      @@delfredtene6269 aah, you mean nested menu? another good idea, thanks!

    • @delfredtene6269
      @delfredtene6269 10 месяцев назад

      @@ZoaibKhan Yes, that's what I'm talking about. Thank you for validating my ideas 🙏

  • @nmhmm2472
    @nmhmm2472 10 месяцев назад

    I'm immensely thankful for the explanation 💚. I'm curious if it's feasible to add an option for this sidebar to be positioned at the bottom instead.

    • @ZoaibKhan
      @ZoaibKhan  10 месяцев назад

      It's possible, though would be bit weird, I guess. Is there any special reason to keep it like that?

    • @nmhmm2472
      @nmhmm2472 10 месяцев назад

      @@ZoaibKhan Thanks for replay🌹, and yes I want it to be only for mobile devices so that menu will be closed to user fingers

    • @ZoaibKhan
      @ZoaibKhan  10 месяцев назад

      How about you keep a bottom navigation bar - that is the usual way for mobile right? Instead of a sidebar

  • @prateekgoel737
    @prateekgoel737 8 месяцев назад

    Many thanks for the great tutorial. Could you please provide one more tutorial with nested menu in the sidenav?

  • @WeAreMuslim320
    @WeAreMuslim320 8 месяцев назад

    Thank you so much i appreciate that the way you teach .❤️ ❤
    Please make series on angular material also🙏

    • @ZoaibKhan
      @ZoaibKhan  8 месяцев назад +1

      You're welcome! Sure, I plan to cover the new angular material 3 and how it makes customization so easy soon :)

  • @juniorngomajose9454
    @juniorngomajose9454 2 месяца назад

    Thank you for the video.
    I need a help. Can't implement login page outside ofthis router outlet
    :/

    • @ZoaibKhan
      @ZoaibKhan  2 месяца назад +1

      Check the other reply I've given on my recent video. Maybe I should create a video followup for this :)

    • @juniorngomajose9454
      @juniorngomajose9454 2 месяца назад

      @@ZoaibKhan Thank you very much for your feedback and for being so patient. In fact, a video would really help a lot.

  • @davoodsoleimani9482
    @davoodsoleimani9482 7 месяцев назад

    Thank you. But why material outline icons did not work for me?!🤔

    • @ZoaibKhan
      @ZoaibKhan  7 месяцев назад

      Have you added the outline icons to index.html?

    • @davoodsoleimani9482
      @davoodsoleimani9482 7 месяцев назад

      @@ZoaibKhan Yes, of course!

    • @davoodsoleimani9482
      @davoodsoleimani9482 7 месяцев назад

      I finally fix it! Thanks a lot 💙💙

    • @ZoaibKhan
      @ZoaibKhan  6 месяцев назад

      @@davoodsoleimani9482 Great! :)

  • @IoavMondscheinBrunstein
    @IoavMondscheinBrunstein 9 месяцев назад

    This video helps me a lot, how can i add multilevel menu to the sidebar? i need to do that for a personal project and i wanna follow this sidebar style

    • @ZoaibKhan
      @ZoaibKhan  9 месяцев назад +1

      You can add submenu items in the items array and then use it to create nested menu for each item. I'll try to show in a video hopefully

    • @IoavMondscheinBrunstein
      @IoavMondscheinBrunstein 9 месяцев назад

      @@ZoaibKhan Thanks!, i would like to see that in a video, meanwhile i will try that

  • @CodeMonarch
    @CodeMonarch 8 месяцев назад

    Great content, thanks for sharing.

    • @ZoaibKhan
      @ZoaibKhan  8 месяцев назад

      You're welcome 🤗

  • @jorgeramirez4909
    @jorgeramirez4909 10 месяцев назад

    En verdad genial respecto a una visual muy limpia y agradable a la vista. Me gustaría saber si ¿hacerlo de esta forma, tanto el template como css en el archivo de typescript, ayuda a reducir aún más el peso al momento de contruir el SPA?

    • @ZoaibKhan
      @ZoaibKhan  10 месяцев назад +1

      Thanks man! It's actually just an alternative way to build Angular components - does not have any effect on bundle sizes, if that's what you mean. But it does mean that when a component is getting large, we come to know pretty quickly about it and can subdivide it into further components to keep our code clean and easy to maintain later on.
      Translated:
      ¡Gracias hombre! En realidad, es solo una forma alternativa de construir componentes Angular; no tiene ningún efecto en el tamaño de los paquetes, si a eso te refieres. Pero sí significa que cuando un componente crece, lo conocemos con bastante rapidez y podemos subdividirlo en más componentes para mantener nuestro código limpio y fácil de mantener más adelante.

  • @axitpoojara
    @axitpoojara 10 месяцев назад

    thanks , it help me a lot

    • @ZoaibKhan
      @ZoaibKhan  10 месяцев назад

      Glad to hear that ☺️

  • @codeaz5673
    @codeaz5673 Месяц назад

    thank u sir

  • @imagolfpro
    @imagolfpro Год назад

    Excellent videos for someone just staring out trying to create a menu with sidebar. Best videos I've seen yet! Question though, I'd like to close the sidenav upon clicking - how can I go about doing this? Sorry, this is probably very easy for most but I'm a beginner :)

    • @ZoaibKhan
      @ZoaibKhan  Год назад

      By close you mean minimize? Because in the sidebar that we build here, it's always visible to the user.

    • @imagolfpro
      @imagolfpro Год назад +1

      @@ZoaibKhan Hi, thanks for responding and sorry for not being very clear. I'm wondering how I can minimize the sidenav after clicking one of the links in the mat-nav-list. So after clicking "Dashboard" or "Content" for example, I'd like to have the sidenave minimized automatically.

    • @ZoaibKhan
      @ZoaibKhan  Год назад

      @@imagolfpro oh, I see. So you can create an output inside the sidenav which is called when any of the items is clicked.
      Then use an event handler outside it to change signal which contains the sidenav state.
      If it's bit unclear, I can give you code snap as well

    • @imagolfpro
      @imagolfpro Год назад

      @@ZoaibKhanThanks, that worked!

  • @tanvuminh9547
    @tanvuminh9547 Год назад

    When is the next video coming ?

    • @ZoaibKhan
      @ZoaibKhan  Год назад +1

      This was the last part of the RUclips sidebar series. Or do you mean next video on the channel? :)

    • @tanvuminh9547
      @tanvuminh9547 Год назад

      @@ZoaibKhan oh. I thought you clone RUclips series

    • @ZoaibKhan
      @ZoaibKhan  Год назад +1

      @@tanvuminh9547 Oh, that's a nice idea though. But a very big undertaking!

    • @tanvuminh9547
      @tanvuminh9547 Год назад

      @@ZoaibKhan Of Course. If you don't have an idea, you can do it 😁😁😁. it will share a lot of knowledge about angular

  • @annip4029
    @annip4029 Год назад

    i really loved this 3 part tutorial. however, my colors (that i picked) in styles.css are not showing up. there is only the default color. but at least i know, that the primary color worked, because i was able to change the little stripe on the side of my chosen route. do you have any idea what the problem could be, or could you send me your code from styles.css? i am a beginner and i tried to copy what you pasted in there, but maybe i forgot something

    • @ZoaibKhan
      @ZoaibKhan  Год назад

      Make sure it's styles.scss, not styles.css, as adding a custom material theme requires sass to work.
      You will need to rename the file, change it's reference in angular.json as well. Hope that works!

  • @jamesquinlan2638
    @jamesquinlan2638 10 месяцев назад

    Another great vid, but height zero !important does not work for me. I had to use font-size: 0px and then it transitions nicely. Not sure what I'm going to do with the images...

    • @ZoaibKhan
      @ZoaibKhan  10 месяцев назад

      Thanks! That's odd, not sure what's happening there. What are the images you're talking about?

    • @jamesquinlan2638
      @jamesquinlan2638 10 месяцев назад

      @@ZoaibKhan After rewatching your part two video I realised that I'd forgotten you'd already explained how to change image size dynamically: using functions and making the height and width properties reactive. It all works well now. Thanks again Zoaib!

    • @ZoaibKhan
      @ZoaibKhan  10 месяцев назад

      @@jamesquinlan2638 No problem! Glad you were able to figure it all out :)

  • @tientcheu
    @tientcheu Год назад

    Very nice front end tutorials. Can you do one on reusable layouts. Like Google cloud admin console layout

    • @ZoaibKhan
      @ZoaibKhan  Год назад +1

      I'll have to check that out. Not used it much

  • @hoangtoan9836
    @hoangtoan9836 Год назад

    Cool !! Thanks a lot !!!

  • @mahdiandalib186
    @mahdiandalib186 Год назад

    nice man