This is a project in cloning the Apples's Iphone 15 Pro website, built using React.js and Tailwind CSS. It makes use of the GSAP (Greensock Animations) and Three.js which is used to display the iPhone 15 Pro models in various colors and shapes.
- React.js
- Three.js
- React Three Fiber
- React Three Drei
- GSAP(Greensock)
- Vite
- Tailwind CSS
-
This project has a Beautiful subtle smooth animations using GSAP: The user experience has been enhanced with seamless, wonderful and captivating animations that are being powered by GSAP.
-
This project has a custom video carousel (made with GSAP): This will engage users with a unique and interactive video carousel that is developed with GSAP for a wonderful browsing experience.
-
This project uses 3D Model Rendering with different colors and sizes: This will allow users to explore the iPhone 15 Pro from every angle with a dynamic 3D rendering, that offers various colors and size options
-
This project is also completely responsive it uses consistent access and optimal viewing on any device with a fully responsive design that adapts to different screen sizes.
- First, I started by setting up the project with Vite and installing the required dependencies.
- Then, I created the basic structure of the website using React.js and Tailwind CSS.
- Next, I implemented the GSAP animations and the custom video carousel.
- After that, I integrated the Three.js library to render the 3D models of the iPhone 15 Pro.
- Finally, I added the custom styles and layouts to make the website visually appealing.
- I also made sure that the website is fully responsive and works well on different devices.
- I also made sure that the website is accessible and follows the best practices for web development.
- I also made sure that the website is SEO friendly and can be easily crawled by search engines
- I also made sure that the website is secure and follows the best practices for web security.
- I also made sure that the website is maintainable and can be easily updated and modified in the future.
- I also made sure that the website is scalable and can handle a large number of users.
- I learned how to use GSAP to create smooth and seamless animations.
- I learned how to use Three.js to render 3D models.
- I learned how to use React Three Fiber and React Three Drei to integrate Three.js with React.
- I learned how to setup sentry and the importance of how it performs
- First, you need to install the sentry-cli package globally on your system.
- Then, you need to create a new project on the sentry dashboard.
- After that, you need to initialize the sentry-cli package in your project.
- Next, you need to configure the sentry-cli package to send errors to the sentry dashboard.
- Finally, you need to start the sentry-cli package in your project.
- You can also use the sentry-cli package to send custom events to the sentry dashboard.
- You can also use the sentry-cli package to get the current user's session information.
- You can also use the sentry-cli package to get the current user's environment information.
- You can also use the sentry-cli package to get the current user's browser information.
- You can also use the sentry-cli package to get the current user's device information.
- I would improve the website by adding more features and functionality.
- I would improve the website by making it more interactive and engaging.
- I would improve the website by making it more responsive and accessible.
- I would improve the website by making it more secure and maintainable.
-
First, you need to clone the project from the GitHub repository:
git clone https://github.com/Lawani-EJ/15ProLandingPage
-
Navigate to the project directory:
cd AppleIphonePro
-
Install the project dependencies using
npm
:npm install
-
Start the development server:
npm run dev
This will start the Vite development server, and the project will be available at a local address (e.g.,
http://localhost:5173
). -
Open your browser and visit the URL displayed in the terminal to view the application.
-
To build the project for production, use:
npm run build
This will generate optimized static assets in the
dist
folder. -
To preview the production build locally, use:
npm run preview
This is useful to test how the application works in a production-like environment.
For additional insights, tips, and tutorials that helped shape this project, check out the YouTube channel referenced below:
- Channel Name: JavaScript Mastery.
- Video Title: Build and Deploy an Apple Website with React | Beginner Three.js & GSAP Tutorial
- Link: Build and Deploy an Apple Website with React
I would love to give a special thanks to the adrianhajdin for this detailed explanation and guidance, which greatly contributed to the success of this project!