- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL - 修复 HomePage.tsx 中所有图片引用 - 修复 CoursePage.tsx 中所有图片引用 - 确保图片在 GitHub Pages 上正确加载 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 line
1.4 KiB
JSON
1 line
1.4 KiB
JSON
{"ast":null,"code":"import { velocityPerSecond } from 'motion-utils';\nconst velocitySampleDuration = 5; // ms\nfunction calcGeneratorVelocity(resolveValue, t, current) {\n const prevT = Math.max(t - velocitySampleDuration, 0);\n return velocityPerSecond(current - resolveValue(prevT), t - prevT);\n}\nexport { calcGeneratorVelocity };","map":{"version":3,"names":["velocityPerSecond","velocitySampleDuration","calcGeneratorVelocity","resolveValue","t","current","prevT","Math","max"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs"],"sourcesContent":["import { velocityPerSecond } from 'motion-utils';\n\nconst velocitySampleDuration = 5; // ms\nfunction calcGeneratorVelocity(resolveValue, t, current) {\n const prevT = Math.max(t - velocitySampleDuration, 0);\n return velocityPerSecond(current - resolveValue(prevT), t - prevT);\n}\n\nexport { calcGeneratorVelocity };\n"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,cAAc;AAEhD,MAAMC,sBAAsB,GAAG,CAAC,CAAC,CAAC;AAClC,SAASC,qBAAqBA,CAACC,YAAY,EAAEC,CAAC,EAAEC,OAAO,EAAE;EACrD,MAAMC,KAAK,GAAGC,IAAI,CAACC,GAAG,CAACJ,CAAC,GAAGH,sBAAsB,EAAE,CAAC,CAAC;EACrD,OAAOD,iBAAiB,CAACK,OAAO,GAAGF,YAAY,CAACG,KAAK,CAAC,EAAEF,CAAC,GAAGE,KAAK,CAAC;AACtE;AAEA,SAASJ,qBAAqB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |