A modern, responsive website for DuoBit built with React and Material-UI.
- Responsive design that works on all devices
- Modern UI with smooth animations
- Contact form with validation
- Optimized for performance
- Ready for AWS S3 deployment
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository:
git clone <repository-url>
cd duobit-website- Install dependencies:
npm install- Start the development server:
npm startThe website will be available at http://localhost:3000.
To create a production build:
npm run buildThis will create an optimized production build in the build directory.
- Create an S3 bucket in your AWS account
- Enable static website hosting on the bucket
- Configure the bucket policy to allow public access
- Upload the contents of the
builddirectory to the bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::your-bucket-name/*"
}
]
}- Go to your S3 bucket properties
- Scroll down to "Static website hosting"
- Enable static website hosting
- Set the index document to
index.html - Set the error document to
index.html(for client-side routing)
- React
- TypeScript
- Material-UI
- Framer Motion
- Emotion (for styled components)
src/
├── components/ # React components
├── styles/ # Global styles
├── App.tsx # Main App component
└── index.tsx # Entry point
npm start- Runs the app in development modenpm test- Launches the test runnernpm run build- Builds the app for productionnpm run eject- Ejects from create-react-app
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.