locnt19 / nextjs-with-aos-example

πŸ”Ί NEXT.JS - Example project using Next.js with Animate On Scroll Library.

Home Page:https://nextjs-with-aos-example.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nextjs-with-aos-example

πŸ”Ί NEXT.JS - Example project using Next.js with Animate On Scroll Library.

πŸš€ Demo

πŸ’¬ Explanations

This project was created from the need to implement reveal scroll animations in projects using Next.js. As simple as it sounds, most of the time it becomes a headache when you start running into performance issues from multiple additions of event listeners to your site's DOM. One solution is to externalize this responsibility using AOS. However this has some points of attention such as for example:

With this I decided to create a template that helps me in creating projects with next using everything that is best created by my friend JoΓ£o Pedro Schmitz.

πŸš€ Getting started

The best way to start with this template is using create-next-app.

npx create-next-app ts-next -e https://github.com/brunos3d/nextjs-with-aos-example

If you prefer you can clone this repository and run the following commands inside the project folder:

  1. npm install or yarn;
  2. yarn dev;

To view the project open http://localhost:3000.

After your pull request is merged, you can safely delete your branch.

πŸ“ License

This project is licensed under the MIT License - see the LICENSE.md file for more information.


Template made by JoΓ£o Pedro Schmitz

AOS Implementations made with πŸ’œ by Bruno Silva

About

πŸ”Ί NEXT.JS - Example project using Next.js with Animate On Scroll Library.

https://nextjs-with-aos-example.vercel.app/

License:MIT License


Languages

Language:TypeScript 68.0%Language:CSS 26.9%Language:Shell 4.5%Language:JavaScript 0.6%