mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
@@ -211,11 +211,11 @@ function TodayCard({ cRef }) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 点击卡片跳转的链接
|
||||
* @param {*} e
|
||||
*/
|
||||
* 点击卡片跳转的链接
|
||||
* @param {*} e
|
||||
*/
|
||||
function handleCardClick(e) {
|
||||
router.push('https://tangly1024.com')
|
||||
router.push(CONFIG.HERO_TITLE_LINK)
|
||||
}
|
||||
|
||||
return <div id='today-card' className={`${isCoverUp ? ' ' : 'pointer-events-none'} overflow-hidden absolute hidden xl:flex flex-1 flex-col h-full top-0 w-full`}>
|
||||
|
||||
@@ -15,6 +15,8 @@ const CONFIG = {
|
||||
HERO_TITLE_3: 'TANGLY1024.COM',
|
||||
HERO_TITLE_4: '新版上线',
|
||||
HERO_TITLE_5: 'NotionNext4.0 轻松定制主题',
|
||||
HERO_TITLE_LINK: 'https://tangly1024.com',
|
||||
|
||||
// 英雄区显示三个置顶分类
|
||||
HERO_CATEGORY_1: { title: '必看精选', url: '/tag/必看精选' },
|
||||
HERO_CATEGORY_2: { title: '热门文章', url: '/tag/热门文章' },
|
||||
|
||||
Reference in New Issue
Block a user