Skip to content

Commit dc5ed08

Browse files
InneiSoya-xy
andauthored
feat: light dashboard (#228)
Co-authored-by: Soya <[email protected]>
1 parent 75432f8 commit dc5ed08

File tree

357 files changed

+11789
-654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

357 files changed

+11789
-654
lines changed

.env.template

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ NEXT_PUBLIC_GATEWAY_URL=http://127.0.0.1:2333/
33
NEXT_PUBLIC_API_URL=https://innei.ren/api/v2
44
NEXT_PUBLIC_GATEWAY_URL=https://api.innei.ren
55

6-
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_***********8
6+
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_aaaaaaaaaaaaaaaaaxxxxxx
77

88
## Clerk
99
CLERK_SECRET_KEY=sk_test_

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
4. :bell: **接入 WebSocket,实时获取最新的文章通知**:通过 WebSocket,访客能够实时获取最新的文章通知。
2525
5. :computer: **实时活动状态展示**:配合 [ProcessReporter](https://github.com/mx-space/ProcessReporterMac),可以在主页上显示实时活动状态。
2626
6. :pencil: **Markdown 的扩展语法**:支持更多的 Markdown 扩展语法,等待你的发掘和使用。
27+
7. :zap: **轻量级管理面板**:可以在管理面板中管理文章、评论等。
2728

2829
## :wrench: 技术栈
2930

@@ -44,6 +45,11 @@
4445

4546
<img width="1471" alt="Live Demo" src="https://github.com/Innei/Shiro/assets/41265413/bf8af4ec-0f0c-441a-8c06-4b44e1649597">
4647

48+
轻管理面板:
49+
50+
![](https://github.com/Innei/Shiro/assets/41265413/4bb5b34a-3ce2-45da-bec7-4596ac87f849)
51+
![](https://github.com/Innei/Shiro/assets/41265413/592941d0-2ebe-4d64-bd77-3171829bd896)
52+
4753
<details>
4854
<summary>
4955
点击查看部分完整页面截图

package.json

+23
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,21 @@
3838
"dependencies": {
3939
"@clerk/nextjs": "4.29.1",
4040
"@floating-ui/react-dom": "2.0.4",
41+
"@milkdown/core": "7.3.2",
42+
"@milkdown/plugin-clipboard": "7.3.2",
43+
"@milkdown/plugin-history": "7.3.2",
44+
"@milkdown/plugin-indent": "7.3.2",
45+
"@milkdown/plugin-listener": "7.3.2",
46+
"@milkdown/preset-commonmark": "7.3.2",
47+
"@milkdown/react": "7.3.2",
48+
"@milkdown/utils": "7.3.2",
4149
"@mx-space/api-client": "1.7.2",
4250
"@radix-ui/react-dialog": "1.0.5",
51+
"@radix-ui/react-label": "2.0.2",
52+
"@radix-ui/react-scroll-area": "1.0.5",
4353
"@radix-ui/react-select": "2.0.0",
54+
"@radix-ui/react-switch": "1.0.3",
55+
"@radix-ui/react-tabs": "1.0.4",
4456
"@tanstack/query-async-storage-persister": "5.17.1",
4557
"@tanstack/react-query": "5.17.1",
4658
"@tanstack/react-query-devtools": "5.17.1",
@@ -51,18 +63,24 @@
5163
"bypass-vue-devtools": "0.0.6",
5264
"clsx": "2.1.0",
5365
"colorjs.io": "^0.4.5",
66+
"crossbell": "1.11.3",
5467
"daisyui": "4.5.0",
5568
"dayjs": "1.11.10",
5669
"emoji-mart": "5.5.2",
5770
"emoji-picker-react": "4.6.3",
5871
"foxact": "0.2.30",
5972
"framer-motion": "^10.17.9",
73+
"fuse.js": "7.0.0",
6074
"idb-keyval": "6.2.1",
6175
"immer": "^10.0.3",
6276
"jojoo": "0.1.2",
6377
"jotai": "2.6.1",
6478
"js-cookie": "3.0.5",
79+
"js-yaml": "4.1.0",
80+
"kbar": "0.1.0-beta.45",
81+
"markdown-escape": "2.0.0",
6582
"markdown-to-jsx": "npm:@innei/[email protected]",
83+
"marked": "11.1.1",
6684
"medium-zoom": "1.1.0",
6785
"mermaid": "10.6.1",
6886
"next": "14.0.4",
@@ -73,14 +91,17 @@
7391
"react-dom": "18.2.0",
7492
"react-error-boundary": "4.0.12",
7593
"react-intersection-observer": "9.5.3",
94+
"react-responsive-masonry": "2.1.7",
7695
"react-toastify": "9.1.3",
7796
"react-tweet": "3.2.0",
7897
"react-wrap-balancer": "1.1.0",
7998
"remove-markdown": "0.5.0",
8099
"server-only": "^0.0.1",
81100
"socket.io-client": "4.7.3",
82101
"tailwind-merge": "2.2.0",
102+
"unidata.js": "0.8.0",
83103
"uniqolor": "1.1.1",
104+
"use-context-selector": "1.4.1",
84105
"vaul": "0.8.0",
85106
"xss": "1.0.14"
86107
},
@@ -94,10 +115,12 @@
94115
"@next/bundle-analyzer": "14.0.4",
95116
"@tailwindcss/typography": "0.5.10",
96117
"@types/js-cookie": "3.0.6",
118+
"@types/js-yaml": "4.0.9",
97119
"@types/markdown-escape": "1.1.3",
98120
"@types/node": "20.10.6",
99121
"@types/react": "18.2.46",
100122
"@types/react-dom": "18.2.18",
123+
"@types/react-responsive-masonry": "2.1.3",
101124
"@types/remove-markdown": "0.3.4",
102125
"autoprefixer": "10.4.16",
103126
"cross-env": "7.0.3",

0 commit comments

Comments
 (0)