Talon/ui/menu
ThetaDev 6ef3ccac25
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci: build frontend
2023-03-29 14:52:56 +02:00
..
.rollup reformat js 2023-03-28 14:07:07 +02:00
public feat: implement menu bar 2023-03-08 23:40:01 +01:00
src fix: hide menu bar on prints, reformat sass 2023-03-29 13:56:21 +02:00
.eslintrc.js feat: implement menu bar 2023-03-08 23:40:01 +01: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 ci: build frontend 2023-03-29 14:52:56 +02:00
package.json feat: embedded UI 2023-03-28 01:14:27 +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>