Talon/ui/menu
2023-04-05 12:37:06 +02:00
..
.rollup reformat js 2023-03-28 14:07:07 +02:00
public feat: add website icons 2023-04-01 23:18:46 +02:00
src fix: use better abbreviations for page names 2023-04-05 12:37:06 +02:00
.gitignore fix: set menu z-index 2023-03-28 13:57:37 +02:00
.prettierignore initial commit 2023-02-20 15:08:17 +01:00
.prettierrc.json reformat js 2023-03-28 14:07:07 +02:00
globals.d.ts initial commit 2023-02-20 15:08:17 +01:00
package-lock.json fix: delete versions from db when upload failed 2023-04-01 20:10:11 +02:00
package.json fix: delete versions from db when upload failed 2023-04-01 20:10:11 +02:00
README.md initial commit 2023-02-20 15:08:17 +01:00
rollup.config.js reformat js 2023-03-28 14:07:07 +02:00

Talon Menu

This is the sidebar menu that Talon injects into any page it displays. It was created using Svelte.

Available Scripts

npm run dev

Runs the app in the development mode. Open http://localhost:5000 to view it in the browser.

npm run pc

(Pre-commit): Lint and format.

npm run build

Builds the application and outputs a dist/talon.js file, ready to be deployed!

The menu can be injected by adding these tags to the bottom of any html document:

<script id="talon-data" type="application/json">
  {
    "root_path": "/",
    "current_page": "1",
    "current_version": "5",
    ...
  }
</script>
<script src="talon.js"></script>