This project is a responsive contact page built using React, Material UI, and React Bootstrap. It features a contact form with validation, integration with EmailJS for sending messages, and language translation support with i18next. The application is deployed on GitHub Pages.
You can view the deployed version of this project at the following link: Here.
- Responsive Design: Built with Material UI and Bootstrap for modern, mobile-friendly layouts.
- Contact Form: Includes fields for name, email, and message with validation using
react-hook-form. - Email Integration: Sends form submissions via EmailJS.
- Language Support: Uses i18next for multi-language support (e.g., English and Spanish).
- Floating Action Button: Quick access to the contact form with a Material UI FAB.
- Custom Deployment: Configured to deploy on GitHub Pages.
- Frontend: React, Material UI, React Bootstrap
- Form Handling: react-hook-form
- Email Integration: EmailJS
- Localization: i18next
-
Clone the repository:
git clone https://github.com/your-username/your-repository.git
-
Navigate to the project directory:
cd your-repository -
Install dependencies:
npm install # or yarn install -
Add a
.envfile with the following variables:VITE_SERVICE_ID=your_emailjs_service_id VITE_TEMPLATE_ID=your_emailjs_template_id VITE_PUBLIC_KEY=your_emailjs_public_key
-
Start the development server:
npm run dev # or yarn dev
- React: ^18.0.0
- Material UI: ^5.0.0
- React Bootstrap: ^2.5.0
- react-hook-form: ^7.0.0
- EmailJS: ^3.0.0
- i18next: ^21.0.0
- SweetAlert2: ^11.0.0
Feel free to open issues or submit pull requests for improvements or bug fixes.
This project is licensed under the MIT License.
- Thanks to Material UI and React Bootstrap for their amazing libraries.
- Special thanks to EmailJS for their easy-to-use email API.