00e26b3a84
Species detail now shows a "Companion Plants" card (left column, after Ecology) with beneficial/antagonistic sub-lists. Each entry links to the companion species and shows the mechanism. Home page gains stats cards, quick-filter buttons, and a hero section. Species list supports URL query params for quick-filter links. New /api/v1/stats endpoint provides database counts. i18n keys added for DE/EN: card.companion_plants, companions.beneficial_for, companions.antagonistic_for, stat.*, filter.*, home.*.
21 lines
728 B
TOML
21 lines
728 B
TOML
[package]
|
|
name = "herbapi-ui"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
dioxus = { version = "0.7", features = ["router", "web"] }
|
|
gloo-net = { version = "0.6", features = ["http", "json"] }
|
|
gloo-storage = "0.3"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
uuid = { version = "1", features = ["serde", "v4", "js"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
web-sys = { version = "0.3", features = ["Document", "Element", "RequestCredentials", "Window", "HtmlInputElement", "FormData", "Location", "UrlSearchParams"] }
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
js-sys = "0.3"
|
|
console_error_panic_hook = "0.1"
|
|
tracing = "0.1"
|
|
getrandom = { version = "0.3", features = ["wasm_js"] }
|