File tree Expand file tree Collapse file tree 2 files changed +4
-29
lines changed Expand file tree Collapse file tree 2 files changed +4
-29
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,6 @@ interface RecentArticle {
1313 url : string ;
1414}
1515
16- interface Comment {
17- id : string ;
18- url : string ;
19- nick : string ;
20- mailMd5 : string ;
21- link : string ;
22- comment : string ;
23- commentText : string ;
24- created : number ;
25- avatar : string ;
26- relativeTime : string ;
27- }
28-
2916interface IArticle {
3017 title : string ;
3118 slug : string ;
@@ -35,22 +22,6 @@ interface SidebarProps {
3522 show : string [ ] ;
3623}
3724
38- interface TwikooConfig {
39- envId : string ;
40- el : string ;
41- pageSize ?: number ;
42- includeReply ?: boolean ;
43- }
44-
45- declare global {
46- interface Window {
47- twikoo : {
48- init : ( config : TwikooConfig ) => void ;
49- getRecentComments : ( config : TwikooConfig ) => Promise < Comment [ ] > ;
50- } ;
51- }
52- }
53-
5425function Sidebar ( { show } : SidebarProps ) {
5526 const imageUrl = "https://cdn.qladgk.com/images/gongzhonghao.png" ;
5627 const [ recentArticles , setRecentArticles ] = useState < RecentArticle [ ] > ( [ ] ) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ import { ReleaseNote } from "./ReleaseNote.mdx";
1515
1616<ReleaseNote version = " gkBlog v2.x.x" date = " 2025-06-11" >
1717
18+ ✨ ** 新功能**
19+
20+ - 留言墙添加弹幕功能
21+
1822🚀 ** 优化**
1923
2024- 考虑迁移到 App Router
You can’t perform that action at this time.
0 commit comments