Merge pull request #2957 from tangly1024/deploy/tencent-edge-one

Deploy/tencent edge one
This commit is contained in:
tangly1024
2024-11-13 17:04:31 +08:00
committed by GitHub
5 changed files with 14 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ module.exports = {
'plugin:react/jsx-runtime',
'plugin:react/recommended',
'plugin:@next/next/recommended',
'standard',
'next',
'prettier',
'plugin:@typescript-eslint/recommended', // 添加 TypeScript 推荐规则
'plugin:@typescript-eslint/recommended-requiring-type-checking' // 添加需要类型检查的规则

View File

@@ -1,11 +1,12 @@
# 帮助教程
访问帮助:[NotionNext帮助手册](https://docs.tangly1024.com/)
访问帮助:[NotionNext帮助手册](https://docs.tangly1024.com/)
> 本项目教程为免费、公开资源,仅限个人学习使用。严禁任何个人或组织将本教程用于商业用途,包括但不限于直接售卖、间接收费、或其他变相盈利行为。转载、复制或介绍本教程内容时,须保留作者信息并明确注明来源。
> 本项目仅提供由作者团队授权的付费咨询服务,请注意辨别,谨防诈骗行为。任何未经授权的收费服务均可能存在法律风险。
Notion是一个能让效率暴涨的生产力引擎可以帮你书写文档、管理笔记搭建知识库甚至可以为你规划项目、时间管理、组织团队、提高生产力、还有当前最强大的AI技术加持。
> 如果希望进一步探索Notion的功能欢迎购买《[Notion笔记从入门到精通进阶课程](https://docs.tangly1024.com/article/notion-tutorial)》
# NotionNext
@@ -25,23 +26,24 @@ Notion是一个能让效率暴涨的生产力引擎可以帮你书写文档
</a>
</p>
中文文档 | [README in English](./README_EN.md)
<hr/>
一个使用 NextJS + Notion API 实现的,部署在 Vercel 上的静态博客系统。为Notion和所有创作者设计。
支持多种部署方案
## 预览效果
在线演示:[https://preview.tangly1024.com/](https://preview.tangly1024.com/) ,点击左下角挂件可以切换主题,没找到喜欢的主题?[贡献](/CONTRIBUTING.md)一个吧~
| Next | Medium | Hexo | Fukasawa |
|--|--|--|--|
| <img src='./docs/theme-next.png' width='300'/> [预览NEXT](https://preview.tangly1024.com/?theme=next) | <img src='./docs/theme-medium.png' width='300'/> [预览MEDIUM](https://preview.tangly1024.com/?theme=medium) | <img src='./docs/theme-hexo.png' width='300'/> [预览HEXO](https://preview.tangly1024.com/?theme=hexo) | <img src='./docs/theme-fukasawa.png' width='300'/> [预览FUKASAWA](https://preview.tangly1024.com/?theme=fukasawa) |
| Next | Medium | Hexo | Fukasawa |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| <img src='./docs/theme-next.png' width='300'/> [预览NEXT](https://preview.tangly1024.com/?theme=next) | <img src='./docs/theme-medium.png' width='300'/> [预览MEDIUM](https://preview.tangly1024.com/?theme=medium) | <img src='./docs/theme-hexo.png' width='300'/> [预览HEXO](https://preview.tangly1024.com/?theme=hexo) | <img src='./docs/theme-fukasawa.png' width='300'/> [预览FUKASAWA](https://preview.tangly1024.com/?theme=fukasawa) |
## 致谢
感谢Craig Hart发起的Nobelium项目
<table><tr align="left">
@@ -187,7 +189,6 @@ Notion是一个能让效率暴涨的生产力引擎可以帮你书写文档
</tr>
</table>
## 引用技术
- **框架**: [Next.js](https://nextjs.org)
@@ -196,15 +197,14 @@ Notion是一个能让效率暴涨的生产力引擎可以帮你书写文档
- **评论**: [Twikoo](https://github.com/imaegoo/twikoo), [Giscus](https://giscus.app/zh-CN), [Gitalk](https://gitalk.github.io), [Cusdis](https://cusdis.com), [Utterances](https://utteranc.es)
- **图标**: [Fontawesome](https://fontawesome.com/v6/icons/)
## 🔗 友情链接
- [Elog](https://github.com/LetTTGACO/elog) Markdown 批量导出工具、开放式跨平台博客解决方案,随意组合写作平台(语雀/Notion/FlowUs/飞书)和博客平台(Hexo/Vitepress/Halo/Confluence/WordPress等)
## License
The MIT License.
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=tangly1024/NotionNext&type=Date)](https://star-history.com/#tangly1024/NotionNext&Date)

View File

@@ -228,4 +228,6 @@ const nextConfig = {
}
}
module.exports = withBundleAnalyzer(nextConfig)
module.exports = process.env.ANALYZE
? withBundleAnalyzer(nextConfig)
: nextConfig

View File

@@ -52,14 +52,12 @@
"@waline/client": "^2.5.1",
"autoprefixer": "^10.4.13",
"cross-env": "^7.0.3",
"eslint": "^9.6.0",
"eslint": "^8.57.1",
"eslint-config-next": "^13.1.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.23.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"next-sitemap": "^1.6.203",

View File

@@ -82,7 +82,7 @@ const Slug = props => {
}
}, [router, lock])
props = { ...props, lock, setLock, validPassword }
props = { ...props, lock, validPassword }
// 根据页面路径加载不同Layout文件
const Layout = getLayoutByTheme({
theme: siteConfig('THEME'),