refactor: move monitor page to index route and configure Tauri window

- Move monitor page content from /monitor to / (index route)
- Create placeholder monitor_.tsx route
- Remove Header component from root layout
- Configure Tauri window with transparent titlebar and dark background
- Enable macOS private API for window styling
This commit is contained in:
Syahdan 2025-12-29 07:33:33 +07:00
parent c145d3fb07
commit 5929358754
7 changed files with 357 additions and 355 deletions

View file

@ -21,7 +21,7 @@ tauri-build = { version = "2.5.3", features = [] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
log = "0.4"
tauri = { version = "2.9.5", features = [] }
tauri = { version = "2.9.5", features = ["macos-private-api"] }
tauri-plugin-log = "2"
tauri-plugin-fs = "2"
tauri-plugin-dialog = "2"

View file

@ -16,9 +16,12 @@
"width": 800,
"height": 600,
"resizable": true,
"fullscreen": false
"fullscreen": false,
"titleBarStyle": "Transparent",
"backgroundColor": "#0a0a0a"
}
],
"macOSPrivateApi": true,
"security": {
"csp": null
}