mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-22 15:09:43 +00:00
feat(原生支持AI摘要功能): 使用一层API作为缓存而非直接请求AI,可以实现缓存/后端保密和预渲染
(cherry picked from commit 611a7d1d5dc7bc200d4390e29217ab8c8f76b0f0)
This commit is contained in:
@@ -42,6 +42,7 @@ import SearchNav from './components/SearchNav'
|
||||
import SideRight from './components/SideRight'
|
||||
import CONFIG from './config'
|
||||
import { Style } from './style'
|
||||
import AISummary from '@/components/AISummary'
|
||||
|
||||
/**
|
||||
* 基础布局 采用上中下布局,移动端使用顶部侧边导航栏
|
||||
@@ -306,6 +307,7 @@ const LayoutSlug = props => {
|
||||
<section
|
||||
className='wow fadeInUp p-5 justify-center mx-auto'
|
||||
data-wow-delay='.2s'>
|
||||
<AISummary aiSummary={post.aiSummary}/>
|
||||
<WWAds orientation='horizontal' className='w-full' />
|
||||
{post && <NotionPage post={post} />}
|
||||
<WWAds orientation='horizontal' className='w-full' />
|
||||
|
||||
Reference in New Issue
Block a user