This React application generates custom paystubs for Evmos DAO contributors. It provides a user-friendly interface for inputting payment details and generates a professional-looking PDF paystub.
- User-friendly form for inputting paystub details
- Real-time paystub preview
- PDF generation with custom styling
- Responsive design using Chakra UI
- Integration with Evmos DAO branding
-
Clone the repository:
git clone https://github.com/your-username/Paystub-Generator.git
-
Navigate to the project directory:
cd Paystub-Generator
-
Install dependencies:
npm install
-
Start the development server:
npm start
The application should now be running on http://localhost:3000
.
- Fill in the paystub details in the form.
- Review the live preview of the paystub.
- Click the "Generate Paystub" button to create a PDF.
- The PDF will automatically download to your device.
- React
- Chakra UI
- jsPDF
- html2canvas
src/PaystubGenerator.js
: Main component containing the form and paystub generation logicsrc/App.js
: Root component that renders the PaystubGeneratorsrc/index.js
: Entry point of the applicationsrc/styles.css
: Global styles
To customize the logo, replace the image file at /images/evmos-dao-logo-white.png
with your desired logo.
Contributions are welcome! Please feel free to submit a Pull Request.