import { PrismaClient } from "./prisma/generated/client"; const prisma = new PrismaClient(); const SEED_TASKS = [ { id: "SW-01", title: "Hello VibeWork 標題元件", price: 100, difficulty: "HELLO_WORLD", desc: "在頁面渲染

Hello VibeWork

" }, { id: "SW-02", title: "單色「開始任務」按鈕", price: 100, difficulty: "HELLO_WORLD", desc: "按鈕文案「Start」與 bg-blue-500 text-white rounded-md px-4 py-2" }, { id: "SW-03", title: "小字元件預留區(Badge)", price: 100, difficulty: "HELLO_WORLD", desc: "渲染圓角白底字元標籤,包含 text-sm" }, { id: "SW-04", title: "靜態標籤列(3 個 chip)", price: 100, difficulty: "HELLO_WORLD", desc: "渲染 3 個 .chip 區塊,僅樣式與字串一致" }, { id: "SW-05", title: "簡易 Footer", price: 100, difficulty: "HELLO_WORLD", desc: "包含「Copyright」與年份字串" }, { id: "SW-06", title: "Hero 區塊(無互動)", price: 100, difficulty: "HELLO_WORLD", desc: "包含主標與副標,副標長度 > 15" }, { id: "SW-07", title: "空白頁 + 預留插槽", price: 100, difficulty: "HELLO_WORLD", desc: "渲染空白卡片與「No data」提示" }, { id: "SW-08", title: "單欄價格卡片", price: 500, difficulty: "EASY", desc: "顯示 title / price / description,需有 3 列布局" }, { id: "SW-09", title: "Login Primary Button 組件", price: 500, difficulty: "EASY", desc: "包含「登入」字樣與 onClick prop 傳遞" }, { id: "SW-10", title: "Secondary Button(outline 變體)", price: 500, difficulty: "EASY", desc: "需有 variant prop,outline 時 border 不透明" }, { id: "SW-11", title: "Alert Banner(success / error)", price: 500, difficulty: "EASY", desc: "兩種 type 切換字體色與 icon class" }, { id: "SW-12", title: "Modal Trigger(無邏輯)", price: 500, difficulty: "EASY", desc: "可見觸發按鈕並渲染 Modal 區塊框" }, { id: "SW-13", title: "輸入框 + 標籤組件", price: 500, difficulty: "EASY", desc: "