- 将所有图片路径从绝对路径改为使用 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.7 KiB
JSON
1 line
1.7 KiB
JSON
{"ast":null,"code":"import { isMotionComponent } from './is-motion-component.mjs';\nimport { motionComponentSymbol } from './symbol.mjs';\n\n/**\n * Unwraps a `motion` component and returns either a string for `motion.div` or\n * the React component for `motion(Component)`.\n *\n * If the component is not a `motion` component it returns undefined.\n */\nfunction unwrapMotionComponent(component) {\n if (isMotionComponent(component)) {\n return component[motionComponentSymbol];\n }\n return undefined;\n}\nexport { unwrapMotionComponent };","map":{"version":3,"names":["isMotionComponent","motionComponentSymbol","unwrapMotionComponent","component","undefined"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/motion/utils/unwrap-motion-component.mjs"],"sourcesContent":["import { isMotionComponent } from './is-motion-component.mjs';\nimport { motionComponentSymbol } from './symbol.mjs';\n\n/**\n * Unwraps a `motion` component and returns either a string for `motion.div` or\n * the React component for `motion(Component)`.\n *\n * If the component is not a `motion` component it returns undefined.\n */\nfunction unwrapMotionComponent(component) {\n if (isMotionComponent(component)) {\n return component[motionComponentSymbol];\n }\n return undefined;\n}\n\nexport { unwrapMotionComponent };\n"],"mappings":"AAAA,SAASA,iBAAiB,QAAQ,2BAA2B;AAC7D,SAASC,qBAAqB,QAAQ,cAAc;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,qBAAqBA,CAACC,SAAS,EAAE;EACtC,IAAIH,iBAAiB,CAACG,SAAS,CAAC,EAAE;IAC9B,OAAOA,SAAS,CAACF,qBAAqB,CAAC;EAC3C;EACA,OAAOG,SAAS;AACpB;AAEA,SAASF,qBAAqB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |