11import { LinkButton } from "../LinkButton/LinkButton" ;
22import styles from "./styles.module.css" ;
3+ import ScaleSvg from "@site/static/img/scale.svg" ;
4+ import SecureSvg from "@site/static/img/secure.svg" ;
5+ import FlexibleSvg from "@site/static/img/flexible.svg" ;
36
47type FeatureItem = {
58 title : string ;
6- svg : string ;
9+ Svg : string ;
710 description : React . ReactElement ;
811 button : {
912 text : string ;
@@ -14,7 +17,7 @@ type FeatureItem = {
1417const FeatureList : FeatureItem [ ] = [
1518 {
1619 title : "Scalable" ,
17- svg : "/img/scale.svg" ,
20+ Svg : ScaleSvg ,
1821 description : (
1922 < >
2023 Optimizes network bandwidth for faster transaction processing,
@@ -29,7 +32,7 @@ const FeatureList: FeatureItem[] = [
2932 } ,
3033 {
3134 title : "Secure" ,
32- svg : "/img/secure.svg" ,
35+ Svg : SecureSvg ,
3336 description : (
3437 < >
3538 Preserves Ouroboros' strong security properties with robust defenses
@@ -43,7 +46,7 @@ const FeatureList: FeatureItem[] = [
4346 } ,
4447 {
4548 title : "Flexible" ,
46- svg : "/img/flexible.svg" ,
49+ Svg : FlexibleSvg ,
4750 description : < > Ouroboros Leios supports diverse applications.</ > ,
4851 button : {
4952 text : "Link to Documentation" ,
@@ -52,11 +55,11 @@ const FeatureList: FeatureItem[] = [
5255 } ,
5356] ;
5457
55- function Feature ( { title , svg , description, button } : FeatureItem ) {
58+ function Feature ( { Svg , title , description, button } : FeatureItem ) {
5659 return (
5760 < div className = { styles . feature } >
5861 < div className = { styles . featureContent } >
59- < img src = { svg } className = { styles . featureImg } />
62+ < Svg className = { styles . featureImg } />
6063 < div className = "" >
6164 < h2 className = "" > { title } </ h2 >
6265 < p > { description } </ p >
0 commit comments