feat: integrate Tailwind CSS and enhance MainForm component

- Added Tailwind CSS and related packages to the project.
- Refactored App.css and index.css to use Tailwind for styling.
- Enhanced MainForm component with improved form handling, validation, and layout using Material-UI and Tailwind CSS.
- Implemented dynamic error handling and submission feedback.
- Created a new Tailwind configuration file.
This commit is contained in:
2026-01-13 19:46:34 +01:00
parent ba1a221ef3
commit 110a5b17c2
9 changed files with 1028 additions and 217 deletions

View File

@@ -1,4 +1,14 @@
import express from "express";
import dotenv from "dotenv";
const router = express.Router();
dotenv.config();
dotenv.config();
import { getAll25 } from "./frontend.data.js";
router.post("/frontend", (req, res) => {
console.log(req.body);
res.status(200).json({ message: "Data received successfully" });
console.log(getAll25());
});
export default router;