Skip to content

Commit 3105b88

Browse files
committed
style: adjust content height
1 parent dc4ee12 commit 3105b88

File tree

4 files changed

+10
-35
lines changed

4 files changed

+10
-35
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
# 特性
44

5-
- 不依赖数据库,纯 markdown 编写,基于 `rehpy` `remark` 等相关插件渲染,更低的资源消耗
5+
- 纯 markdown 编写,无后台,基于 `rehpy` `remark` 等相关插件渲染,更低的资源消耗
66
- markdown 修改后的页面热更新(hmr)
7-
- 文章页面的部分 `clinet` 组件下 hmr 存在异常
8-
- Github Action 实现的 CI CD 自动化 docker 部署
9-
- netfily 的镜像站点作为备用(vercel 域名国内基本无法访问,可自定义域名做 dns 解析)
7+
- 基于 Github Action 的 CI CD 自动化部署
8+
- netfily 的镜像站点作为备用(vercel 域名境内基本无法访问,可自定义域名做 dns 解析)
109
- Docker 构建,包括 nginx acme 等,网络桥接保证容器之间通信
1110
- `flexsearch` 实现文章的高性能搜索
1211
- 主题切换

app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ export default function RootLayout({
1414
}>) {
1515
return (
1616
<html lang="zh-CN" suppressHydrationWarning>
17-
<body className="antialiased">
17+
<body className="flex min-h-screen flex-col antialiased">
1818
<ThemeProvider attribute="class" enableSystem enableColorScheme>
1919
<PageHeader />
20-
{children}
20+
<main>{children}</main>
2121
<PageFooter />
2222
</ThemeProvider>
2323
</body>

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "0.0.2",
44
"private": true,
55
"packageManager": "[email protected]",
6+
"author": {
7+
"name": "jsonq",
8+
"email": "[email protected]",
9+
"url": "https://github.com/json-q/jsonq"
10+
},
611
"engines": {
712
"node": ">=18.18"
813
},
@@ -19,7 +24,6 @@
1924
"prepare": "husky"
2025
},
2126
"dependencies": {
22-
"@radix-ui/react-avatar": "^1.1.3",
2327
"@radix-ui/react-dialog": "^1.1.6",
2428
"@radix-ui/react-dropdown-menu": "^2.1.6",
2529
"@radix-ui/react-scroll-area": "^1.2.3",

pnpm-lock.yaml

Lines changed: 0 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)