@bbki.ng/site 2.0.8 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 2.0.10
4
+
5
+ ## 2.0.9
6
+
3
7
  ## 2.0.8
4
8
 
5
9
  ## 2.0.7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "2.0.8",
3
+ "version": "2.0.10",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/blog/app.tsx CHANGED
@@ -67,14 +67,11 @@ export const App = () => {
67
67
  {/*<EffectContextProvider>*/}
68
68
  <HotKeyNav>
69
69
  <BBContext>
70
- <PluginInit>
70
+ {/*<PluginInit>*/}
71
71
  <Routes>
72
72
  <Route path="/" element={<Layout />}>
73
73
  <Route index element={<CoverInMidCol />} />
74
74
 
75
- <Route path="/projects" element={<ProjectsInMidCol />} />
76
- <Route path="/projects/:id" element={<PhotoProjects />} />
77
-
78
75
  <Route path="blog" element={<ContentInMidCol />} />
79
76
  <Route path="blog/:title" element={<ArticleInMidCol />} />
80
77
  <Route path="blog/:title/:id" element={<PhotoProjects />} />
@@ -93,7 +90,7 @@ export const App = () => {
93
90
  </Route>
94
91
  <Route path="*" element={<NotFound />} />
95
92
  </Routes>
96
- </PluginInit>
93
+ {/*</PluginInit>*/}
97
94
  </BBContext>
98
95
  </HotKeyNav>
99
96
  {/*</EffectContextProvider>*/}
@@ -19,7 +19,6 @@ export const LoginMenuItem = () => {
19
19
  if (sess?.user != null) {
20
20
  return (
21
21
  <ContextMenuItem
22
- inset
23
22
  onClick={() => {
24
23
  confirm("确定退出登录吗?", () => {
25
24
  supabase.auth.signOut().then(() => {
@@ -35,7 +34,7 @@ export const LoginMenuItem = () => {
35
34
  src={sess?.user?.user_metadata.avatar_url}
36
35
  alt="avatar"
37
36
  style={{ width: 16, height: 16 }}
38
- className="rounded-full mr-8"
37
+ className="mr-8"
39
38
  crossOrigin="anonymous"
40
39
  />
41
40
  )}
@@ -35,7 +35,7 @@ export const AppCtxMenu = (props: { children: ReactElement }) => {
35
35
  <ContextMenuContent className="w-256">
36
36
  <LoginMenuItem />
37
37
  <ViewSourceMenuItem />
38
- {showPluginEntry && <PluginsMenuItem />}
38
+ {/*{showPluginEntry && <PluginsMenuItem />}*/}
39
39
  </ContextMenuContent>
40
40
  </ContextMenu>
41
41
  );
@@ -13,10 +13,10 @@ export const Cover = (props: { className: string }) => {
13
13
  <CenterLinkList
14
14
  className="select-none"
15
15
  links={[
16
- {
17
- to: "/projects",
18
- name: "cd ./projects",
19
- },
16
+ // {
17
+ // to: "/projects",
18
+ // name: "cd ./projects",
19
+ // },
20
20
  {
21
21
  to: "/blog",
22
22
  name: "cd ./blog",