- 将所有图片路径从绝对路径改为使用 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.5 KiB
JSON
1 line
1.5 KiB
JSON
{"ast":null,"code":"function renderHTML(element, _ref, styleProp, projection) {\n let {\n style,\n vars\n } = _ref;\n Object.assign(element.style, style, projection && projection.getProjectionStyles(styleProp));\n // Loop over any CSS variables and assign those.\n for (const key in vars) {\n element.style.setProperty(key, vars[key]);\n }\n}\nexport { renderHTML };","map":{"version":3,"names":["renderHTML","element","_ref","styleProp","projection","style","vars","Object","assign","getProjectionStyles","key","setProperty"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/framer-motion/dist/es/render/html/utils/render.mjs"],"sourcesContent":["function renderHTML(element, { style, vars }, styleProp, projection) {\n Object.assign(element.style, style, projection && projection.getProjectionStyles(styleProp));\n // Loop over any CSS variables and assign those.\n for (const key in vars) {\n element.style.setProperty(key, vars[key]);\n }\n}\n\nexport { renderHTML };\n"],"mappings":"AAAA,SAASA,UAAUA,CAACC,OAAO,EAAAC,IAAA,EAAmBC,SAAS,EAAEC,UAAU,EAAE;EAAA,IAAxC;IAAEC,KAAK;IAAEC;EAAK,CAAC,GAAAJ,IAAA;EACxCK,MAAM,CAACC,MAAM,CAACP,OAAO,CAACI,KAAK,EAAEA,KAAK,EAAED,UAAU,IAAIA,UAAU,CAACK,mBAAmB,CAACN,SAAS,CAAC,CAAC;EAC5F;EACA,KAAK,MAAMO,GAAG,IAAIJ,IAAI,EAAE;IACpBL,OAAO,CAACI,KAAK,CAACM,WAAW,CAACD,GAAG,EAAEJ,IAAI,CAACI,GAAG,CAAC,CAAC;EAC7C;AACJ;AAEA,SAASV,UAAU","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |