Skip to content

Commit

Permalink
fixed image url
Browse files Browse the repository at this point in the history
  • Loading branch information
hufeng committed Jul 4, 2018
1 parent d99f820 commit 6fa969a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions website/pages/en/index.js
Expand Up @@ -13,10 +13,6 @@ const GridBlock = CompLibrary.GridBlock;

const siteConfig = require(process.cwd() + '/siteConfig.js');

function imgUrl(img) {
return siteConfig.baseUrl + 'img/' + img;
}

function docUrl(doc, language) {
return siteConfig.baseUrl + 'docs/' + (language ? language + '/' : '') + doc;
}
Expand Down Expand Up @@ -97,19 +93,19 @@ const Features = props => (
<Block layout="fourColumn">
{[
{
image: '/img/kiss.png',
image: '/dubbo2.js/img/kiss.png',
content: 'build tools for Humans. 💗',
imageAlign: 'top',
title: 'Keep it Simple',
},
{
image: '/img/scale.png',
image: '/dubbo2.js/img/scale.png',
content: 'Nodejs no-blocking io and cluster 🚀',
imageAlign: 'top',
title: 'Scale & Performance',
},
{
image: '/img/plugin.png',
image: '/dubbo2.js/img/plugin.png',
content: 'Write plugin is so easy 👏',
imageAlign: 'top',
title: 'Easy to Extend',
Expand Down

0 comments on commit 6fa969a

Please sign in to comment.