This is a responsive, professional landing page for AndrezDevInc, built with React and deployed on GitHub Pages. The site is designed to showcase services, portfolio projects, and provide an easy way for clients to contact us.
- About the Project
- Features
- Technologies Used
- Getting Started
- Deployment
- Custom Domain Setup
- Troubleshooting
- Contributing
- License
This project was developed as a modern, clean, and responsive landing page for AndrezDevInc. It includes various sections like services, portfolio, and a contact form, styled with a sleek design to create a user-friendly experience.
- To showcase portfolio projects and services provided.
- To offer an intuitive way for clients to reach out.
- To ensure a responsive design across all devices.
- Responsive Design: Adapts smoothly to desktop, tablet, and mobile screens.
- Portfolio Section: Displays past projects with clickable images linking to additional details.
- Contact Form: Uses EmailJS integration to enable direct communication from the website.
- Dark Mode Toggle: Allows users to switch between light and dark themes.
- React: JavaScript library for building the user interface.
- CSS Modules: Component-specific styling to keep code organized.
- EmailJS: Service for handling contact form submissions.
- GitHub Pages: For easy, free deployment of the website.
To set up and run this project locally, follow these steps:
- Node.js and npm installed on your system. Download from Node.js at https://nodejs.org/.
-
Clone the repository:
git clone https://github.com/your-username/your-repo-name.git
-
Navigate into the project directory:
cd your-repo-name
-
Install dependencies:
npm install
-
Run the project locally:
npm start
This should open the app at http://localhost:3000 in your browser.
This project is deployed using GitHub Pages. To deploy any updates, follow these steps:
-
Build the app:
npm run build
-
Deploy to GitHub Pages:
npm run deploy
-
Visit your live site:
https://your-username.github.io/your-repo-name
If you are using a custom domain, visit https://yourdomain.com instead.
-
Set the
homepage
field inpackage.json
to your custom domain:"homepage": "https://www.yourdomain.com"
-
Create a
CNAME
file in thepublic
folder with your custom domain:yourdomain.com
-
Update DNS Settings:
- Add A records pointing
yourdomain.com
to these IPs:- 185.199.108.153
- 185.199.109.153
- 185.199.110.153
- 185.199.111.153
- Add a CNAME record for
www.yourdomain.com
pointing toyour-username.github.io
.
- Add A records pointing
If your site shows a blank page after deployment, check these common issues:
- Homepage Field: Ensure
homepage
inpackage.json
points to your custom domain. - Console Errors: Open Developer Tools in your browser and check for any errors in the Console.
- DNS Propagation: DNS changes can take up to 24 hours. Try clearing your browser cache or using incognito mode if updates are not appearing.
- GitHub Pages Settings: Verify that the source for GitHub Pages is set to the
gh-pages
branch under Settings > Pages.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to React for making front-end development accessible.
- Special thanks to EmailJS for simplifying contact form integration.
- Kudos to GitHub Pages for offering easy hosting for static sites.