diff --git a/apps/fronted/src/app/dashboard/resumes/page.tsx b/apps/fronted/src/app/dashboard/resumes/page.tsx index 0f63e87..1bda36b 100644 --- a/apps/fronted/src/app/dashboard/resumes/page.tsx +++ b/apps/fronted/src/app/dashboard/resumes/page.tsx @@ -1,4 +1,5 @@ "use client"; + import React, { useEffect } from "react"; import { Plus, FileText, Settings, AlertCircle } from "lucide-react"; import { motion, AnimatePresence } from "framer-motion"; @@ -9,12 +10,12 @@ import { CardContent, CardDescription, CardFooter, - CardHeader, CardTitle, } from "@/components/ui/card"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; import { getConfig, getFileHandle, verifyPermission } from "@/utils/fileSystem"; import { useResumeStore } from "@/store/useResumeStore"; +import { cn } from "@/lib/utils"; const ResumesList = () => { return ; @@ -92,6 +93,7 @@ const ResumeWorkbench = () => { animate={{ opacity: 1 }} exit={{ opacity: 0 }} transition={{ duration: 0.3 }} + className="flex-1 space-y-6" > { 已设置备份文件夹 -
+
- + - + - - 创建新简历 - - - 从头开始创建 - + 创建新简历 + 从头开始创建 @@ -201,55 +208,64 @@ const ResumeWorkbench = () => { whileHover={{ scale: 1.02 }} whileTap={{ scale: 0.98 }} > - - + + - + - + {resume.title || "未命名简历"} - - {new Date(resume.createdAt).toLocaleDateString()} + + 创建于 {new Date(resume.createdAt).toLocaleDateString()} - -
- - - - - - -
-
+ +
+ + + + + + +
+
))}