@@ -3,6 +3,11 @@ import clsx from 'clsx';
33import Heading from '@theme/Heading' ;
44import styles from './styles.module.css' ;
55
6+ // Import SVG images
7+ import MountainSvg from '@site/static/img/undraw_docusaurus_mountain.svg' ;
8+ import TreeSvg from '@site/static/img/undraw_docusaurus_tree.svg' ;
9+ import ReactSvg from '@site/static/img/undraw_docusaurus_react.svg' ;
10+
611type FeatureItem = {
712 title : string ;
813 Svg : React . ComponentType < React . ComponentProps < 'svg' > > ;
@@ -12,7 +17,7 @@ type FeatureItem = {
1217const FeatureList : FeatureItem [ ] = [
1318 {
1419 title : 'AI-Powered Coding Assistant' ,
15- Svg : require ( '@site/static/img/undraw_docusaurus_mountain.svg' ) . default ,
20+ Svg : MountainSvg ,
1621 description : (
1722 < >
1823 MyCoder leverages advanced AI models to understand your requirements
@@ -22,7 +27,7 @@ const FeatureList: FeatureItem[] = [
2227 } ,
2328 {
2429 title : 'Context-Aware Responses' ,
25- Svg : require ( '@site/static/img/undraw_docusaurus_tree.svg' ) . default ,
30+ Svg : TreeSvg ,
2631 description : (
2732 < >
2833 MyCoder understands your project structure and existing code, providing
@@ -32,7 +37,7 @@ const FeatureList: FeatureItem[] = [
3237 } ,
3338 {
3439 title : 'Built for Developers' ,
35- Svg : require ( '@site/static/img/undraw_docusaurus_react.svg' ) . default ,
40+ Svg : ReactSvg ,
3641 description : (
3742 < >
3843 Designed with developer workflows in mind, MyCoder integrates with your
0 commit comments