Giter Site home page Giter Site logo

i-sviridov / ngmcompany Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 51.62 MB

a highly animated & attractive landing page

Home Page: http://ngm-company.vercel.app

JavaScript 95.22% CSS 4.78%
framer-motion material-ui nextjs nodejs nodemailer react react-tsparticles typewriter

ngmcompany's Introduction

NGM Company project

  • A React/Next.js landing SPA that I designed and built from the ground up for a real local business.

  • Website: https://www.ngmcompany.ru/

  • Stack: React, Next.js, Material UI, HTML, CSS, Framer Motion, Node.js, Nodemailer, Typewriter, React-tsparticles

image

Description

The SPA is highly animated and includes different visual effects and features, such as a typewriter effect and an image carousel. It uses Material UI components to keep the design consistent throughout the whole application. Moreover, I used different libraries, like Typewriter, React-tsparticles for additional visual effects. The application embraces the getStaticProps() function from Next.js to generate static pages from data in a json file.

image

Components have a nice animation effect when they appear on screen. Besides, they have a nice hover effect, as shown below.

image

Each individual item is presented on its own page using dynamic routes. I also used the getStaticPaths() function from Next.js to pre-populate the page with information according to the url params entered.

image

Finally, the application also provides the opportunity to send an email to the company's address right from the page. For this, I made a form API route backend with a Nodemailer, which is responsible for sending mails. I used a small math test for a simple anti-spam check.

image

The application supports the following API route:

/api/form                                                                                                                  
{
 method: 'POST',
 headers: { 'Content-Type': 'application/json' },
 body: JSON.stringify({data})
}

How to install

  1. Download the zip file or clone the repo
  2. Install and run
npm install
npm run dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.