starter 微调

This commit is contained in:
tangly1024.com
2024-03-05 11:07:19 +08:00
parent 15a327a480
commit 8d040b43a5
7 changed files with 101 additions and 1190 deletions

View File

@@ -76,7 +76,7 @@ export const Contact = () => {
{/* 自定义的留言表单 、 需要对接接口 */}
{/* <MessageForm/> */}
{/* 嵌入外部表单 */}
<iframe src="https://noteforms.com/forms/yfctc7" width="100%" height="500px" frameborder="0"></iframe>
<iframe src="https://noteforms.com/forms/yfctc7" width="100%" height="500px" frameBorder="0"></iframe>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@@ -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上关注', // 英雄区按钮

View File

@@ -81,7 +81,7 @@ const LayoutIndex = (props) => {
return (
<>
{/* 英雄区 */}
<Hero/>
{siteConfig('STARTER_HERO_ENABLE', null, CONFIG) && <Hero/>}
{/* 产品特性 */}
{siteConfig('STARTER_FEATURE_ENABLE', null, CONFIG) && <Features/>}
{/* 关于 */}