diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 106ba614..6bf80cbc 100755 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -40,7 +40,7 @@ module.exports = { href: '/algorithms/introduction', }, {label: 'Blog', to: 'blog', position: 'left'}, - {label: 'Advertise', to: '/advertise', position: 'left'}, + // {label: 'Advertise', to: '/advertise', position: 'left'}, { href: 'https://github.com/yangshun/tech-interview-handbook', position: 'right', diff --git a/website/src/components/CarbonAd/index.js b/website/src/components/CarbonAd/index.js new file mode 100644 index 00000000..2801eed6 --- /dev/null +++ b/website/src/components/CarbonAd/index.js @@ -0,0 +1,51 @@ +import React from 'react'; + +export default React.memo(() => { + return ( +
+