- 将所有图片路径从绝对路径改为使用 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.8 KiB
JSON
1 line
1.8 KiB
JSON
{"ast":null,"code":"const isNotNull = value => value !== null;\nfunction getFinalKeyframe(keyframes, _ref, finalKeyframe) {\n let {\n repeat,\n repeatType = \"loop\"\n } = _ref;\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const index = repeat && repeatType !== \"loop\" && repeat % 2 === 1 ? 0 : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined ? resolvedKeyframes[index] : finalKeyframe;\n}\nexport { getFinalKeyframe };","map":{"version":3,"names":["isNotNull","value","getFinalKeyframe","keyframes","_ref","finalKeyframe","repeat","repeatType","resolvedKeyframes","filter","index","length","undefined"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs"],"sourcesContent":["const isNotNull = (value) => value !== null;\nfunction getFinalKeyframe(keyframes, { repeat, repeatType = \"loop\" }, finalKeyframe) {\n const resolvedKeyframes = keyframes.filter(isNotNull);\n const index = repeat && repeatType !== \"loop\" && repeat % 2 === 1\n ? 0\n : resolvedKeyframes.length - 1;\n return !index || finalKeyframe === undefined\n ? resolvedKeyframes[index]\n : finalKeyframe;\n}\n\nexport { getFinalKeyframe };\n"],"mappings":"AAAA,MAAMA,SAAS,GAAIC,KAAK,IAAKA,KAAK,KAAK,IAAI;AAC3C,SAASC,gBAAgBA,CAACC,SAAS,EAAAC,IAAA,EAAmCC,aAAa,EAAE;EAAA,IAAhD;IAAEC,MAAM;IAAEC,UAAU,GAAG;EAAO,CAAC,GAAAH,IAAA;EAChE,MAAMI,iBAAiB,GAAGL,SAAS,CAACM,MAAM,CAACT,SAAS,CAAC;EACrD,MAAMU,KAAK,GAAGJ,MAAM,IAAIC,UAAU,KAAK,MAAM,IAAID,MAAM,GAAG,CAAC,KAAK,CAAC,GAC3D,CAAC,GACDE,iBAAiB,CAACG,MAAM,GAAG,CAAC;EAClC,OAAO,CAACD,KAAK,IAAIL,aAAa,KAAKO,SAAS,GACtCJ,iBAAiB,CAACE,KAAK,CAAC,GACxBL,aAAa;AACvB;AAEA,SAASH,gBAAgB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |