From 98f8540352d537048891240c799bf34391d441b8 Mon Sep 17 00:00:00 2001 From: giscafer Date: Sun, 13 Aug 2023 20:53:19 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0X=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- components/page.tsx | 4 ++-- components/postlist.tsx | 2 +- pages/blog/[slug].tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1e15b5e..61e6cd3 100644 --- a/README.md +++ b/README.md @@ -44,4 +44,4 @@ > [giscafer.com](http://giscafer.com)  ·  > GitHub [@giscafer](https://github.com/giscafer)  ·  -> Weibo [@Nicky Lao](https://weibo.com/laohoubin) +> Twitter [@Nicky Lao](https://twitter.com/nicky_lao) diff --git a/components/page.tsx b/components/page.tsx index c136209..e5025c9 100644 --- a/components/page.tsx +++ b/components/page.tsx @@ -14,10 +14,10 @@ const footerLinks = [ { name: '旅游地图', url: 'http://map.giscafer.com', target: '_blank' }, { name: 'Blog', url: '/blog' }, - { name: '语雀', url: 'https://www.yuque.com/giscafer', target: '_blank' }, + { name: 'Twitter', url: 'https://twitter.com/nicky_lao', target: '_blank' }, { name: '知乎', url: 'https://www.zhihu.com/people/giscafer', target: '_blank' }, { name: 'About', url: '/about' }, - { name: '微博', url: 'https://weibo.com/laohoubin', target: '_blank' }, + { name: '公众号', url: 'https://giscafer.com/qrcode_for_giscafer.jpg', target: '_blank' }, { name: 'RSS', url: '/feed.xml', target: '_blank' }, ] diff --git a/components/postlist.tsx b/components/postlist.tsx index 7eee046..0fcdf4b 100644 --- a/components/postlist.tsx +++ b/components/postlist.tsx @@ -47,7 +47,7 @@ const PostList = ({ posts, hideImage = false }: PostListProps): JSX.Element => ( {summary !== '查看全文>>' &&

{summary}

}

- 发布于 · 预估阅读 {Math.ceil(readTime.minutes * 3)} 分钟 + 发布于 · 预估阅读 {Math.ceil(readTime.minutes * 5)} 分钟

) diff --git a/pages/blog/[slug].tsx b/pages/blog/[slug].tsx index 870b750..550cdd0 100644 --- a/pages/blog/[slug].tsx +++ b/pages/blog/[slug].tsx @@ -139,7 +139,7 @@ const Post = ({ post, related, githubUser, githubProject }: PostProps): JSX.Elem

发布于 {post.updatedAt ? ` (Updated ${formattedUpdatedDate})` : ''} · 预估阅读{' '} - {Math.ceil(post.readingTime?.minutes * 1.5)} 分钟 + {Math.ceil(post.readingTime?.minutes * 3)} 分钟