Skip to content

suvammohapatra93/IPhone15Pro-Frontend-Clone-3JS

Repository files navigation

iPhone 15 Website Clone

A visually stunning, fully responsive clone of the iPhone 15 website, designed to provide an immersive and engaging user experience. Built with React, Tailwind CSS, GSAP animations, and Three.js for 3D effects.

iPhone's Original Website for 16 :- https://www.apple.com/in/iphone-16-pro/

My website :- Suvam-iPhone Website

Features

Responsive Design: Seamlessly adapts to different screen sizes.

Smooth Animations: Animated transitions powered by GSAP.

3D Interactions: Integrated Three.js for a realistic, interactive experience.

Error Monitoring: Sentry integration for real-time bug tracking.

Installation

Clone the repository and install the required dependencies.

# Clone the repository
git clone https://github.com/your-username/iphone15-website-clone.git

# Navigate to the project directory
cd iphone15-website-clone

# Initialize a new Vite project with React
npm create vite@latest my-project -- --template react

# Navigate to the new project directory
cd my-project

# Install base dependencies
npm install

# Install Tailwind CSS and its required plugins
npm install -D tailwindcss postcss autoprefixer

# Initialize Tailwind CSS configuration
npx tailwindcss init -p

Update tailwind.config.js In tailwind.config.js, update the content array as follows to ensure Tailwind scans your files correctly:

content: [
  "./index.html",
  "./src/**/*.{js,ts,jsx,tsx}",
]

Install Animation and 3D Libraries

To create smooth animations and interactive 3D models, install the following libraries:

# GSAP and GSAP React for animations
npm install gsap @gsap/react

# Three.js with helper libraries for easier 3D object handling in React
npm install three @react-three/drei @react-three/fiber

# Install Sentry's React SDK for error tracking
npm install --save @sentry/react

# Install Sentry CLI for project configuration
npm install -g @sentry/wizard@latest


Dependencies

React - JavaScript library for building user interfaces

Vite - Next-generation frontend tool

Tailwind CSS - Utility-first CSS framework for rapid UI development

GSAP - JavaScript library for creating high-performance animations

Three.js - JavaScript 3D library

Sentry - Real-time error tracking for monitoring issues

Scripts

To run the project locally:

# Start the development server
npm run dev

License

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

Built by me :- Suvam Mohapatra

My LinkedIN Profile:-

LinkedIN

My Twitter Account :- Twitter/X

My GitHub Account :- GitHub

LinkTree Profile :- LinkTree

SUVAM MOHAPATRA

About

A sleek, responsive clone of the iPhone 15 website featuring smooth animations, 3D interactions, and real-time error tracking. Built with React, Tailwind CSS, GSAP, and Three.js for an immersive experience. Live:- https://i-phone15-pro-frontend-clone-3-js.vercel.app/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors