diff --git a/build.sh b/build.sh index ee5611c..060490c 100755 --- a/build.sh +++ b/build.sh @@ -10,8 +10,4 @@ cd docs_website yarn build cd .. -#rsync -rv --delete ${script_dir}/docs_website/build/ root@info.ourworld.tf:/root/hero/www/info/docs/ - -rm -rf /root/hero/www/info/docs/{*,.*} - -cp -rp ${script_dir}/docs_website/build/{.,}* /root/hero/www/info/docs/ \ No newline at end of file +rsync -rv --delete ${script_dir}/docs_website/build/ root@info.ourworld.tf:/root/hero/www/info/docs/ \ No newline at end of file diff --git a/docs_website/src/components/HomepageFeatures/index.tsx b/docs_website/src/components/HomepageFeatures/index.tsx index 36a2dee..b771dc0 100644 --- a/docs_website/src/components/HomepageFeatures/index.tsx +++ b/docs_website/src/components/HomepageFeatures/index.tsx @@ -12,7 +12,6 @@ type FeatureItem = { const FeatureList: FeatureItem[] = [ { scale: 1.0, fill:"currentColor", - // id: 'svgcolor', title: 'Part of a Worldwide Grid', Svg: require('@site/static/img/clouds.svg').default, description: ( @@ -22,7 +21,6 @@ const FeatureList: FeatureItem[] = [ ), }, { scale: 1.0, - // id: 'svgcolor', fill:"currentColor", title: 'Get ThreeFold Nodes', Svg: require('@site/static/img/nodes.svg').default, @@ -33,7 +31,6 @@ const FeatureList: FeatureItem[] = [ ), }, { scale: 1.0, - // id: 'svgcolor', fill:"currentColor", title: 'Earn Rewards', Svg: require('@site/static/img/rewards.svg').default, @@ -46,16 +43,6 @@ const FeatureList: FeatureItem[] = [ ]; function Feature({scale, fill, id, title, Svg, description}: FeatureItem) { - - // Custom code to change the fill color of the Cloud Arrow Up SVG - // depending on if user is in dark/light mode - // const {colorMode} = useColorMode() - // if ( id === 'svgcolor' && colorMode === 'light' ) { - // fill = '#2a2021' // dark ThreeFold.io color - // } else if ( id === 'svgcolor' && colorMode === 'dark') { - // fill = '#ffffff' // white basic color - // } - return (