-
-
-
{CONFIG.HERO_TITLE_4}
-
{CONFIG.HERO_TITLE_5}
-
-
+ return (
+
+
+
+
+
{CONFIG.HERO_TITLE_4}
+
{CONFIG.HERO_TITLE_5}
+
+
+
+
+ )
}
export default Hero
diff --git a/themes/heo/index.js b/themes/heo/index.js
index e9cae2873e7..01f23a27bb6 100644
--- a/themes/heo/index.js
+++ b/themes/heo/index.js
@@ -41,38 +41,55 @@ import { AdSlot } from '@/components/GoogleAdsense'
* @constructor
*/
const LayoutBase = props => {
- const { children, headerSlot, slotTop, slotRight, siteInfo, className, meta } = props
+ const {
+ children,
+ headerSlot,
+ slotTop,
+ slotRight,
+ siteInfo,
+ className,
+ meta
+ } = props
return (
-
- {/* SEO信息 */}
-
-
-
- {/* 顶部嵌入 导航栏,首页放hero,文章页放文章详情 */}
- {headerSlot}
-
- {/* 主区块 */}
-
-
-
-
- {/* 主区上部嵌入 */}
- {slotTop}
- {children}
-
-
-
- {/* 主区快右侧 */}
- {slotRight}
-
-
-
-
-
- {/* 页脚 */}
-
+
+ {/* SEO信息 */}
+
+
+
+ {/* 顶部嵌入 导航栏,首页放hero,文章页放文章详情 */}
+ {headerSlot}
+
+ {/* 主区块 */}
+
+
+
+ {/* 主区上部嵌入 */}
+ {slotTop}
+ {children}
+
+
+
+ {/* 主区快右侧 */}
+ {slotRight}
+
+
+
+ {/* 页脚 */}
+
+
)
}
@@ -82,28 +99,38 @@ const LayoutBase = props => {
* @param {*} props
* @returns
*/
-const LayoutIndex = (props) => {
- const headerSlot =