From 6064b97367a88e2a851f32657dcc0efe0c3ead80 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sun, 4 Aug 2019 21:14:08 +0800 Subject: [PATCH] doc: add geektime ad --- site/components/CarbonAds.vue | 13 ++++---- site/components/geektime.vue | 19 +++++++---- site/components/geektime_ads.vue | 57 ++++++++++++++++++++++++++++++++ site/components/layout.vue | 4 ++- site/theme/static/common.less | 2 +- 5 files changed, 80 insertions(+), 15 deletions(-) create mode 100644 site/components/geektime_ads.vue diff --git a/site/components/CarbonAds.vue b/site/components/CarbonAds.vue index add5a2fe8..785c067de 100644 --- a/site/components/CarbonAds.vue +++ b/site/components/CarbonAds.vue @@ -59,16 +59,14 @@ export default { + diff --git a/site/components/layout.vue b/site/components/layout.vue index e124b0606..c15aa500b 100644 --- a/site/components/layout.vue +++ b/site/components/layout.vue @@ -5,6 +5,7 @@ import Header from './header'; import Footer from './footer'; import CarbonAds from './CarbonAds'; import Geektime from './geektime'; +import GeektimeAds from './geektime_ads'; import Sponsors from './sponsors'; import zhCN from 'antd/locale-provider/zh_CN'; import enUS from 'antd/locale-provider/default'; @@ -268,7 +269,8 @@ export default { }
- + + {!isMobile ?
{this.getSubMenu(isCN)}
: null} diff --git a/site/theme/static/common.less b/site/theme/static/common.less index bb1b5c324..c51106bee 100644 --- a/site/theme/static/common.less +++ b/site/theme/static/common.less @@ -51,7 +51,7 @@ a { } .aside-container { - padding-bottom: 48px; + padding-bottom: 120px; font-family: Avenir, @font-family; &.ant-menu-inline .ant-menu-submenu-title h4,