mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-07 23:16:52 +00:00
HEO主题英雄区默认封面图修改
This commit is contained in:
@@ -378,8 +378,7 @@ function TodayCard({ cRef }) {
|
|||||||
isCoverUp ? '' : ' pointer-events-none'
|
isCoverUp ? '' : ' pointer-events-none'
|
||||||
} cursor-pointer today-card-cover absolute w-full h-full top-0`}
|
} cursor-pointer today-card-cover absolute w-full h-full top-0`}
|
||||||
style={{
|
style={{
|
||||||
background:
|
background: `url('${CONFIG.HERO_RECOMMEND_COVER}') no-repeat center /cover`
|
||||||
"url('https://bu.dusays.com/2023/03/12/640dcd3a1b146.png') no-repeat center /cover"
|
|
||||||
}}
|
}}
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ const CONFIG = {
|
|||||||
// 英雄区右侧推荐文章标签, 例如 [推荐] , 最多六篇文章; 若留空白'',则推荐最近更新文章
|
// 英雄区右侧推荐文章标签, 例如 [推荐] , 最多六篇文章; 若留空白'',则推荐最近更新文章
|
||||||
HERO_RECOMMEND_POST_TAG: '推荐',
|
HERO_RECOMMEND_POST_TAG: '推荐',
|
||||||
HERO_RECOMMEND_POST_SORT_BY_UPDATE_TIME: false, // 推荐文章排序,为`true`时将强制按最后修改时间倒序
|
HERO_RECOMMEND_POST_SORT_BY_UPDATE_TIME: false, // 推荐文章排序,为`true`时将强制按最后修改时间倒序
|
||||||
|
HERO_RECOMMEND_COVER: 'https://cdn.pixabay.com/photo/2015/10/30/20/13/sunrise-1014712_1280.jpg', // 英雄区右侧图片
|
||||||
|
|
||||||
// 右侧个人资料卡牌欢迎语,点击可自动切换
|
// 右侧个人资料卡牌欢迎语,点击可自动切换
|
||||||
INFOCARD_GREETINGS: [
|
INFOCARD_GREETINGS: [
|
||||||
|
|||||||
Reference in New Issue
Block a user