Skip to content

Commit

Permalink
added sheet support with LuckySheet
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandanzl committed Dec 8, 2023
1 parent c6fd57c commit ab6aa2e
Show file tree
Hide file tree
Showing 11 changed files with 28,766 additions and 2,218 deletions.
24,151 changes: 24,151 additions & 0 deletions assets/package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"jest-environment-jsdom-fourteen": "0.1.0",
"jest-resolve": "24.9.0",
"jest-watch-typeahead": "0.4.0",
"luckyexcel": "^1.0.1",
"material-ui-toggle-icon": "^1.1.1",
"mdi-material-ui": "^6.9.0",
"mini-css-extract-plugin": "0.8.0",
Expand Down
10 changes: 10 additions & 0 deletions assets/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ import MusicPlayer from "./component/FileManager/MusicPlayer";
import EpubViewer from "./component/Viewer/Epub";
import { useTranslation } from "react-i18next";
import Xournal from "./component/Download/Xournal"
import Sheet from "./component/Viewer/Sheet"


const PDFViewer = React.lazy(() =>
import(/* webpackChunkName: "pdf" */ "./component/Viewer/PDF")
Expand Down Expand Up @@ -148,6 +150,10 @@ export default function App() {
<Xournal />
</AuthRoute>

<AuthRoute path={`${path}sheet`} isLogin={isLogin}>
<Sheet />
</AuthRoute>

<AuthRoute path={`${path}code`} isLogin={isLogin}>
<CodeViewer />
</AuthRoute>
Expand Down Expand Up @@ -241,6 +247,10 @@ export default function App() {
<Xournal />
</Route>

<Route path={`${path}s/:id/sheet(/)*`}>
<Sheet />
</Route>

<Route path={`${path}s/:id/code(/)*`}>
<CodeViewer />
</Route>
Expand Down
Loading

0 comments on commit ab6aa2e

Please sign in to comment.