- 将所有图片路径从绝对路径改为使用 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.1 KiB
JSON
1 line
1.1 KiB
JSON
{"ast":null,"code":"\"use client\";\n\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst MotionConfigContext = createContext({\n transformPagePoint: p => p,\n isStatic: false,\n reducedMotion: \"never\"\n});\nexport { MotionConfigContext };","map":{"version":3,"names":["createContext","MotionConfigContext","transformPagePoint","p","isStatic","reducedMotion"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst MotionConfigContext = createContext({\n transformPagePoint: (p) => p,\n isStatic: false,\n reducedMotion: \"never\",\n});\n\nexport { MotionConfigContext };\n"],"mappings":"AAAA,YAAY;;AACZ,SAASA,aAAa,QAAQ,OAAO;;AAErC;AACA;AACA;AACA,MAAMC,mBAAmB,GAAGD,aAAa,CAAC;EACtCE,kBAAkB,EAAGC,CAAC,IAAKA,CAAC;EAC5BC,QAAQ,EAAE,KAAK;EACfC,aAAa,EAAE;AACnB,CAAC,CAAC;AAEF,SAASJ,mBAAmB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |