diff --git a/components/ValineCount.js b/components/ValineCount.js
deleted file mode 100644
index e07602f8..00000000
--- a/components/ValineCount.js
+++ /dev/null
@@ -1,6 +0,0 @@
-import { ValineCount } from 'react-valine'
-
-/**
- * 显示评论数
- */
-export default ValineCount
diff --git a/components/ValinePanel.js b/components/ValinePanel.js
deleted file mode 100644
index 7755c1fd..00000000
--- a/components/ValinePanel.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import { ValinePanel } from 'react-valine'
-
-export default ValinePanel
diff --git a/public/images/starter/bg-hero-circle.svg b/public/images/starter/bg-hero-circle.svg
new file mode 100644
index 00000000..6c8c37a4
--- /dev/null
+++ b/public/images/starter/bg-hero-circle.svg
@@ -0,0 +1,83 @@
+
\ No newline at end of file
diff --git a/themes/starter/components/Contact.js b/themes/starter/components/Contact.js
index 84fba5d2..67173c16 100644
--- a/themes/starter/components/Contact.js
+++ b/themes/starter/components/Contact.js
@@ -76,7 +76,7 @@ export const Contact = () => {
{/* 自定义的留言表单 、 需要对接接口 */}
{/* */}
{/* 嵌入外部表单 */}
-
+
diff --git a/themes/starter/components/Hero.js b/themes/starter/components/Hero.js
index 03c84395..259c0327 100644
--- a/themes/starter/components/Hero.js
+++ b/themes/starter/components/Hero.js
@@ -1,12 +1,9 @@
/* eslint-disable @next/next/no-img-element */
import { siteConfig } from '@/lib/config'
import CONFIG from '../config'
-import SVGPlayBootstrap from './svg/SVGPlayBoostrap'
-import SVGPlayTailwind from './svg/SVGPlayTailWind'
-import SVGPlayReact from './svg/SVGPlayReact'
-import SVGPlayAstro from './svg/SVGPlayAstro'
-import SVGPlayNext from './svg/SVGPlayNext'
-
+/**
+ * 英雄大图区块
+ */
export const Hero = () => {
return <>
{/* */}
@@ -37,6 +34,7 @@ export const Hero = () => {
- {/* 技术栈说明 */}
-
-
- {siteConfig('STARTER_HERO_TITLE_3', null, CONFIG)}
-
-
- {/* 产品技术栈图标 */}
-
-
-
-
{/* 产品预览图片 */}
-
+ { siteConfig('STARTER_HERO_PREVIEW_IMAGE', null, CONFIG) &&
+
{/* eslint-disable-next-line @next/next/no-img-element */}
![]()
{
className="mx-auto max-w-full rounded-t-xl rounded-tr-xl"
/>
+
+ {/* 背景图 */}
-
+
-
+
+ }
diff --git a/themes/starter/config.js b/themes/starter/config.js
index 19886ca3..5fdf649c 100644
--- a/themes/starter/config.js
+++ b/themes/starter/config.js
@@ -10,9 +10,10 @@ const CONFIG = {
// MENU , 菜单部分不在此处配置,请在Notion数据库中添加MENU
// 英雄区块导航
+ STARTER_HERO_ENABLE: true, // 开启英雄区
STARTER_HERO_TITLE_1: '开源且免费的基于 Notion 笔记的网站构建工具', // 英雄区文字
STARTER_HERO_TITLE_2: '通过笔记无感知地建站、成倍放大您的价值', // 英雄区文字
- STARTER_HERO_TITLE_3: '使用最新技术构建', // 英雄区文字
+ // 英雄区两个按钮,如果TEXT留空则隐藏按钮
STARTER_HERO_BUTTON_1_TEXT: '开始体验', // 英雄区按钮
STARTER_HERO_BUTTON_1_URL: 'https://docs.tangly1024.com/article/vercel-deploy-notion-next', // 英雄区按钮
STARTER_HERO_BUTTON_2_TEXT: '在Github上关注', // 英雄区按钮
diff --git a/themes/starter/index.js b/themes/starter/index.js
index c4a4410b..f899904a 100644
--- a/themes/starter/index.js
+++ b/themes/starter/index.js
@@ -81,7 +81,7 @@ const LayoutIndex = (props) => {
return (
<>
{/* 英雄区 */}
-
+ {siteConfig('STARTER_HERO_ENABLE', null, CONFIG) && }
{/* 产品特性 */}
{siteConfig('STARTER_FEATURE_ENABLE', null, CONFIG) && }
{/* 关于 */}