🧑‍💻 Add version to the Wallpaper
All checks were successful
ci/woodpecker/push/dockerize Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This information should be moved to a version panel, when it'll be available...
This commit is contained in:
2024-04-16 07:01:49 +02:00
parent cae7a1e244
commit f0d3b91084
3 changed files with 18 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
use dioxus::prelude::*;
use git_version::git_version;
const GIT_VERSION: &str = git_version!();
turf::style_sheet!("src/ui/components/wallpaper.scss");
@@ -11,6 +14,11 @@ pub fn Wallpaper() -> Element {
div {
class: ClassName::WALLPAPER_CONTENT,
}
div {
class: ClassName::WALLPAPER_VERSION,
{GIT_VERSION},
}
}
}
}