feat: add form validation to contact section with Zod

This commit is contained in:
张翔
2026-02-13 14:19:30 +08:00
parent 8ac0065a06
commit 6737cbd579
3 changed files with 251 additions and 745 deletions
-5
View File
@@ -9,11 +9,7 @@
"lint": "eslint"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-slot": "^1.2.4",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"framer-motion": "^12.29.2",
"lucide-react": "^0.563.0",
"next": "16.1.6",
"react": "19.2.3",
@@ -29,7 +25,6 @@
"eslint": "^9",
"eslint-config-next": "16.1.6",
"tailwindcss": "^4",
"tw-animate-css": "^1.4.0",
"typescript": "^5"
}
}