Skip to content

Pixel-perfect clone of the award-winning Ochi website, built with smooth animations and modern web technologies. Inspired by top-tier design featured on Awwwards.

Notifications You must be signed in to change notification settings

Rizwanhu/Awwwards-Ochi-Animated-Website-Clone

Repository files navigation

React Project


image

This is a fully front-end React application built using modern tools and libraries for creating dynamic and interactive user interfaces. The app is powered by Vite for fast development and optimized production builds, and incorporates libraries like Framer Motion and GSAP for animation, as well as Locomotive Scroll for smooth scrolling effects.

Features

Modern React App: Built using React 18, providing a fast and responsive user interface.
Animations: Utilizes Framer Motion and GSAP for smooth and interactive animations.
Smooth Scrolling: Locomotive Scroll library ensures smooth scroll interactions.
TailwindCSS: Utility-first CSS framework for rapid UI development.
Linting & Code Quality: ESLint integration for consistent code quality and style.

image

Technologies

React: For building the UI components.
Vite: For fast development and build tool.
TailwindCSS: For styling the application with a utility-first approach.
Framer Motion: For advanced animations.
GSAP: For high-performance animations.
Locomotive Scroll: For smooth scrolling effects.
ESLint: For ensuring code quality with linting.

image


Setup Instructions

Clone the Repository

Clone this repository to your local machine using the following command:

git clone https://github.com/your-username/react-project.git

Install Dependencies

image

Navigate to the project folder and install all the required dependencies using npm or yarn:

cd react-project
npm install

Or, if you're using Yarn:

yarn install

Run the Development Server

Start the development server using the following command:

npm run dev

This will launch the application on http://localhost:3000. The app will automatically reload on code changes.

Build for Production

To build the app for production, run:

npm run build

This will generate a dist folder with the optimized build.

Preview the Production Build

After building the app, you can preview the production build using:

npm run preview

Linting and Code Quality This project includes ESLint for maintaining code quality and style consistency. To run the linter, use the following command:

npm run lint

This will check your code for any style violations or errors.

image

Project Structure

react-project/
│
├── public/               # Static files
│
├── src/                  # React source code
│   ├── assets/           # Images, fonts, etc.
│   ├── components/       # Reusable components
│   ├── hooks/            # Custom hooks
│   ├── pages/            # Pages for different routes
│   ├── styles/           # TailwindCSS and other styles
│   ├── App.jsx           # Main app component
│   └── index.js          # Entry point for React
│
├── tailwind.config.js    # TailwindCSS configuration
├── vite.config.js        # Vite configuration
├── package.json          # Project metadata and dependencies
└── README.md             # Project documentation

image


Dependencies

framer-motion: ^11.2.12 - An animation library for React to add advanced animations. gsap: ^3.12.5 - A high-performance animation library for JavaScript. locomotive-scroll: ^5.0.0-beta.13 - A smooth scrolling library. react: ^18.3.1 - React.js for building the UI. react-dom: ^18.3.1 - Provides DOM-specific methods for React. react-headroom: ^3.2.1 - A library for hiding header when scrolling. react-icons: ^5.2.1 - Icon library for React.

Development Dependencies

@vitejs/plugin-react: ^4.3.1 - Vite plugin for React support. eslint: ^8.57.0 - Linting tool for JavaScript and React. tailwindcss: ^3.4.4 - Utility-first CSS framework. vite: ^5.3.1 - Fast build tool for front-end projects.

Contributing

Fork this repository to your own GitHub account. Clone your forked repository to your local machine. Create a new branch to work on your changes. Commit your changes and push to your fork. Open a Pull Request (PR) with a description of your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.


About

Pixel-perfect clone of the award-winning Ochi website, built with smooth animations and modern web technologies. Inspired by top-tier design featured on Awwwards.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published