diff --git a/README.md b/README.md index ce45b2b6..d1ff017e 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,12 @@ **🕸 网址美观、搜索引擎优化** - 更多特性、欢迎移步[我的博客](https://tangly1024.com/article/notion-next)查看 +## 主题样式 +||| +|--|--| +|  |  | +|  |  | + ## 更新日志 请移步 [更新文档](https://docs.tangly1024.com/zh/changelog)查看 @@ -83,9 +89,6 @@ yarn run start # 本地启动NextJS服务 - **评论**: Gitalk, Cusdis, Utterances - **图标**:[fontawesome](https://fontawesome.com/v5.15/icons?d=gallery) -## 页面样式主题 -正在开发中..将支持配置文件切换主题 - ## License The MIT License. diff --git a/docs/screenshot-fukasawa.png b/docs/screenshot-fukasawa.png deleted file mode 100644 index ab947eb4..00000000 Binary files a/docs/screenshot-fukasawa.png and /dev/null differ diff --git a/docs/screenshot-youtube.png b/docs/screenshot-youtube.png deleted file mode 100644 index ff631d86..00000000 Binary files a/docs/screenshot-youtube.png and /dev/null differ diff --git a/docs/theme-fukasawa.png b/docs/theme-fukasawa.png new file mode 100644 index 00000000..641d431e Binary files /dev/null and b/docs/theme-fukasawa.png differ diff --git a/docs/theme-hexo.png b/docs/theme-hexo.png new file mode 100644 index 00000000..4e97ed96 Binary files /dev/null and b/docs/theme-hexo.png differ diff --git a/docs/theme-medium.png b/docs/theme-medium.png new file mode 100644 index 00000000..46d687fe Binary files /dev/null and b/docs/theme-medium.png differ diff --git a/docs/theme-next.png b/docs/theme-next.png new file mode 100644 index 00000000..6bf97a2c Binary files /dev/null and b/docs/theme-next.png differ diff --git a/themes/Medium/components/PaginationSimple.js b/themes/Medium/components/PaginationSimple.js index 5eb30af8..8006421d 100644 --- a/themes/Medium/components/PaginationSimple.js +++ b/themes/Medium/components/PaginationSimple.js @@ -6,14 +6,15 @@ import { useGlobal } from '@/lib/global' /** * 简易翻页插件 * @param page 当前页码 - * @param showNext 是否有下一页 + * @param totalPage 是否有下一页 * @returns {JSX.Element} * @constructor */ -const PaginationSimple = ({ page, showNext }) => { +const PaginationSimple = ({ page, totalPage }) => { const { locale } = useGlobal() const router = useRouter() const currentPage = +page + const showNext = currentPage <= totalPage return (