diff --git a/README.md b/README.md index 4fd92db4..63a6066a 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,13 @@ Volglass documentation is build my self!! https://volglass.turtton.net +# Features + +- **Search** documents +- **Dark** Theme + +Also, I fixed many issues that the original has. + ## Getting started ### Run on your local machine @@ -25,7 +32,6 @@ See [volglass-docs repository](https://github.com/turtton/volglass-docs) for an ## Future development - Embed markdown/image rendering -- Text search - Tag list view ## For developers diff --git a/package.json b/package.json index e9e09dc4..042448b6 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@mui/icons-material": "latest", "@mui/lab": "latest", "@mui/material": "latest", + "@mui/system": "^5.11.8", "@types/wanakana": "^4.0.3", "cytoscape-d3-force": "^1.1.4", "cytoscape-node-html-label": "^1.2.1", @@ -28,6 +29,7 @@ "fs": "^0.0.1-security", "fuse.js": "^6.6.2", "gray-matter": "^4.0.2", + "jotai": "^2.0.1", "jsnetworkx": "^0.3.4", "mdast-util-to-string": "^3.1.0", "next": "^12.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5522c5e..cb83d411 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,6 +9,7 @@ specifiers: '@mui/icons-material': latest '@mui/lab': latest '@mui/material': latest + '@mui/system': ^5.11.8 '@types/babel__core': ^7.20.0 '@types/cytoscape': ^3.19.9 '@types/d3': ^6.7.5 @@ -41,6 +42,7 @@ specifiers: fs: ^0.0.1-security fuse.js: ^6.6.2 gray-matter: ^4.0.2 + jotai: ^2.0.1 jsnetworkx: ^0.3.4 mdast-util-to-string: ^3.1.0 next: ^12.1.0 @@ -86,6 +88,7 @@ dependencies: '@mui/icons-material': 5.11.0_fk5bccl2hinvnbyz2t4hxr3tei '@mui/lab': 5.0.0-alpha.119_26x4sipaaju26faxwnvcnf22vm '@mui/material': 5.11.8_qtidw54xdy2lrxqgglvfql7n3e + '@mui/system': 5.11.8_4f3ngokrixlnstypmfsxocpf3m '@types/wanakana': 4.0.3 cytoscape-d3-force: 1.1.4_cytoscape@3.23.0 cytoscape-node-html-label: 1.2.2_nj5d75okz36274i5jrvj2kttty @@ -94,6 +97,7 @@ dependencies: fs: 0.0.1-security fuse.js: 6.6.2 gray-matter: 4.0.3 + jotai: 2.0.1_react@17.0.2 jsnetworkx: 0.3.4 mdast-util-to-string: 3.1.0 next: 12.3.4_jiuppbrrdpqsioctsbaxdlfu4e @@ -3677,6 +3681,18 @@ packages: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true + /jotai/2.0.1_react@17.0.2: + resolution: {integrity: sha512-b/BpBFkv3nq8HgT6YX5h5/y9VfKIn9OL1dO6gd9bWTgKt6LLe24VIMURTDwSYS888XfubuRQlbepb5IQGAtmcQ==} + engines: {node: '>=12.20.0'} + peerDependencies: + react: '>=17.0.0' + peerDependenciesMeta: + react: + optional: true + dependencies: + react: 17.0.2 + dev: false + /js-tokens/4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} diff --git a/src/components/FolderTree.tsx b/src/components/FolderTree.tsx index 8d810535..6bfc45ea 100644 --- a/src/components/FolderTree.tsx +++ b/src/components/FolderTree.tsx @@ -25,7 +25,7 @@ export default function FolderTree(props: { flattenNodes: MdObject[]; }): JSX.Element { const renderTree = (nodes: MdObject): JSX.Element => ( - + {nodes.children.map((node) => renderTree(node))} ); diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 00453ddb..f7b18dca 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -2,7 +2,7 @@ import React from "react"; export default function Footer(): JSX.Element { return ( -