- 将所有图片路径从绝对路径改为使用 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":"function getLayerName(pseudoElement) {\n const match = pseudoElement.match(/::view-transition-(old|new|group|image-pair)\\((.*?)\\)/);\n if (!match) return null;\n return {\n layer: match[2],\n type: match[1]\n };\n}\nexport { getLayerName };","map":{"version":3,"names":["getLayerName","pseudoElement","match","layer","type"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/view/utils/get-layer-name.mjs"],"sourcesContent":["function getLayerName(pseudoElement) {\n const match = pseudoElement.match(/::view-transition-(old|new|group|image-pair)\\((.*?)\\)/);\n if (!match)\n return null;\n return { layer: match[2], type: match[1] };\n}\n\nexport { getLayerName };\n"],"mappings":"AAAA,SAASA,YAAYA,CAACC,aAAa,EAAE;EACjC,MAAMC,KAAK,GAAGD,aAAa,CAACC,KAAK,CAAC,uDAAuD,CAAC;EAC1F,IAAI,CAACA,KAAK,EACN,OAAO,IAAI;EACf,OAAO;IAAEC,KAAK,EAAED,KAAK,CAAC,CAAC,CAAC;IAAEE,IAAI,EAAEF,KAAK,CAAC,CAAC;EAAE,CAAC;AAC9C;AAEA,SAASF,YAAY","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |