# Modern iPhone 15 inspired website using Three.js and GSAP animations. ![Modern iPhone 15 inspired website using Three.js and GSAP animations.](/.github/images/img_main.png "Modern iPhone 15 inspired website using Three.js and GSAP animations.") [![Ask Me Anything!](https://flat.badgen.net/static/Ask%20me/anything?icon=github&color=black&scale=1.01)](https://github.com/sanidhyy "Ask Me Anything!") [![GitHub license](https://flat.badgen.net/github/license/sanidhyy/apple-clone?icon=github&color=black&scale=1.01)](https://github.com/sanidhyy/apple-clone/blob/main/LICENSE "GitHub license") [![Maintenance](https://flat.badgen.net/static/Maintained/yes?icon=github&color=black&scale=1.01)](https://github.com/sanidhyy/apple-clone/commits/main "Maintenance") [![GitHub branches](https://flat.badgen.net/github/branches/sanidhyy/apple-clone?icon=github&color=black&scale=1.01)](https://github.com/sanidhyy/apple-clone/branches "GitHub branches") [![Github commits](https://flat.badgen.net/github/commits/sanidhyy/apple-clone?icon=github&color=black&scale=1.01)](https://github.com/sanidhyy/apple-clone/commits "Github commits") [![GitHub issues](https://flat.badgen.net/github/issues/sanidhyy/apple-clone?icon=github&color=black&scale=1.01)](https://github.com/sanidhyy/apple-clone/issues "GitHub issues") [![GitHub pull requests](https://flat.badgen.net/github/prs/sanidhyy/apple-clone?icon=github&color=black&scale=1.01)](https://github.com/sanidhyy/apple-clone/pulls "GitHub pull requests") [![Netlify Status](https://api.netlify.com/api/v1/badges/e2c95681-9266-4df6-9fec-324951ab778b/deploy-status)](https://app-iphone.netlify.app/ "Netlify Status")
# :notebook_with_decorative_cover: Table of Contents - [Folder Structure](#bangbang-folder-structure) - [Getting Started](#toolbox-getting-started) - [Screenshots](#camera-screenshots) - [Tech Stack](#gear-tech-stack) - [Stats](#wrench-stats) - [Contribute](#raised_hands-contribute) - [Acknowledgements](#gem-acknowledgements) - [Buy Me a Coffee](#coffee-buy-me-a-coffee) - [Follow Me](#rocket-follow-me) - [Learn More](#books-learn-more) - [Deploy on Netlify](#page_with_curl-deploy-on-netlify) - [Give A Star](#star-give-a-star) - [Star History](#star2-star-history) - [Give A Star](#star-give-a-star)
## :bangbang: Folder Structure Here is the folder structure of this app. ```bash apple-clone/ |- public/ |- src/ |-- assets/ |-- components/ |--- Features.jsx |--- Footer.jsx |--- Hero.jsx |--- Highlights.jsx |--- HowItWorks.jsx |--- IPhone.jsx |--- Lights.jsx |--- Loader.jsx |--- Model.jsx |--- ModelView.jsx |--- Navbar.jsx |--- VideoCarousel.jsx |-- constants/ |--- index.js |-- utils/ |--- animations.js |-- App.jsx |-- index.css |-- main.jsx |- .eslintrc.json |- .gitignore |- bun.lock |- index.html |- netlify.toml |- package.json |- postcss.config.js |- tailwind.config.js |- vite.config.js ```
## :toolbox: Getting Started 1. Make sure **Git** and **NodeJS** is installed. 2. Clone this repository to your local computer. 3. Install project dependencies using `npm install --legacy-peer-deps` or `yarn install --legacy-peer-deps` 4. Now app is fully configured 👍 and you can start using this app using either one of `npm run dev` or `yarn dev`. **NOTE:** Please make sure to keep your API keys and configuration values secure and do not expose them publicly. ## :camera: Screenshots ![Modern UI/UX](/.github/images/img1.png "Modern UI/UX") ![Interactive Design](/.github/images/img2.png "Interactive Design") ![3D iPhone Models](/.github/images/img3.png "3D iPhone Models") ![Modern Animations](/.github/images/img4.png "Modern Animations") ## :gear: Tech Stack [![React JS](https://skillicons.dev/icons?i=react "React JS")](https://react.dev/ "React JS") [![Vite JS](https://skillicons.dev/icons?i=vite "Vite JS")](https://vitejs.dev/ "Vite JS") [![Javascript](https://skillicons.dev/icons?i=js "Javascript")](https://developer.mozilla.org/en-US/docs/Web/JavaScript "Javascript") [![Tailwind CSS](https://skillicons.dev/icons?i=tailwind "Tailwind CSS")](https://tailwindcss.com/ "Tailwind CSS") [![Netlify](https://skillicons.dev/icons?i=netlify "Netlify")](https://netlify.app/ "Netlify") ## :wrench: Stats [![Stats for Apple Clone](/.github/images/stats.svg "Stats for Apple Clone")](https://pagespeed.web.dev/analysis?url=https://app-apple-clone.netlify.app/ "Stats for Apple Clone") ## :raised_hands: Contribute You might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines. ## :gem: Acknowledgements Useful resources and dependencies that are used in Apple Clone. - [@gsap/react](https://www.npmjs.com/package/@gsap/react): ^2.1.2 - [@react-three/drei](https://www.npmjs.com/package/@react-three/drei): ^10.7.7 - [@react-three/eslint-plugin](https://www.npmjs.com/package/@react-three/eslint-plugin): ^0.1.2 - [@react-three/fiber](https://www.npmjs.com/package/@react-three/fiber): ^9.6.1 - [@types/react](https://www.npmjs.com/package/@types/react): ^19.2.15 - [@types/react-dom](https://www.npmjs.com/package/@types/react-dom): ^19.2.3 - [@vitejs/plugin-react](https://www.npmjs.com/package/@vitejs/plugin-react): ^6.0.2 - [autoprefixer](https://www.npmjs.com/package/autoprefixer): ^10.5.0 - [eslint](https://www.npmjs.com/package/eslint): ^10.4.0 - [eslint-config-prettier](https://www.npmjs.com/package/eslint-config-prettier): ^10.1.8 - [eslint-config-standard](https://www.npmjs.com/package/eslint-config-standard): ^17.1.0 - [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import): ^2.32.0 - [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react): ^7.37.5 - [eslint-plugin-react-hooks](https://www.npmjs.com/package/eslint-plugin-react-hooks): ^7.1.1 - [eslint-plugin-react-refresh](https://www.npmjs.com/package/eslint-plugin-react-refresh): ^0.5.2 - [eslint-plugin-tailwindcss](https://www.npmjs.com/package/eslint-plugin-tailwindcss): ^3.18.3 - [gsap](https://www.npmjs.com/package/gsap): ^3.15.0 - [postcss](https://www.npmjs.com/package/postcss): ^8.5.15 - [prettier](https://www.npmjs.com/package/prettier): ^3.8.3 - [react](https://www.npmjs.com/package/react): ^19.2.6 - [react-dom](https://www.npmjs.com/package/react-dom): ^19.2.6 - [tailwindcss](https://www.npmjs.com/package/tailwindcss): ^3.4.17 - [three](https://www.npmjs.com/package/three): ^0.184.0 - [three-stdlib](https://www.npmjs.com/package/three-stdlib): ^2.36.1 - [vite](https://www.npmjs.com/package/vite): ^8.0.13 ## :coffee: Buy Me a Coffee [](https://www.buymeacoffee.com/sanidhy "Buy me a Coffee") ## :rocket: Follow Me [![Follow Me](https://img.shields.io/github/followers/sanidhyy?style=social&label=Follow&maxAge=2592000)](https://github.com/sanidhyy "Follow Me") [![Tweet about this project](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fx.com%2F_sanidhyy)](https://x.com/intent/tweet?text=Check+out+this+amazing+app:&url=https%3A%2F%2Fgithub.com%2Fsanidhyy%2Fapple-clone "Tweet about this project") ## :books: Learn More To deepen your understanding of React.js and Netlify, explore the following resources: - [React.js Documentation](https://reactjs.org/docs) - delve into React.js features, concepts, and API. - [React Official Tutorial](https://reactjs.org/tutorial) - an interactive tutorial to get hands-on experience with React. For Netlify-specific information: - [Netlify Documentation](https://docs.netlify.com) - learn about Netlify's features, deployment options, and more. - [Getting Started with Netlify and React](https://docs.netlify.com/frameworks/react) - a guide on deploying React applications on Netlify. You're encouraged to contribute and provide feedback on [Netlify's GitHub repository](https://github.com/netlify/netlify). ## :page_with_curl: Deploy on Netlify The simplest way to deploy your React.js app is to use the [Netlify Platform](https://app.netlify.com/start) - a powerful platform for modern web projects. Explore the [Netlify deployment documentation](https://docs.netlify.com/site-deploys/create-deploys) for step-by-step instructions on deploying your React.js app on Netlify. Happy coding, and feel free to share your thoughts and improvements with the [Netlify community](https://community.netlify.com)! ## :star: Give A Star You can also give this repository a star to show more people and they can use this repository. ## :star2: Star History Star History Chart

(back to top)