I Rebuilt 3 Awwwards Page Transitions using Nextjs and Framer Motion (Page Router)

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

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

  • @alokadevapriya
    @alokadevapriya 10 месяцев назад +41

    Most underrated RUclips educator. Just look at the thing this man is coding, Amazing.

  • @dvkerns
    @dvkerns 3 месяца назад +4

    You are so good at this - no B.S, explaining the important parts... and tackling interesting problems in a straightforward no-hype manner. ❤ Lack of cyan / magenta backlighting also appreciated.

  • @Way_Of_The_Light
    @Way_Of_The_Light 10 месяцев назад +7

    Amazing tutorials as always ✨ please continue to make such Awwwards level animation tutorials 🙏🙏🙏🙏

  • @edojoshua
    @edojoshua 10 месяцев назад +4

    You used my suggestion! Amazing work as always Oli👏

  • @mianshahzeb4801
    @mianshahzeb4801 10 месяцев назад +2

    bro you are a gold mine for a developer like me. I love your videos, keep up the mentorship and continue to make such awesome content.

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

      Thank you for the kind words! Glad this could be of help

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

    This is my first time learning such cool interactivity with next.js. I’m watching it intently in Korea. Good luck.

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

    I think I found the most underrated King of NextJS w/ Animations 👑😂

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

    28:23 that joy of achievement we work for hahaha. Thank you, you're a real teacher.

  • @stefantrajkov7877
    @stefantrajkov7877 9 месяцев назад +2

    Amazing work! Very educational and helpful! Please continue, never stop, waiting with eager your next content. 🎉👏

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

    This is Awesome! This definitely helps me understand some of the animation timing and sequences. I am testing out page transitions using app router and Barbajs. With Gsaps new useGsap function which is basically a us effect and use layouteffect. It might be possible to link the routing. Though I’m using dynamic routing for my other pages It will definitely seem like a fun challenge.
    Always good content Oliver! You always come through in the perfect time!

  • @mateuspaula_dev
    @mateuspaula_dev 10 месяцев назад +5

    Thanks a lot for this video buddy, I got to build this page transition by myself and it was really cool to see the way you built it.
    Keep bringing great content as always, big hug!

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

    Dude, you are a genius simplified, how you don't have 1m views

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

    Wooow damn, I've just founded your channel and you win a new subscriber ! Damn you rock man, thanks a lot for your all of your works !

  • @HA-R-E
    @HA-R-E 10 месяцев назад +2

    thanks for share your knowledge with us. I'm using it in my portfolio.

  • @TJEmon-n6c
    @TJEmon-n6c 4 месяца назад

    best mordern instructor i have seen so far

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

    Thank you so much!
    Please keep bringing your awesome content!
    Big Hug!

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

      For sure! Thank you for the support

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

    As always, awesome tutorial!

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

    just awesome
    since long time i was in search of this type of tutorial .

  • @therealsharat
    @therealsharat 10 месяцев назад +2

    First of all, I requested you for a video on this topic in your previous video so thank you so much for making this!
    Just wish you would've used the app router since it is the more used in Next.js these days, but hey, thanks for the wonderful explanation on these animations. Getting a perspective on how to think and plan these animations with a certain mindset really helps a lot. Amazing videos as always. Cheers!

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

      Glad you enjoyed. I wish it was available on the App router too, but it's not officially supported as of today

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

      @@olivierlarose1 Hi bro! Do you have any idea if it will be supported any soon?

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

    I learned a lot of things from this! Thanks a lot Olivier 🔥

  • @manjeshkumarsharma
    @manjeshkumarsharma 10 месяцев назад +2

    Your videos are OP🔥

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

    Bro, I'm litreally finding the way to make the page transition, and dennis portfolio was the inspiration for me as well❤️

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

    Your channel is amazing.

  • @Marya0915
    @Marya0915 11 дней назад

    an extremely comprehensive content 👍🏻 definitely going to join your animation course once launches, I'm wondering about the plugin you used at 28:00 to calculate/detect the height in the third animation, what is it? it a time saver really

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

    This guy is going to be famous real soon

  • @Mater-code
    @Mater-code 3 месяца назад

    Great vid, remember to hydrate yourself bro.

  • @germancho-dev
    @germancho-dev 9 месяцев назад

    you rapidly earned a new subscriber! i'm eager to see new videos!

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

      Thanks! Glad you’re enjoying the content

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

    top tier content 🔥🔥

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

    Thanks again for the great content, Olivier! I am kind of bummed that the page transitions are only possible using page router. Going to definitely look into this more and see if using page router jeopardizes any of the SEO benefits that app router has.

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

      FYI the page router does not jeopardize any of the SEO benefits, they have the exact same benefits SEO wise

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

      ​@@olivierlarose1 ah ok!

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

    nicely explained.

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

    always op content 🔥🔥🔥🔥🔥

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

    I thought motion exit was broken since next12?, I need to look into this again, good idea using the component.

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

    Great Video!

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

    As a beginner, I've been thinking, with the app router, what if all the page (home, about, contact, etc.) is made as a components, then import those component into just one page to contain all these "page" components, then create the transition in that one page?
    And then hide all the component except one (if at home component, hide all component other than home component, and vice versa.)
    So we only have 1 page. I feel like this is a very roundabout way of doing it lol. 😂
    The only thing that probably wouldn't work is the back button.
    Nice video btw! 👍

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

      That could work yeah, but that's a massive hack, I would just user the Page router instead lol

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

    You explain so well

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

    Super vidéo, bravo

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

    My goat has posted... ❤

  • @AmiyaRanjan-u4i
    @AmiyaRanjan-u4i 7 месяцев назад

    Hey Oliver
    Nice tutorial man
    but can i use tailwind instead of custom css ?
    will it work

  • @tomrodriguez894
    @tomrodriguez894 3 месяца назад

    Love your work! Do you know if there is any way of doing something similar with the App Router yet?

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

    Great tutorial Olivier! Your videos are always on point.
    I was wondering, is there any way to prevent scrolling while the transition is running?

    • @cityisbetter
      @cityisbetter 4 месяца назад

      if u found out how, please let me know

  • @ПавелЛеоненко-й1ч
    @ПавелЛеоненко-й1ч 10 месяцев назад +1

    Thank you so much for a great tutorial! I have a question. Can we make different page transitions between different pages?

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

    Great content 🎉

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

    This is awesome! But for some reason, my exit animation isn't working. I'm using vite with react

  • @Otto-D
    @Otto-D 9 месяцев назад

    Merci Olivier

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

    how to start to learn this all things from scratch? im a web designer, but all this animation and page transition is sick bro! do you have a training to learn all this things becoming a web developer? thanks bro! much love from philippines

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

    Amazing ❤

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

    thanks bro

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

    awesome , how i do this in app router is simply have buttons as links and on press animate page first and then route , match that animation on loaded page

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

    Hey oli bro, exactly what i was looking for my portfolio website, but im using app router though😢.
    Also can you look into some initial loading animation when a website loads? Thanks for osm content as always.❤

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

      You don't necessarly need to use the App router for a portfolio, the Page router would work fine.
      And if you use Next.js, you probably don't need a loading animation if all your data is pre-redenred. However you could have an introduction when landing on the website, is that what you want me to take a look at?

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

      @@olivierlarose1 yes exactly, sorry for the confusion but yes the introduction animation is what i meant to say😁

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

    I realy love your videos

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

    this video is a classic

  • @devyb-cc
    @devyb-cc 10 месяцев назад +18

    it's such a shame isn't it, that we can't make page transition in app router yet.

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

      Just realised this when I’m almost done creating the website with app router lol

    • @devyb-cc
      @devyb-cc 10 месяцев назад

      @@alvin3171997 currently, i much prefer nuxtjs when it come to simple web (i love their transition api) and choose nextjs when building a complex app.

    • @olivierlarose1
      @olivierlarose1  10 месяцев назад +4

      100%. It's a shame but I'm hopeful it will be possible in the future with the View Transitions API

    • @devyb-cc
      @devyb-cc 10 месяцев назад +1

      @@olivierlarose1 would like videos about it oli 🙌

    • @roguegoblin2407
      @roguegoblin2407 10 месяцев назад +4

      I've done it with app router, lmk if you wanna see the repo, nextjs + gsap

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

    Lets goooooowwww 🎉

  • @_back_heart_
    @_back_heart_ Месяц назад +1

    How can I create this kind of text animation 1:56? Please make a video.

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

    Just by curiousity, it should be able with the new App router now with intercepting routes right? Or am I mistaken?

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

    You can use template in app router to add page transition

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

      I don’t think so. You might be able to have an entry animation on page change but not an exit animation as of now

  • @جوادجیتی
    @جوادجیتی 10 месяцев назад

    i love it

  • @MuhammadAdil-f6s
    @MuhammadAdil-f6s 8 месяцев назад

    amazing bro I loved it can you please make the same animation with the app router

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

    Give this guy a GitHub Walk of Fame star...

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

    Really like your content. You from MTL?

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

    Hey, nice tutorial, could you also rebuild Dennis's Burger Menu animations?

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

      nvm, found out ur other video which covered that, thanks anyway

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

    The fact that you can't make a basic fade-out-in page transition with the new app router makes me question nextjs's sanity

    • @NongChomPuVish
      @NongChomPuVish 4 месяца назад +1

      wrapping the animation component around {children} in layout.ts should work no?

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

    I was waiting for that video since i saw your comment on your previous video, was really looking forward to you finding out how to make these transitions (even in a hacky way), do you really think there is no solution ?
    edit : Maybe you could wrap your app in a client provider that catches all path changes before they happen, plays the animation and then pushes the new path ? But then we can’t use Link and have them preload the page they point to i guess…

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

      There are no official solutions as of now, but I'm not too worried, I think the new View Transitions API could eventually work with the App router

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

      ⁠​⁠@@olivierlarose1yes certainly, and we’re gonna need safari to support view transitions too

  • @cityisbetter
    @cityisbetter 4 месяца назад

    I have some animations in every page when first loaded, but its not visible since the page transition is being rendered on top of the page, but dennis’s page transition has a nice slide up animation, how do u implement that

  • @lakshya5946
    @lakshya5946 3 месяца назад +1

    Why The exit animation is not working in the slide animation in the project I've created? can you please tell me, I'm very frustrated by this error. and also the animation is not working without adding "use client" to the Inner/index.jsx file.
    The exit parameter is not working in the animation of slide.

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

      Motion exit is broken since next12.

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

      @@andres03ortega Bro I'm Still Working on That Project 😭. I've scraped this animation.
      Thank You For Replying 😭

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

    Awesome tutorial! Your source code page seems to be giving a 500 internal error though.

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

    🔥🔥🔥

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

    i tried to do it with plain react but it wont work..
    import "./App.css";
    import { Outlet } from "react-router-dom";
    import Navbar from "./components/Navbar";
    import Footer from "./components/Footer";
    import { AnimatePresence } from "framer-motion";
    export default function App() {
    return (



    );
    }

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

    I've been trying to recreate this using Reac.js intead of next.js, but I'm having problems with react router. I can't seem to figure out how to show the proper route during the svg slide. I click on the page link, svg slides up (exit), but the div that uses useLocation from react router shows the exiting route, not the route that I clicked on. And then on enter of the svg it changes to the location it was supposed to show.

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

    cool!

  • @cityisbetter
    @cityisbetter 4 месяца назад

    Dennis’s page transition runs fine in laptop but in mobile its super laggy, straight up unusable, in pageinsights this page transition loses 20-30 points in performance.
    Did any1 find a way to optimize this? At least help me optimize, i have no idea how to do so

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

    this kind of still old as we dont have _app now in app folder, could you make second part of this video how to integrate in that, one solution i found is templete.js file

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

    This is unrelated but, bro is actually a bro! You're cute btw 😂😂

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

    One question when I am using next/link , it does not animating instead it directly go to page, i have to use a tag which is reloading whole page.

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

    The tutorial is awesome but im having difficulty in only one thing that what version of next js u r using cuz rn the layout.jsx doesnt render the _app.js content. I tried using ai for help and some other vids for explaination but couldnt actually understand the setup part can someone pls explain how to tackle this situation

    • @zacmuturi4522
      @zacmuturi4522 3 месяца назад

      When you npx create-next-app@latest choose "no" when it prompts you to choose yes or no for the app router...

  • @theKageEth
    @theKageEth 3 месяца назад

    can you do gsap ones, framer is overratted

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

    How did you configure your scss to work with components without importing? I'm new to frontend :D

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

      Simply run npm install sass and it should compile right away no need for other configs

  • @جوادجیتی
    @جوادجیتی 5 месяцев назад

    now how can i do that in app router ?

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

    should we use gsap + react ? or framer motion + react ?

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

      framermotion is free and user friendly so i’d go with that

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

      Gsap with React works fine, but personally I think Framer Motion with React fits better

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

    Make a app route page transition please

  • @جوادجیتی
    @جوادجیتی 4 месяца назад

    what is your camera bro ?

  • @galihprasetiyo191
    @galihprasetiyo191 13 дней назад

    Can you create video for nuxt

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

    Can you please explain briefly why page transition is not possible in app router?

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

      There’s an open issue check it out here: github.com/vercel/next.js/issues/49279

  • @Jatin-gj4uf
    @Jatin-gj4uf 3 месяца назад

    bro i want the text animation help plz

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

    pages for small? I can't agree, pages is there for long time, and app is new

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

      I agree, I think small might not be the right word. The App router is good for web apps basically, so the page Router is fine for “simple” MPA’s

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

    pls make framer motion tutorial

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

    Why can’t we use app router ?

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

      The internal routing is not made the same, there's no way of officially making a page transition using the App router, you would have to find a hack.

  • @Ivan-Shyriaiev
    @Ivan-Shyriaiev 10 месяцев назад

    uh oh sorry is it works in app router ?

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

    Why not app router???

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

      Not officially supported as of today

  • @XYZ-gu3rp
    @XYZ-gu3rp 10 месяцев назад

    Bro Your website is showing a internal server error ,can you check it.

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

      I don't see it myself, you mind giving the failing url?

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

    U r osm bro

  • @Ivan-Shyriaiev
    @Ivan-Shyriaiev 10 месяцев назад

    Amazing ! 😍😍😍😍😍😍😍😍😍😍
    Is it possible to make the same thing in nextjs 14 ?
    There is no _app.tsx file anymore and you have to rely on layout.tsx template.tsx page.tsx and all this new invented stuff
    i tried to wrap my template.tsx component in but animations works only for the initial animation
    exit={{opacity:0}} - isn't works

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

      with the App router no you can't, it's not officially supported